mirror of
https://codeberg.org/steam-vent/proto-csgo.git
synced 2026-06-03 10:04:08 +02:00
Revert "Update to latest proto definitions from SteamDatabase/Protobufs"
This reverts commit 6d40b01547.
This commit is contained in:
parent
2cd1148643
commit
8f9c6dfa41
43 changed files with 21331 additions and 13510 deletions
|
|
@ -31,7 +31,7 @@ enum GC_BannedWordType {
|
|||
message CGCStorePurchaseInit_LineItem {
|
||||
optional uint32 item_def_id = 1;
|
||||
optional uint32 quantity = 2;
|
||||
optional uint64 cost_in_local_currency = 3;
|
||||
optional uint32 cost_in_local_currency = 3;
|
||||
optional uint32 purchase_type = 4;
|
||||
optional uint64 supplemental_data = 5;
|
||||
}
|
||||
|
|
@ -100,7 +100,6 @@ message CMsgLANServerAvailable {
|
|||
|
||||
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;
|
||||
|
|
@ -174,8 +173,6 @@ message CMsgApplySticker {
|
|||
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 {
|
||||
|
|
@ -237,6 +234,19 @@ message CSOEconItem {
|
|||
optional uint32 rarity = 19;
|
||||
}
|
||||
|
||||
message CMsgAdjustItemEquippedState {
|
||||
optional uint64 item_id = 1;
|
||||
optional uint32 new_class = 2;
|
||||
optional uint32 new_slot = 3;
|
||||
optional bool swap = 4;
|
||||
}
|
||||
|
||||
message CMsgAdjustItemEquippedStateMulti {
|
||||
repeated uint64 t_equips = 1;
|
||||
repeated uint64 ct_equips = 2;
|
||||
repeated uint64 noteam_equips = 3;
|
||||
}
|
||||
|
||||
message CMsgSortItems {
|
||||
optional uint32 sort_type = 1;
|
||||
}
|
||||
|
|
@ -438,6 +448,13 @@ message CMsgGCToGCBannedWordListUpdated {
|
|||
optional uint32 group_id = 1;
|
||||
}
|
||||
|
||||
message CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
optional uint32 account_id = 1 [(key_field) = true];
|
||||
optional uint32 item_definition = 2;
|
||||
optional uint32 class_id = 3 [(key_field) = true];
|
||||
optional uint32 slot_id = 4 [(key_field) = true];
|
||||
}
|
||||
|
||||
message CMsgGCToGCDirtySDOCache {
|
||||
optional uint32 sdo_type = 1;
|
||||
optional uint64 key_uint64 = 2;
|
||||
|
|
@ -539,7 +556,6 @@ 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 {
|
||||
|
|
|
|||
547
protos/base_gcmessages_csgo.proto
Normal file
547
protos/base_gcmessages_csgo.proto
Normal file
|
|
@ -0,0 +1,547 @@
|
|||
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;
|
||||
}
|
||||
|
||||
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 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;
|
||||
}
|
||||
|
||||
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 CMsgAdjustItemEquippedState {
|
||||
optional uint64 item_id = 1;
|
||||
optional uint32 new_class = 2;
|
||||
optional uint32 new_slot = 3;
|
||||
optional bool swap = 4;
|
||||
}
|
||||
|
||||
message CMsgAdjustItemEquippedStateMulti {
|
||||
repeated uint64 t_equips = 1;
|
||||
repeated uint64 ct_equips = 2;
|
||||
repeated uint64 noteam_equips = 3;
|
||||
}
|
||||
|
||||
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 CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
optional uint32 account_id = 1 [(key_field) = true];
|
||||
optional uint32 item_definition = 2;
|
||||
optional uint32 class_id = 3 [(key_field) = true];
|
||||
optional uint32 slot_id = 4 [(key_field) = true];
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
@ -7,8 +7,6 @@ enum P2P_Messages {
|
|||
p2p_Ping = 258;
|
||||
p2p_VRAvatarPosition = 259;
|
||||
p2p_WatchSynchronization = 260;
|
||||
p2p_FightingGame_GameData = 261;
|
||||
p2p_FightingGame_Connection = 262;
|
||||
}
|
||||
|
||||
message CP2P_TextMessage {
|
||||
|
|
|
|||
|
|
@ -1,10 +1,5 @@
|
|||
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;
|
||||
|
|
@ -15,10 +10,8 @@ message C2S_CONNECT_Message {
|
|||
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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -7,26 +7,22 @@ message CSGOInterpolationInfoPB {
|
|||
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 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;
|
||||
optional int32 frame_number = 20;
|
||||
optional int32 target_ent_index = 8 [default = -1];
|
||||
optional .CMsgVector shoot_position = 3;
|
||||
optional .CMsgVector target_head_pos_check = 9;
|
||||
optional .CMsgVector target_abs_pos_check = 10;
|
||||
optional .CMsgQAngle target_abs_ang_check = 11;
|
||||
}
|
||||
|
||||
message CSGOUserCmdPB {
|
||||
|
|
@ -34,8 +30,6 @@ message CSGOUserCmdPB {
|
|||
repeated .CSGOInputHistoryEntryPB input_history = 2;
|
||||
optional int32 attack1_start_history_index = 6 [default = -1];
|
||||
optional int32 attack2_start_history_index = 7 [default = -1];
|
||||
optional int32 attack3_start_history_index = 8 [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];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ enum ECsgoGCMsg {
|
|||
k_EMsgGCCStrike15_v2_DraftSummary = 9162;
|
||||
k_EMsgGCCStrike15_v2_ClientRequestJoinFriendData = 9163;
|
||||
k_EMsgGCCStrike15_v2_ClientRequestJoinServerData = 9164;
|
||||
k_EMsgGCCStrike15_v2_ClientRequestNewMission = 9165;
|
||||
k_EMsgGCCStrike15_v2_GC2ClientTournamentInfo = 9167;
|
||||
k_EMsgGC_GlobalGame_Subscribe = 9168;
|
||||
k_EMsgGC_GlobalGame_Unsubscribe = 9169;
|
||||
|
|
@ -104,13 +105,6 @@ enum ECsgoGCMsg {
|
|||
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 {
|
||||
|
|
@ -119,11 +113,6 @@ enum ECsgoSteamUserStat {
|
|||
k_ECsgoSteamUserStat_SurvivedDangerZone = 3;
|
||||
}
|
||||
|
||||
enum QuestType {
|
||||
k_EQuestType_Operation = 1;
|
||||
k_EQuestType_RecurringMission = 2;
|
||||
}
|
||||
|
||||
enum EClientReportingVersion {
|
||||
k_EClientReportingVersion_OldVersion = 0;
|
||||
k_EClientReportingVersion_BetaVersion = 1;
|
||||
|
|
@ -204,6 +193,7 @@ message GlobalStatistics {
|
|||
optional uint32 active_tournament_eventid = 12;
|
||||
optional uint32 active_survey_id = 13;
|
||||
optional uint32 rtime32_cur = 14;
|
||||
optional uint32 rtime32_event_start = 15;
|
||||
optional uint32 required_appid_version2 = 16;
|
||||
}
|
||||
|
||||
|
|
@ -250,8 +240,6 @@ message PlayerRankingInfo {
|
|||
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 {
|
||||
|
|
@ -351,10 +339,6 @@ message PlayerQuestData {
|
|||
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;
|
||||
|
|
@ -546,11 +530,10 @@ message CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve {
|
|||
repeated uint32 tournament_casters_account_ids = 13;
|
||||
optional uint64 tv_relay_steamid = 14;
|
||||
optional .CPreMatchInfoData pre_match_data = 15;
|
||||
optional uint32 rtime32_event_start = 16;
|
||||
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 {
|
||||
|
|
@ -764,12 +747,16 @@ message CMsgGCCStrike15_v2_ClientRequestJoinServerData {
|
|||
optional string errormsg = 7;
|
||||
}
|
||||
|
||||
message CMsgGCCstrike15_v2_ClientRequestNewMission {
|
||||
optional uint32 mission_id = 2;
|
||||
optional uint32 campaign_id = 3;
|
||||
}
|
||||
|
||||
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 {
|
||||
|
|
@ -831,35 +818,6 @@ message CMsgGCCStrike15_v2_PlayersProfile {
|
|||
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;
|
||||
|
|
@ -921,9 +879,6 @@ message CEconItemPreviewDataBlock {
|
|||
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;
|
||||
|
|
@ -946,9 +901,6 @@ message CEconItemPreviewDataBlock {
|
|||
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 {
|
||||
|
|
@ -1167,40 +1119,11 @@ message CSOEconCoupon {
|
|||
}
|
||||
|
||||
message CSOAccountItemPersonalStore {
|
||||
optional uint32 generation_time = 1;
|
||||
optional uint32 generation_time = 1 [(key_field) = true];
|
||||
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;
|
||||
|
|
@ -1222,12 +1145,6 @@ message CSOAccountRecurringSubscription {
|
|||
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;
|
||||
|
|
@ -1236,31 +1153,6 @@ message CSOPersonaDataPublic {
|
|||
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;
|
||||
}
|
||||
|
|
@ -1545,15 +1437,3 @@ message CMsgGCCStrike15_v2_GC2ClientInitSystem_Response {
|
|||
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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ enum ECstrike15UserMessages {
|
|||
CS_UM_MatchEndConditions = 334;
|
||||
CS_UM_DisconnectToLobby = 335;
|
||||
CS_UM_PlayerStatsUpdate = 336;
|
||||
CS_UM_WarmupHasEnded = 338;
|
||||
CS_UM_ClientInfo = 339;
|
||||
CS_UM_XRankGet = 340;
|
||||
CS_UM_XRankUpd = 341;
|
||||
|
|
@ -55,6 +56,7 @@ enum ECstrike15UserMessages {
|
|||
CS_UM_MarkAchievement = 357;
|
||||
CS_UM_MatchStatsUpdate = 358;
|
||||
CS_UM_ItemDrop = 359;
|
||||
CS_UM_GlowPropTurnOff = 360;
|
||||
CS_UM_SendPlayerItemDrops = 361;
|
||||
CS_UM_RoundBackupFilenames = 362;
|
||||
CS_UM_SendPlayerItemFound = 363;
|
||||
|
|
@ -75,10 +77,7 @@ enum ECstrike15UserMessages {
|
|||
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;
|
||||
CS_UM_SnapTapStats = 384;
|
||||
}
|
||||
|
||||
enum ECSUsrMsg_DisconnectToLobby_Action {
|
||||
|
|
@ -421,6 +420,10 @@ message CCSUsrMsg_ItemDrop {
|
|||
optional bool death = 2;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_GlowPropTurnOff {
|
||||
optional int32 entidx = 1 [default = -1];
|
||||
}
|
||||
|
||||
message CCSUsrMsg_RoundBackupFilenames {
|
||||
optional int32 count = 1;
|
||||
optional int32 index = 2;
|
||||
|
|
@ -464,8 +467,6 @@ message CCSUsrMsg_SurvivalStats {
|
|||
}
|
||||
|
||||
message CCSUsrMsg_EndOfMatchAllPlayersData {
|
||||
option (maximum_size_bytes) = 4096;
|
||||
|
||||
message Accolade {
|
||||
optional int32 eaccolade = 1;
|
||||
optional float value = 2;
|
||||
|
|
@ -575,6 +576,10 @@ message CCSUsrMsg_DisconnectToLobby {
|
|||
optional int32 dummy = 1;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_WarmupHasEnded {
|
||||
optional int32 dummy = 1;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_ClientInfo {
|
||||
optional int32 dummy = 1;
|
||||
}
|
||||
|
|
@ -590,36 +595,9 @@ message CCSUsrMsgPreMatchSayText {
|
|||
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 {
|
||||
option (maximum_size_bytes) = 16384;
|
||||
|
||||
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];
|
||||
message CCSUsrMsg_SnapTapStats {
|
||||
optional uint32 perfect_bucket = 1;
|
||||
repeated uint32 overlap_bucket = 2;
|
||||
repeated uint32 underlap_bucket = 3;
|
||||
optional uint32 max_success_in_20 = 4;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,8 +18,7 @@ enum EDemoCommands {
|
|||
DEM_SpawnGroups = 15;
|
||||
DEM_AnimationData = 16;
|
||||
DEM_AnimationHeader = 17;
|
||||
DEM_Recovery = 18;
|
||||
DEM_Max = 19;
|
||||
DEM_Max = 18;
|
||||
DEM_IsCompressed = 64;
|
||||
}
|
||||
|
||||
|
|
@ -54,7 +53,7 @@ message CGameInfo {
|
|||
message CHeroSelectEvent {
|
||||
optional bool is_pick = 1;
|
||||
optional uint32 team = 2;
|
||||
optional int32 hero_id = 3;
|
||||
optional uint32 hero_id = 3;
|
||||
}
|
||||
|
||||
optional uint64 match_id = 1;
|
||||
|
|
@ -172,13 +171,3 @@ message CDemoUserCmd {
|
|||
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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ enum EGCItemMsg {
|
|||
k_EMsgGCDelete = 1004;
|
||||
k_EMsgGCVerifyCacheSubscription = 1005;
|
||||
k_EMsgGCNameItem = 1006;
|
||||
k_EMsgGCUnlockCrate_DEPRECATED = 1007;
|
||||
k_EMsgGCUnlockCrate = 1007;
|
||||
k_EMsgGCUnlockCrateResponse = 1008;
|
||||
k_EMsgGCPaintItem = 1009;
|
||||
k_EMsgGCPaintItemResponse = 1010;
|
||||
|
|
@ -55,6 +55,7 @@ enum EGCItemMsg {
|
|||
k_EMsgGCRemoveUniqueCraftIndexResponse = 1056;
|
||||
k_EMsgGCSaxxyBroadcast = 1057;
|
||||
k_EMsgGCBackpackSortFinished = 1058;
|
||||
k_EMsgGCAdjustItemEquippedState = 1059;
|
||||
k_EMsgGCCollectItem = 1061;
|
||||
k_EMsgGCItemAcknowledged__DEPRECATED = 1062;
|
||||
k_EMsgGC_ReportAbuse = 1065;
|
||||
|
|
@ -142,12 +143,13 @@ enum EGCItemMsg {
|
|||
k_EMsgGCRequestAnnouncementsResponse = 2526;
|
||||
k_EMsgGCRequestPassportItemGrant = 2527;
|
||||
k_EMsgGCClientVersionUpdated = 2528;
|
||||
k_EMsgGCAdjustItemEquippedStateMulti = 2529;
|
||||
k_EMsgGCRecurringSubscriptionStatus = 2530;
|
||||
k_EMsgGCAdjustEquipSlotsManual = 2531;
|
||||
k_EMsgGCAdjustEquipSlotsShuffle = 2532;
|
||||
k_EMsgGCNameItemAndEquip = 2533;
|
||||
k_EMsgGCOpenCrate = 2534;
|
||||
k_EMsgGCAcknowledgeRentalExpiration = 2535;
|
||||
k_EMsgGCVolatileItemLoadContents = 2536;
|
||||
}
|
||||
|
||||
enum EGCMsgResponse {
|
||||
|
|
@ -190,16 +192,12 @@ enum EGCItemCustomizationNotification {
|
|||
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 {
|
||||
|
|
@ -229,5 +227,4 @@ message CMsgGCUserTrackTimePlayedConsecutively {
|
|||
message CMsgGCItemCustomizationNotification {
|
||||
repeated uint64 item_id = 1;
|
||||
optional uint32 request = 2;
|
||||
repeated uint64 extra_data = 3;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ enum EBaseGameEvents {
|
|||
GE_PlaceDecalEvent = 201;
|
||||
GE_ClearWorldDecalsEvent = 202;
|
||||
GE_ClearEntityDecalsEvent = 203;
|
||||
GE_ClearDecalsForEntityEvent = 204;
|
||||
GE_ClearDecalsForSkeletonInstanceEvent = 204;
|
||||
GE_Source1LegacyGameEventList = 205;
|
||||
GE_Source1LegacyListenEvents = 206;
|
||||
GE_Source1LegacyGameEvent = 207;
|
||||
|
|
@ -25,16 +25,17 @@ message CMsgPlaceDecalEvent {
|
|||
optional .CMsgVector position = 1;
|
||||
optional .CMsgVector normal = 2;
|
||||
optional .CMsgVector saxis = 3;
|
||||
optional int32 boneindex = 4;
|
||||
optional int32 triangleindex = 13;
|
||||
optional uint32 decalmaterialindex = 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;
|
||||
optional float width = 7;
|
||||
optional float height = 8;
|
||||
optional float depth = 9;
|
||||
optional uint32 entityhandleindex = 10;
|
||||
optional fixed32 skeletoninstancehash = 11;
|
||||
optional int32 boneindex = 12;
|
||||
optional bool translucenthit = 13;
|
||||
optional bool is_adjacent = 14;
|
||||
}
|
||||
|
||||
message CMsgClearWorldDecalsEvent {
|
||||
|
|
@ -45,14 +46,13 @@ message CMsgClearEntityDecalsEvent {
|
|||
optional uint32 flagstoclear = 1;
|
||||
}
|
||||
|
||||
message CMsgClearDecalsForEntityEvent {
|
||||
message CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
optional uint32 flagstoclear = 1;
|
||||
optional uint32 entityhandle = 2 [default = 16777215];
|
||||
optional uint32 entityhandleindex = 2;
|
||||
optional uint32 skeletoninstancehash = 3;
|
||||
}
|
||||
|
||||
message CMsgSource1LegacyGameEventList {
|
||||
option (maximum_size_bytes) = 24576;
|
||||
|
||||
message key_t {
|
||||
optional int32 type = 1;
|
||||
optional string name = 2;
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ enum CLC_Messages {
|
|||
clc_VoiceData = 22;
|
||||
clc_BaselineAck = 23;
|
||||
clc_RespondCvarValue = 25;
|
||||
clc_FileCRCCheck = 26;
|
||||
clc_LoadingProgress = 27;
|
||||
clc_SplitPlayerConnect = 28;
|
||||
clc_SplitPlayerDisconnect = 30;
|
||||
|
|
@ -94,7 +95,6 @@ enum Bidirectional_Messages {
|
|||
bi_RebroadcastGameEvent = 16;
|
||||
bi_RebroadcastSource = 17;
|
||||
bi_GameEvent = 18;
|
||||
bi_PredictionEvent = 19;
|
||||
}
|
||||
|
||||
enum Bidirectional_Messages_LowFrequency {
|
||||
|
|
@ -157,6 +157,14 @@ message CCLCMsg_RespondCvarValue {
|
|||
optional string value = 4;
|
||||
}
|
||||
|
||||
message CCLCMsg_FileCRCCheck {
|
||||
optional int32 code_path = 1;
|
||||
optional string path = 2;
|
||||
optional int32 code_filename = 3;
|
||||
optional string filename = 4;
|
||||
optional fixed32 crc = 5;
|
||||
}
|
||||
|
||||
message CCLCMsg_LoadingProgress {
|
||||
optional int32 progress = 1;
|
||||
}
|
||||
|
|
@ -179,8 +187,6 @@ message CCLCMsg_RequestPause {
|
|||
}
|
||||
|
||||
message CCLCMsg_CmdKeyValues {
|
||||
option (maximum_size_bytes) = 1500;
|
||||
|
||||
optional bytes data = 1;
|
||||
}
|
||||
|
||||
|
|
@ -201,14 +207,11 @@ message CMsgSource2SystemSpecs {
|
|||
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;
|
||||
|
|
@ -216,14 +219,6 @@ message CMsgSource2VProfLiteReportItem {
|
|||
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 {
|
||||
|
|
@ -232,75 +227,9 @@ message CMsgSource2VProfLiteReport {
|
|||
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 netframes_total = 30;
|
||||
optional uint32 netframes_dropped = 31;
|
||||
optional uint32 netframes_outoforder = 32;
|
||||
optional uint32 netframes_size_exceeds_mtu = 34;
|
||||
optional uint32 netframes_size_p95 = 35;
|
||||
optional uint32 netframes_size_p99 = 36;
|
||||
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;
|
||||
optional uint32 netframe_jitter_p50 = 70;
|
||||
optional uint32 netframe_jitter_p99 = 71;
|
||||
optional uint32 interval_peakjitter_p50 = 72;
|
||||
optional uint32 interval_peakjitter_p95 = 73;
|
||||
optional uint32 packet_misdelivery_rate_p50_x4 = 74;
|
||||
optional uint32 packet_misdelivery_rate_p95_x4 = 75;
|
||||
optional uint32 net_ping_p5 = 80;
|
||||
optional uint32 net_ping_p50 = 81;
|
||||
optional uint32 net_ping_p95 = 82;
|
||||
}
|
||||
|
||||
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 {
|
||||
option (maximum_size_bytes) = 16384;
|
||||
|
||||
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 {
|
||||
|
|
@ -308,24 +237,18 @@ message CSource2Metrics_MatchPerfSummary_Notification {
|
|||
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 {
|
||||
option (maximum_size_bytes) = 102400;
|
||||
|
||||
optional int32 protocol = 1;
|
||||
optional int32 server_count = 2;
|
||||
optional bool is_dedicated = 3;
|
||||
|
|
@ -479,8 +402,6 @@ message CSVCMsg_GameEventList {
|
|||
}
|
||||
|
||||
message CSVCMsg_PacketEntities {
|
||||
option (maximum_size_bytes) = 0;
|
||||
|
||||
message alternate_baseline_t {
|
||||
optional int32 entity_index = 1;
|
||||
optional int32 baseline_index = 2;
|
||||
|
|
@ -491,11 +412,6 @@ message CSVCMsg_PacketEntities {
|
|||
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;
|
||||
|
|
@ -511,12 +427,11 @@ message CSVCMsg_PacketEntities {
|
|||
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;
|
||||
optional uint32 has_pvs_vis_bits = 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;
|
||||
}
|
||||
|
||||
|
|
@ -527,8 +442,6 @@ message CSVCMsg_TempEntities {
|
|||
}
|
||||
|
||||
message CSVCMsg_CreateStringTable {
|
||||
option (maximum_size_bytes) = 49152;
|
||||
|
||||
optional string name = 1;
|
||||
optional int32 num_entries = 2;
|
||||
optional bool user_data_fixed_size = 3;
|
||||
|
|
@ -542,8 +455,6 @@ message CSVCMsg_CreateStringTable {
|
|||
}
|
||||
|
||||
message CSVCMsg_UpdateStringTable {
|
||||
option (maximum_size_bytes) = 262144;
|
||||
|
||||
optional int32 table_id = 1;
|
||||
optional int32 num_changed_entries = 2;
|
||||
optional bytes string_data = 3;
|
||||
|
|
@ -642,8 +553,6 @@ message ProtoFlattenedSerializer_t {
|
|||
}
|
||||
|
||||
message CSVCMsg_FlattenedSerializer {
|
||||
option (maximum_size_bytes) = 0;
|
||||
|
||||
repeated .ProtoFlattenedSerializer_t serializers = 1;
|
||||
repeated string symbols = 2;
|
||||
repeated .ProtoFlattenedSerializerField_t fields = 3;
|
||||
|
|
@ -664,18 +573,6 @@ 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;
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@ 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 {
|
||||
|
|
@ -20,7 +18,7 @@ enum ENetworkDisconnectionReason {
|
|||
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_VACBANSTATE = 13 [(network_connection_token) = "#GameUI_Disconnect_SteamVAC"];
|
||||
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"];
|
||||
|
|
@ -125,7 +123,4 @@ enum ENetworkDisconnectionReason {
|
|||
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"];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,5 @@
|
|||
import "google/protobuf/descriptor.proto";
|
||||
import "network_connection.proto";
|
||||
|
||||
extend .google.protobuf.MessageOptions {
|
||||
optional int32 maximum_size_bytes = 50000;
|
||||
}
|
||||
|
||||
enum SignonState_t {
|
||||
SIGNONSTATE_NONE = 0;
|
||||
SIGNONSTATE_CHALLENGE = 1;
|
||||
|
|
@ -112,15 +107,16 @@ message CNETMsg_SplitScreenUser {
|
|||
|
||||
message CNETMsg_Tick {
|
||||
optional uint32 tick = 1;
|
||||
optional uint32 host_frametime = 2;
|
||||
optional uint32 host_frametime_std_deviation = 3;
|
||||
optional uint32 host_computationtime = 4;
|
||||
optional uint32 host_computationtime_std_deviation = 5;
|
||||
optional uint32 legacy_host_loss = 7;
|
||||
optional uint32 host_framestarttime_std_deviation = 6;
|
||||
optional uint32 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 {
|
||||
|
|
@ -129,8 +125,6 @@ message CNETMsg_StringCmd {
|
|||
}
|
||||
|
||||
message CNETMsg_SetConVar {
|
||||
option (maximum_size_bytes) = 4096;
|
||||
|
||||
optional .CMsg_CVars convars = 1;
|
||||
}
|
||||
|
||||
|
|
@ -170,8 +164,6 @@ message CSVCMsgList_GameEvents {
|
|||
}
|
||||
|
||||
message CNETMsg_SpawnGroup_Load {
|
||||
option (maximum_size_bytes) = 131072;
|
||||
|
||||
optional string worldname = 1;
|
||||
optional string entitylumpname = 2;
|
||||
optional string entityfiltername = 3;
|
||||
|
|
|
|||
|
|
@ -4,12 +4,10 @@ message NetMessageSplitscreenUserChanged {
|
|||
|
||||
message NetMessageConnectionClosed {
|
||||
optional uint32 reason = 1;
|
||||
optional string message = 2;
|
||||
}
|
||||
|
||||
message NetMessageConnectionCrashed {
|
||||
optional uint32 reason = 1;
|
||||
optional string message = 2;
|
||||
}
|
||||
|
||||
message NetMessagePacketStart {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -63,6 +63,7 @@ message CMsgSteamDatagramRouterPingReply {
|
|||
message AltAddress {
|
||||
enum Protocol {
|
||||
DefaultProtocol = 0;
|
||||
NetworkNext = 1;
|
||||
}
|
||||
|
||||
optional fixed32 ipv4 = 1;
|
||||
|
|
@ -88,16 +89,11 @@ message CMsgSteamDatagramRouterPingReply {
|
|||
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 {
|
||||
|
|
@ -152,12 +148,6 @@ message CMsgSteamDatagramNoSessionRelayToPeer {
|
|||
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;
|
||||
}
|
||||
|
|
@ -196,7 +186,6 @@ message CMsgSteamDatagramClientPingSampleReply {
|
|||
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ enum ETEProtobufIds {
|
|||
TE_BeamEntsId = 403;
|
||||
TE_BeamPointsId = 404;
|
||||
TE_BeamRingId = 405;
|
||||
TE_BSPDecalId = 407;
|
||||
TE_BubblesId = 408;
|
||||
TE_BubbleTrailId = 409;
|
||||
TE_DecalId = 410;
|
||||
|
|
@ -23,6 +24,8 @@ enum ETEProtobufIds {
|
|||
TE_LargeFunnelId = 421;
|
||||
TE_SparksId = 422;
|
||||
TE_PhysicsPropId = 423;
|
||||
TE_PlayerDecalId = 424;
|
||||
TE_ProjectedDecalId = 425;
|
||||
TE_SmokeId = 426;
|
||||
}
|
||||
|
||||
|
|
@ -72,6 +75,14 @@ message CMsgTEBeamRing {
|
|||
optional uint32 endentity = 3;
|
||||
}
|
||||
|
||||
message CMsgTEBSPDecal {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional .CMsgVector normal = 2;
|
||||
optional .CMsgVector saxis = 3;
|
||||
optional int32 entity = 4 [default = -1];
|
||||
optional uint32 index = 5;
|
||||
}
|
||||
|
||||
message CMsgTEBubbles {
|
||||
optional .CMsgVector mins = 1;
|
||||
optional .CMsgVector maxs = 2;
|
||||
|
|
@ -176,16 +187,16 @@ message CMsgTEBloodStream {
|
|||
|
||||
message CMsgTEExplosion {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional uint32 framerate = 2;
|
||||
optional uint32 flags = 3;
|
||||
optional .CMsgVector normal = 4;
|
||||
optional uint32 materialtype = 5;
|
||||
optional uint32 radius = 6;
|
||||
optional uint32 magnitude = 7;
|
||||
optional float scale = 8;
|
||||
optional bool affect_ragdolls = 9;
|
||||
optional string sound_name = 10;
|
||||
optional string effect_name = 10;
|
||||
optional uint32 explosion_type = 11;
|
||||
optional bool create_debris = 12;
|
||||
optional .CMsgVector debris_origin = 13;
|
||||
optional fixed32 debris_surfaceprop = 14;
|
||||
}
|
||||
|
||||
message CMsgTEDust {
|
||||
|
|
@ -223,6 +234,19 @@ message CMsgTEPhysicsProp {
|
|||
optional int32 dmgtype = 13;
|
||||
}
|
||||
|
||||
message CMsgTEPlayerDecal {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional int32 player = 2 [default = -1];
|
||||
optional int32 entity = 3 [default = -1];
|
||||
}
|
||||
|
||||
message CMsgTEProjectedDecal {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional .CMsgQAngle angles = 2;
|
||||
optional uint32 index = 3;
|
||||
optional float distance = 4;
|
||||
}
|
||||
|
||||
message CMsgTESmoke {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional float scale = 2;
|
||||
|
|
|
|||
|
|
@ -12,14 +12,11 @@ message CSubtickMoveStep {
|
|||
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;
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ enum EBaseUserMessages {
|
|||
UM_AnimGraphUpdate = 149;
|
||||
UM_HapticsManagerPulse = 150;
|
||||
UM_HapticsManagerEffect = 151;
|
||||
UM_CommandQueueState = 152;
|
||||
UM_UpdateCssClasses = 153;
|
||||
UM_ServerFrameTime = 154;
|
||||
UM_LagCompensationError = 155;
|
||||
|
|
@ -107,11 +108,6 @@ enum PARTICLE_MESSAGE {
|
|||
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 {
|
||||
|
|
@ -342,8 +338,6 @@ message CUserMessageCameraTransition {
|
|||
}
|
||||
|
||||
message CUserMsg_ParticleManager {
|
||||
option (maximum_size_bytes) = 4096;
|
||||
|
||||
message ReleaseParticleIndex {
|
||||
}
|
||||
|
||||
|
|
@ -357,7 +351,6 @@ message CUserMsg_ParticleManager {
|
|||
optional string control_point_configuration = 7;
|
||||
optional bool cluster = 8;
|
||||
optional float endcap_time = 9;
|
||||
optional .CMsgVector aggregation_position = 10;
|
||||
}
|
||||
|
||||
message DestroyParticle {
|
||||
|
|
@ -539,8 +532,6 @@ message CUserMsg_ParticleManager {
|
|||
|
||||
message CreatePhysicsSim {
|
||||
optional string prop_group_name = 1;
|
||||
optional bool use_high_quality_simulation = 2;
|
||||
optional uint32 max_particle_count = 3;
|
||||
}
|
||||
|
||||
message DestroyPhysicsSim {
|
||||
|
|
@ -550,50 +541,6 @@ message CUserMsg_ParticleManager {
|
|||
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;
|
||||
|
|
@ -630,11 +577,6 @@ message CUserMsg_ParticleManager {
|
|||
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;
|
||||
}
|
||||
|
|
@ -841,13 +783,6 @@ message CUserMessage_NotifyResponseFound {
|
|||
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 {
|
||||
|
|
@ -855,6 +790,4 @@ message CUserMessage_PlayResponseConditional {
|
|||
repeated int32 player_slots = 2;
|
||||
optional string response = 3;
|
||||
optional .CMsgVector ent_origin = 4;
|
||||
optional float pre_delay = 5;
|
||||
optional int32 mix_priority = 6;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ extend .google.protobuf.FieldOptions {
|
|||
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 {
|
||||
|
|
@ -16,11 +15,3 @@ extend .google.protobuf.EnumValueOptions {
|
|||
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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub struct CGCStorePurchaseInit_LineItem {
|
|||
// @@protoc_insertion_point(field:CGCStorePurchaseInit_LineItem.quantity)
|
||||
pub quantity: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CGCStorePurchaseInit_LineItem.cost_in_local_currency)
|
||||
pub cost_in_local_currency: ::std::option::Option<u64>,
|
||||
pub cost_in_local_currency: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CGCStorePurchaseInit_LineItem.purchase_type)
|
||||
pub purchase_type: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CGCStorePurchaseInit_LineItem.supplemental_data)
|
||||
|
|
@ -93,9 +93,9 @@ impl CGCStorePurchaseInit_LineItem {
|
|||
self.quantity = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 cost_in_local_currency = 3;
|
||||
// optional uint32 cost_in_local_currency = 3;
|
||||
|
||||
pub fn cost_in_local_currency(&self) -> u64 {
|
||||
pub fn cost_in_local_currency(&self) -> u32 {
|
||||
self.cost_in_local_currency.unwrap_or(0)
|
||||
}
|
||||
|
||||
|
|
@ -108,7 +108,7 @@ impl CGCStorePurchaseInit_LineItem {
|
|||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_cost_in_local_currency(&mut self, v: u64) {
|
||||
pub fn set_cost_in_local_currency(&mut self, v: u32) {
|
||||
self.cost_in_local_currency = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
|
|
@ -168,7 +168,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CGCStorePurchaseInit_LineI
|
|||
self.quantity = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.cost_in_local_currency = ::std::option::Option::Some(is.read_uint64()?);
|
||||
self.cost_in_local_currency = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
32 => {
|
||||
self.purchase_type = ::std::option::Option::Some(is.read_uint32()?);
|
||||
|
|
@ -195,7 +195,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CGCStorePurchaseInit_LineI
|
|||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.cost_in_local_currency {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.purchase_type {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
|
||||
|
|
@ -216,7 +216,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CGCStorePurchaseInit_LineI
|
|||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.cost_in_local_currency {
|
||||
os.write_uint64(3, v)?;
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.purchase_type {
|
||||
os.write_uint32(4, v)?;
|
||||
|
|
@ -2073,8 +2073,6 @@ pub struct CSOEconGameAccountClient {
|
|||
// message fields
|
||||
// @@protoc_insertion_point(field:CSOEconGameAccountClient.additional_backpack_slots)
|
||||
pub additional_backpack_slots: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CSOEconGameAccountClient.trade_ban_expiration)
|
||||
pub trade_ban_expiration: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CSOEconGameAccountClient.bonus_xp_timestamp_refresh)
|
||||
pub bonus_xp_timestamp_refresh: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CSOEconGameAccountClient.bonus_xp_usedflags)
|
||||
|
|
@ -2118,25 +2116,6 @@ impl CSOEconGameAccountClient {
|
|||
self.additional_backpack_slots = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional fixed32 trade_ban_expiration = 6;
|
||||
|
||||
pub fn trade_ban_expiration(&self) -> u32 {
|
||||
self.trade_ban_expiration.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_trade_ban_expiration(&mut self) {
|
||||
self.trade_ban_expiration = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_trade_ban_expiration(&self) -> bool {
|
||||
self.trade_ban_expiration.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_trade_ban_expiration(&mut self, v: u32) {
|
||||
self.trade_ban_expiration = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional fixed32 bonus_xp_timestamp_refresh = 12;
|
||||
|
||||
pub fn bonus_xp_timestamp_refresh(&self) -> u32 {
|
||||
|
|
@ -2227,9 +2206,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CSOEconGameAccountClient {
|
|||
8 => {
|
||||
self.additional_backpack_slots = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
53 => {
|
||||
self.trade_ban_expiration = ::std::option::Option::Some(is.read_fixed32()?);
|
||||
},
|
||||
101 => {
|
||||
self.bonus_xp_timestamp_refresh = ::std::option::Option::Some(is.read_fixed32()?);
|
||||
},
|
||||
|
|
@ -2257,9 +2233,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CSOEconGameAccountClient {
|
|||
if let Some(v) = self.additional_backpack_slots {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.trade_ban_expiration {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.bonus_xp_timestamp_refresh {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
|
|
@ -2281,9 +2254,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CSOEconGameAccountClient {
|
|||
if let Some(v) = self.additional_backpack_slots {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.trade_ban_expiration {
|
||||
os.write_fixed32(6, v)?;
|
||||
}
|
||||
if let Some(v) = self.bonus_xp_timestamp_refresh {
|
||||
os.write_fixed32(12, v)?;
|
||||
}
|
||||
|
|
@ -2314,7 +2284,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CSOEconGameAccountClient {
|
|||
|
||||
fn clear(&mut self) {
|
||||
self.additional_backpack_slots = ::std::option::Option::None;
|
||||
self.trade_ban_expiration = ::std::option::Option::None;
|
||||
self.bonus_xp_timestamp_refresh = ::std::option::Option::None;
|
||||
self.bonus_xp_usedflags = ::std::option::Option::None;
|
||||
self.elevated_state = ::std::option::Option::None;
|
||||
|
|
@ -2325,7 +2294,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CSOEconGameAccountClient {
|
|||
fn default_instance() -> &'static CSOEconGameAccountClient {
|
||||
static instance: CSOEconGameAccountClient = CSOEconGameAccountClient {
|
||||
additional_backpack_slots: ::std::option::Option::None,
|
||||
trade_ban_expiration: ::std::option::Option::None,
|
||||
bonus_xp_timestamp_refresh: ::std::option::Option::None,
|
||||
bonus_xp_usedflags: ::std::option::Option::None,
|
||||
elevated_state: ::std::option::Option::None,
|
||||
|
|
@ -4203,10 +4171,6 @@ pub struct CMsgApplySticker {
|
|||
pub sticker_offset_x: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CMsgApplySticker.sticker_offset_y)
|
||||
pub sticker_offset_y: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CMsgApplySticker.sticker_offset_z)
|
||||
pub sticker_offset_z: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CMsgApplySticker.sticker_wear_target)
|
||||
pub sticker_wear_target: ::std::option::Option<f32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgApplySticker.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -4393,44 +4357,6 @@ impl CMsgApplySticker {
|
|||
pub fn set_sticker_offset_y(&mut self, v: f32) {
|
||||
self.sticker_offset_y = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional float sticker_offset_z = 10;
|
||||
|
||||
pub fn sticker_offset_z(&self) -> f32 {
|
||||
self.sticker_offset_z.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_sticker_offset_z(&mut self) {
|
||||
self.sticker_offset_z = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_sticker_offset_z(&self) -> bool {
|
||||
self.sticker_offset_z.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_sticker_offset_z(&mut self, v: f32) {
|
||||
self.sticker_offset_z = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional float sticker_wear_target = 11;
|
||||
|
||||
pub fn sticker_wear_target(&self) -> f32 {
|
||||
self.sticker_wear_target.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_sticker_wear_target(&mut self) {
|
||||
self.sticker_wear_target = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_sticker_wear_target(&self) -> bool {
|
||||
self.sticker_wear_target.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_sticker_wear_target(&mut self, v: f32) {
|
||||
self.sticker_wear_target = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgApplySticker {
|
||||
|
|
@ -4470,12 +4396,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgApplySticker {
|
|||
77 => {
|
||||
self.sticker_offset_y = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
85 => {
|
||||
self.sticker_offset_z = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
93 => {
|
||||
self.sticker_wear_target = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -4515,12 +4435,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgApplySticker {
|
|||
if let Some(v) = self.sticker_offset_y {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.sticker_offset_z {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.sticker_wear_target {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -4554,12 +4468,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgApplySticker {
|
|||
if let Some(v) = self.sticker_offset_y {
|
||||
os.write_float(9, v)?;
|
||||
}
|
||||
if let Some(v) = self.sticker_offset_z {
|
||||
os.write_float(10, v)?;
|
||||
}
|
||||
if let Some(v) = self.sticker_wear_target {
|
||||
os.write_float(11, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -4586,8 +4494,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgApplySticker {
|
|||
self.sticker_scale = ::std::option::Option::None;
|
||||
self.sticker_offset_x = ::std::option::Option::None;
|
||||
self.sticker_offset_y = ::std::option::Option::None;
|
||||
self.sticker_offset_z = ::std::option::Option::None;
|
||||
self.sticker_wear_target = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -4602,8 +4508,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgApplySticker {
|
|||
sticker_scale: ::std::option::Option::None,
|
||||
sticker_offset_x: ::std::option::Option::None,
|
||||
sticker_offset_y: ::std::option::Option::None,
|
||||
sticker_offset_z: ::std::option::Option::None,
|
||||
sticker_wear_target: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -6343,6 +6247,336 @@ impl ::steam_vent_proto_common::protobuf::Message for CSOEconItem {
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgAdjustItemEquippedState)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgAdjustItemEquippedState {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgAdjustItemEquippedState.item_id)
|
||||
pub item_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgAdjustItemEquippedState.new_class)
|
||||
pub new_class: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgAdjustItemEquippedState.new_slot)
|
||||
pub new_slot: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgAdjustItemEquippedState.swap)
|
||||
pub swap: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgAdjustItemEquippedState.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgAdjustItemEquippedState {
|
||||
fn default() -> &'a CMsgAdjustItemEquippedState {
|
||||
<CMsgAdjustItemEquippedState as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgAdjustItemEquippedState {
|
||||
pub fn new() -> CMsgAdjustItemEquippedState {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint64 item_id = 1;
|
||||
|
||||
pub fn item_id(&self) -> u64 {
|
||||
self.item_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_item_id(&mut self) {
|
||||
self.item_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_item_id(&self) -> bool {
|
||||
self.item_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_item_id(&mut self, v: u64) {
|
||||
self.item_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 new_class = 2;
|
||||
|
||||
pub fn new_class(&self) -> u32 {
|
||||
self.new_class.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_new_class(&mut self) {
|
||||
self.new_class = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_new_class(&self) -> bool {
|
||||
self.new_class.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_new_class(&mut self, v: u32) {
|
||||
self.new_class = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 new_slot = 3;
|
||||
|
||||
pub fn new_slot(&self) -> u32 {
|
||||
self.new_slot.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_new_slot(&mut self) {
|
||||
self.new_slot = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_new_slot(&self) -> bool {
|
||||
self.new_slot.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_new_slot(&mut self, v: u32) {
|
||||
self.new_slot = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool swap = 4;
|
||||
|
||||
pub fn swap(&self) -> bool {
|
||||
self.swap.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_swap(&mut self) {
|
||||
self.swap = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_swap(&self) -> bool {
|
||||
self.swap.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_swap(&mut self, v: bool) {
|
||||
self.swap = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgAdjustItemEquippedState {
|
||||
const NAME: &'static str = "CMsgAdjustItemEquippedState";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.item_id = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
16 => {
|
||||
self.new_class = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.new_slot = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
32 => {
|
||||
self.swap = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.item_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.new_class {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.new_slot {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.swap {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.item_id {
|
||||
os.write_uint64(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.new_class {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.new_slot {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.swap {
|
||||
os.write_bool(4, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgAdjustItemEquippedState {
|
||||
CMsgAdjustItemEquippedState::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.item_id = ::std::option::Option::None;
|
||||
self.new_class = ::std::option::Option::None;
|
||||
self.new_slot = ::std::option::Option::None;
|
||||
self.swap = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgAdjustItemEquippedState {
|
||||
static instance: CMsgAdjustItemEquippedState = CMsgAdjustItemEquippedState {
|
||||
item_id: ::std::option::Option::None,
|
||||
new_class: ::std::option::Option::None,
|
||||
new_slot: ::std::option::Option::None,
|
||||
swap: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgAdjustItemEquippedStateMulti)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgAdjustItemEquippedStateMulti {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgAdjustItemEquippedStateMulti.t_equips)
|
||||
pub t_equips: ::std::vec::Vec<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgAdjustItemEquippedStateMulti.ct_equips)
|
||||
pub ct_equips: ::std::vec::Vec<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgAdjustItemEquippedStateMulti.noteam_equips)
|
||||
pub noteam_equips: ::std::vec::Vec<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgAdjustItemEquippedStateMulti.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgAdjustItemEquippedStateMulti {
|
||||
fn default() -> &'a CMsgAdjustItemEquippedStateMulti {
|
||||
<CMsgAdjustItemEquippedStateMulti as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgAdjustItemEquippedStateMulti {
|
||||
pub fn new() -> CMsgAdjustItemEquippedStateMulti {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgAdjustItemEquippedStateMulti {
|
||||
const NAME: &'static str = "CMsgAdjustItemEquippedStateMulti";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
is.read_repeated_packed_uint64_into(&mut self.t_equips)?;
|
||||
},
|
||||
8 => {
|
||||
self.t_equips.push(is.read_uint64()?);
|
||||
},
|
||||
18 => {
|
||||
is.read_repeated_packed_uint64_into(&mut self.ct_equips)?;
|
||||
},
|
||||
16 => {
|
||||
self.ct_equips.push(is.read_uint64()?);
|
||||
},
|
||||
26 => {
|
||||
is.read_repeated_packed_uint64_into(&mut self.noteam_equips)?;
|
||||
},
|
||||
24 => {
|
||||
self.noteam_equips.push(is.read_uint64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
for value in &self.t_equips {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, *value);
|
||||
};
|
||||
for value in &self.ct_equips {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, *value);
|
||||
};
|
||||
for value in &self.noteam_equips {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, *value);
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
for v in &self.t_equips {
|
||||
os.write_uint64(1, *v)?;
|
||||
};
|
||||
for v in &self.ct_equips {
|
||||
os.write_uint64(2, *v)?;
|
||||
};
|
||||
for v in &self.noteam_equips {
|
||||
os.write_uint64(3, *v)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgAdjustItemEquippedStateMulti {
|
||||
CMsgAdjustItemEquippedStateMulti::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.t_equips.clear();
|
||||
self.ct_equips.clear();
|
||||
self.noteam_equips.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgAdjustItemEquippedStateMulti {
|
||||
static instance: CMsgAdjustItemEquippedStateMulti = CMsgAdjustItemEquippedStateMulti {
|
||||
t_equips: ::std::vec::Vec::new(),
|
||||
ct_equips: ::std::vec::Vec::new(),
|
||||
noteam_equips: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgSortItems)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgSortItems {
|
||||
|
|
@ -12293,6 +12527,211 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGCToGCBannedWordListUp
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSOEconDefaultEquippedDefinitionInstanceClient)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CSOEconDefaultEquippedDefinitionInstanceClient.account_id)
|
||||
pub account_id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CSOEconDefaultEquippedDefinitionInstanceClient.item_definition)
|
||||
pub item_definition: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CSOEconDefaultEquippedDefinitionInstanceClient.class_id)
|
||||
pub class_id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CSOEconDefaultEquippedDefinitionInstanceClient.slot_id)
|
||||
pub slot_id: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSOEconDefaultEquippedDefinitionInstanceClient.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
fn default() -> &'a CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
<CSOEconDefaultEquippedDefinitionInstanceClient as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
pub fn new() -> CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 account_id = 1;
|
||||
|
||||
pub fn account_id(&self) -> u32 {
|
||||
self.account_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_account_id(&mut self) {
|
||||
self.account_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_account_id(&self) -> bool {
|
||||
self.account_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_account_id(&mut self, v: u32) {
|
||||
self.account_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 item_definition = 2;
|
||||
|
||||
pub fn item_definition(&self) -> u32 {
|
||||
self.item_definition.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_item_definition(&mut self) {
|
||||
self.item_definition = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_item_definition(&self) -> bool {
|
||||
self.item_definition.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_item_definition(&mut self, v: u32) {
|
||||
self.item_definition = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 class_id = 3;
|
||||
|
||||
pub fn class_id(&self) -> u32 {
|
||||
self.class_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_class_id(&mut self) {
|
||||
self.class_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_class_id(&self) -> bool {
|
||||
self.class_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_class_id(&mut self, v: u32) {
|
||||
self.class_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 slot_id = 4;
|
||||
|
||||
pub fn slot_id(&self) -> u32 {
|
||||
self.slot_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_slot_id(&mut self) {
|
||||
self.slot_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_slot_id(&self) -> bool {
|
||||
self.slot_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_slot_id(&mut self, v: u32) {
|
||||
self.slot_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
const NAME: &'static str = "CSOEconDefaultEquippedDefinitionInstanceClient";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.account_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
16 => {
|
||||
self.item_definition = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.class_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
32 => {
|
||||
self.slot_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.account_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.item_definition {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.class_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.slot_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.account_id {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.item_definition {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.class_id {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.slot_id {
|
||||
os.write_uint32(4, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
CSOEconDefaultEquippedDefinitionInstanceClient::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.account_id = ::std::option::Option::None;
|
||||
self.item_definition = ::std::option::Option::None;
|
||||
self.class_id = ::std::option::Option::None;
|
||||
self.slot_id = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
static instance: CSOEconDefaultEquippedDefinitionInstanceClient = CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
account_id: ::std::option::Option::None,
|
||||
item_definition: ::std::option::Option::None,
|
||||
class_id: ::std::option::Option::None,
|
||||
slot_id: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgGCToGCDirtySDOCache)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgGCToGCDirtySDOCache {
|
||||
|
|
@ -14982,8 +15421,6 @@ pub struct CMsgOpenCrate {
|
|||
pub subject_item_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgOpenCrate.for_rental)
|
||||
pub for_rental: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgOpenCrate.points_remaining)
|
||||
pub points_remaining: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgOpenCrate.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -15056,25 +15493,6 @@ impl CMsgOpenCrate {
|
|||
pub fn set_for_rental(&mut self, v: bool) {
|
||||
self.for_rental = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 points_remaining = 4;
|
||||
|
||||
pub fn points_remaining(&self) -> u32 {
|
||||
self.points_remaining.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_points_remaining(&mut self) {
|
||||
self.points_remaining = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_points_remaining(&self) -> bool {
|
||||
self.points_remaining.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_points_remaining(&mut self, v: u32) {
|
||||
self.points_remaining = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgOpenCrate {
|
||||
|
|
@ -15096,9 +15514,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgOpenCrate {
|
|||
24 => {
|
||||
self.for_rental = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
32 => {
|
||||
self.points_remaining = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -15120,9 +15535,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgOpenCrate {
|
|||
if let Some(v) = self.for_rental {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.points_remaining {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -15138,9 +15550,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgOpenCrate {
|
|||
if let Some(v) = self.for_rental {
|
||||
os.write_bool(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.points_remaining {
|
||||
os.write_uint32(4, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -15161,7 +15570,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgOpenCrate {
|
|||
self.tool_item_id = ::std::option::Option::None;
|
||||
self.subject_item_id = ::std::option::Option::None;
|
||||
self.for_rental = ::std::option::Option::None;
|
||||
self.points_remaining = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -15170,7 +15578,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgOpenCrate {
|
|||
tool_item_id: ::std::option::Option::None,
|
||||
subject_item_id: ::std::option::Option::None,
|
||||
for_rental: ::std::option::Option::None,
|
||||
points_remaining: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -16150,6 +16557,40 @@ impl ::steam_vent_proto_common::RpcMessage for CSOEconItem {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgAdjustItemEquippedState {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgAdjustItemEquippedState {
|
||||
type KindEnum = crate::econ_gcmessages::EGCItemMsg;
|
||||
const KIND: Self::KindEnum = crate::econ_gcmessages::EGCItemMsg::k_EMsgGCAdjustItemEquippedState;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgAdjustItemEquippedStateMulti {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgAdjustItemEquippedStateMulti {
|
||||
type KindEnum = crate::econ_gcmessages::EGCItemMsg;
|
||||
const KIND: Self::KindEnum = crate::econ_gcmessages::EGCItemMsg::k_EMsgGCAdjustItemEquippedStateMulti;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgSortItems {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
@ -16702,6 +17143,20 @@ impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgGCToGCBannedWordListU
|
|||
type KindEnum = crate::econ_gcmessages::EGCItemMsg;
|
||||
const KIND: Self::KindEnum = crate::econ_gcmessages::EGCItemMsg::k_EMsgGCToGCBannedWordListUpdated;
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage
|
||||
for CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgGCToGCDirtySDOCache {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
|
|||
16703
src/generated/base_gcmessages_csgo.rs
Normal file
16703
src/generated/base_gcmessages_csgo.rs
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1232,10 +1232,6 @@ pub enum P2P_Messages {
|
|||
p2p_VRAvatarPosition = 259,
|
||||
// @@protoc_insertion_point(enum_value:P2P_Messages.p2p_WatchSynchronization)
|
||||
p2p_WatchSynchronization = 260,
|
||||
// @@protoc_insertion_point(enum_value:P2P_Messages.p2p_FightingGame_GameData)
|
||||
p2p_FightingGame_GameData = 261,
|
||||
// @@protoc_insertion_point(enum_value:P2P_Messages.p2p_FightingGame_Connection)
|
||||
p2p_FightingGame_Connection = 262,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for P2P_Messages {
|
||||
|
|
@ -1252,8 +1248,6 @@ impl ::steam_vent_proto_common::protobuf::Enum for P2P_Messages {
|
|||
258 => ::std::option::Option::Some(P2P_Messages::p2p_Ping),
|
||||
259 => ::std::option::Option::Some(P2P_Messages::p2p_VRAvatarPosition),
|
||||
260 => ::std::option::Option::Some(P2P_Messages::p2p_WatchSynchronization),
|
||||
261 => ::std::option::Option::Some(P2P_Messages::p2p_FightingGame_GameData),
|
||||
262 => ::std::option::Option::Some(P2P_Messages::p2p_FightingGame_Connection),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -1265,8 +1259,6 @@ impl ::steam_vent_proto_common::protobuf::Enum for P2P_Messages {
|
|||
"p2p_Ping" => ::std::option::Option::Some(P2P_Messages::p2p_Ping),
|
||||
"p2p_VRAvatarPosition" => ::std::option::Option::Some(P2P_Messages::p2p_VRAvatarPosition),
|
||||
"p2p_WatchSynchronization" => ::std::option::Option::Some(P2P_Messages::p2p_WatchSynchronization),
|
||||
"p2p_FightingGame_GameData" => ::std::option::Option::Some(P2P_Messages::p2p_FightingGame_GameData),
|
||||
"p2p_FightingGame_Connection" => ::std::option::Option::Some(P2P_Messages::p2p_FightingGame_Connection),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -1277,8 +1269,6 @@ impl ::steam_vent_proto_common::protobuf::Enum for P2P_Messages {
|
|||
P2P_Messages::p2p_Ping,
|
||||
P2P_Messages::p2p_VRAvatarPosition,
|
||||
P2P_Messages::p2p_WatchSynchronization,
|
||||
P2P_Messages::p2p_FightingGame_GameData,
|
||||
P2P_Messages::p2p_FightingGame_Connection,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -25,147 +25,6 @@
|
|||
/// of protobuf runtime.
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
|
||||
|
||||
// @@protoc_insertion_point(message:C2S_CONNECT_SameProcessCheck)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct C2S_CONNECT_SameProcessCheck {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:C2S_CONNECT_SameProcessCheck.localhost_process_id)
|
||||
pub localhost_process_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:C2S_CONNECT_SameProcessCheck.key)
|
||||
pub key: ::std::option::Option<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:C2S_CONNECT_SameProcessCheck.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a C2S_CONNECT_SameProcessCheck {
|
||||
fn default() -> &'a C2S_CONNECT_SameProcessCheck {
|
||||
<C2S_CONNECT_SameProcessCheck as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl C2S_CONNECT_SameProcessCheck {
|
||||
pub fn new() -> C2S_CONNECT_SameProcessCheck {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint64 localhost_process_id = 1;
|
||||
|
||||
pub fn localhost_process_id(&self) -> u64 {
|
||||
self.localhost_process_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_localhost_process_id(&mut self) {
|
||||
self.localhost_process_id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_localhost_process_id(&self) -> bool {
|
||||
self.localhost_process_id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_localhost_process_id(&mut self, v: u64) {
|
||||
self.localhost_process_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 key = 2;
|
||||
|
||||
pub fn key(&self) -> u64 {
|
||||
self.key.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_key(&mut self) {
|
||||
self.key = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_key(&self) -> bool {
|
||||
self.key.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_key(&mut self, v: u64) {
|
||||
self.key = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECT_SameProcessCheck {
|
||||
const NAME: &'static str = "C2S_CONNECT_SameProcessCheck";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.localhost_process_id = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
16 => {
|
||||
self.key = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.localhost_process_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.key {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.localhost_process_id {
|
||||
os.write_uint64(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.key {
|
||||
os.write_uint64(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> C2S_CONNECT_SameProcessCheck {
|
||||
C2S_CONNECT_SameProcessCheck::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.localhost_process_id = ::std::option::Option::None;
|
||||
self.key = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static C2S_CONNECT_SameProcessCheck {
|
||||
static instance: C2S_CONNECT_SameProcessCheck = C2S_CONNECT_SameProcessCheck {
|
||||
localhost_process_id: ::std::option::Option::None,
|
||||
key: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:C2S_CONNECT_Message)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct C2S_CONNECT_Message {
|
||||
|
|
@ -188,8 +47,6 @@ pub struct C2S_CONNECT_Message {
|
|||
pub auth_steam: ::std::option::Option<::std::vec::Vec<u8>>,
|
||||
// @@protoc_insertion_point(field:C2S_CONNECT_Message.challenge_context)
|
||||
pub challenge_context: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:C2S_CONNECT_Message.localhost_same_process_check)
|
||||
pub localhost_same_process_check: ::steam_vent_proto_common::protobuf::MessageField<C2S_CONNECT_SameProcessCheck>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:C2S_CONNECT_Message.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -447,9 +304,6 @@ impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECT_Message {
|
|||
74 => {
|
||||
self.challenge_context = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
82 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.localhost_same_process_check)?;
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -490,10 +344,6 @@ impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECT_Message {
|
|||
if let Some(v) = self.challenge_context.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(9, &v);
|
||||
}
|
||||
if let Some(v) = self.localhost_same_process_check.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -527,9 +377,6 @@ impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECT_Message {
|
|||
if let Some(v) = self.challenge_context.as_ref() {
|
||||
os.write_string(9, v)?;
|
||||
}
|
||||
if let Some(v) = self.localhost_same_process_check.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(10, v, os)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -556,7 +403,6 @@ impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECT_Message {
|
|||
self.splitplayers.clear();
|
||||
self.auth_steam = ::std::option::Option::None;
|
||||
self.challenge_context = ::std::option::Option::None;
|
||||
self.localhost_same_process_check.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -571,7 +417,6 @@ impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECT_Message {
|
|||
splitplayers: ::std::vec::Vec::new(),
|
||||
auth_steam: ::std::option::Option::None,
|
||||
challenge_context: ::std::option::Option::None,
|
||||
localhost_same_process_check: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -584,8 +429,6 @@ pub struct C2S_CONNECTION_Message {
|
|||
// message fields
|
||||
// @@protoc_insertion_point(field:C2S_CONNECTION_Message.addon_name)
|
||||
pub addon_name: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:C2S_CONNECTION_Message.localhost_same_process_check)
|
||||
pub localhost_same_process_check: ::steam_vent_proto_common::protobuf::MessageField<C2S_CONNECT_SameProcessCheck>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:C2S_CONNECTION_Message.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -652,9 +495,6 @@ impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECTION_Message {
|
|||
10 => {
|
||||
self.addon_name = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
18 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.localhost_same_process_check)?;
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -670,10 +510,6 @@ impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECTION_Message {
|
|||
if let Some(v) = self.addon_name.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
if let Some(v) = self.localhost_same_process_check.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -683,9 +519,6 @@ impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECTION_Message {
|
|||
if let Some(v) = self.addon_name.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.localhost_same_process_check.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -704,14 +537,12 @@ impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECTION_Message {
|
|||
|
||||
fn clear(&mut self) {
|
||||
self.addon_name = ::std::option::Option::None;
|
||||
self.localhost_same_process_check.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static C2S_CONNECTION_Message {
|
||||
static instance: C2S_CONNECTION_Message = C2S_CONNECTION_Message {
|
||||
addon_name: ::std::option::Option::None,
|
||||
localhost_same_process_check: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -723,19 +554,6 @@ const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
|||
|
||||
#[allow(unused_imports)]
|
||||
use crate::netmessages::*;
|
||||
impl ::steam_vent_proto_common::RpcMessage for C2S_CONNECT_SameProcessCheck {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for C2S_CONNECT_Message {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
|
|||
|
|
@ -1,434 +0,0 @@
|
|||
// This file is generated by rust-protobuf 3.5.1. Do not edit
|
||||
// .proto file is parsed by pure
|
||||
// @generated
|
||||
|
||||
// https://github.com/rust-lang/rust-clippy/issues/702
|
||||
#![allow(unknown_lints)]
|
||||
#![allow(clippy::all)]
|
||||
|
||||
#![allow(unused_attributes)]
|
||||
#![cfg_attr(rustfmt, rustfmt::skip)]
|
||||
|
||||
#![allow(dead_code)]
|
||||
#![allow(missing_docs)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(trivial_casts)]
|
||||
#![allow(unused_results)]
|
||||
#![allow(unused_mut)]
|
||||
|
||||
//! Generated file from `cs_prediction_events.proto`
|
||||
// Generated for lite runtime
|
||||
|
||||
/// Generated files are compatible only with the same version
|
||||
/// of protobuf runtime.
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
|
||||
|
||||
// @@protoc_insertion_point(message:CCSPredictionEvent_DamageTag)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CCSPredictionEvent_DamageTag {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CCSPredictionEvent_DamageTag.flinch_mod_small)
|
||||
pub flinch_mod_small: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CCSPredictionEvent_DamageTag.flinch_mod_large)
|
||||
pub flinch_mod_large: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CCSPredictionEvent_DamageTag.friendly_fire_damage_reduction_ratio)
|
||||
pub friendly_fire_damage_reduction_ratio: ::std::option::Option<f32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CCSPredictionEvent_DamageTag.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CCSPredictionEvent_DamageTag {
|
||||
fn default() -> &'a CCSPredictionEvent_DamageTag {
|
||||
<CCSPredictionEvent_DamageTag as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CCSPredictionEvent_DamageTag {
|
||||
pub fn new() -> CCSPredictionEvent_DamageTag {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional float flinch_mod_small = 1;
|
||||
|
||||
pub fn flinch_mod_small(&self) -> f32 {
|
||||
self.flinch_mod_small.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_flinch_mod_small(&mut self) {
|
||||
self.flinch_mod_small = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_flinch_mod_small(&self) -> bool {
|
||||
self.flinch_mod_small.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_flinch_mod_small(&mut self, v: f32) {
|
||||
self.flinch_mod_small = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional float flinch_mod_large = 2;
|
||||
|
||||
pub fn flinch_mod_large(&self) -> f32 {
|
||||
self.flinch_mod_large.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_flinch_mod_large(&mut self) {
|
||||
self.flinch_mod_large = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_flinch_mod_large(&self) -> bool {
|
||||
self.flinch_mod_large.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_flinch_mod_large(&mut self, v: f32) {
|
||||
self.flinch_mod_large = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional float friendly_fire_damage_reduction_ratio = 3;
|
||||
|
||||
pub fn friendly_fire_damage_reduction_ratio(&self) -> f32 {
|
||||
self.friendly_fire_damage_reduction_ratio.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_friendly_fire_damage_reduction_ratio(&mut self) {
|
||||
self.friendly_fire_damage_reduction_ratio = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_friendly_fire_damage_reduction_ratio(&self) -> bool {
|
||||
self.friendly_fire_damage_reduction_ratio.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_friendly_fire_damage_reduction_ratio(&mut self, v: f32) {
|
||||
self.friendly_fire_damage_reduction_ratio = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CCSPredictionEvent_DamageTag {
|
||||
const NAME: &'static str = "CCSPredictionEvent_DamageTag";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
13 => {
|
||||
self.flinch_mod_small = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
21 => {
|
||||
self.flinch_mod_large = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
29 => {
|
||||
self.friendly_fire_damage_reduction_ratio = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.flinch_mod_small {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.flinch_mod_large {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.friendly_fire_damage_reduction_ratio {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.flinch_mod_small {
|
||||
os.write_float(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.flinch_mod_large {
|
||||
os.write_float(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.friendly_fire_damage_reduction_ratio {
|
||||
os.write_float(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CCSPredictionEvent_DamageTag {
|
||||
CCSPredictionEvent_DamageTag::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.flinch_mod_small = ::std::option::Option::None;
|
||||
self.flinch_mod_large = ::std::option::Option::None;
|
||||
self.friendly_fire_damage_reduction_ratio = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CCSPredictionEvent_DamageTag {
|
||||
static instance: CCSPredictionEvent_DamageTag = CCSPredictionEvent_DamageTag {
|
||||
flinch_mod_small: ::std::option::Option::None,
|
||||
flinch_mod_large: ::std::option::Option::None,
|
||||
friendly_fire_damage_reduction_ratio: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CCSPredictionEvent_AddAimPunch)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CCSPredictionEvent_AddAimPunch {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CCSPredictionEvent_AddAimPunch.punch_angle)
|
||||
pub punch_angle: ::steam_vent_proto_common::protobuf::MessageField<super::networkbasetypes::CMsgQAngle>,
|
||||
// @@protoc_insertion_point(field:CCSPredictionEvent_AddAimPunch.when_tick)
|
||||
pub when_tick: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CCSPredictionEvent_AddAimPunch.when_tick_frac)
|
||||
pub when_tick_frac: ::std::option::Option<f32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CCSPredictionEvent_AddAimPunch.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CCSPredictionEvent_AddAimPunch {
|
||||
fn default() -> &'a CCSPredictionEvent_AddAimPunch {
|
||||
<CCSPredictionEvent_AddAimPunch as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CCSPredictionEvent_AddAimPunch {
|
||||
pub fn new() -> CCSPredictionEvent_AddAimPunch {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 when_tick = 2;
|
||||
|
||||
pub fn when_tick(&self) -> u32 {
|
||||
self.when_tick.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_when_tick(&mut self) {
|
||||
self.when_tick = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_when_tick(&self) -> bool {
|
||||
self.when_tick.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_when_tick(&mut self, v: u32) {
|
||||
self.when_tick = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional float when_tick_frac = 3;
|
||||
|
||||
pub fn when_tick_frac(&self) -> f32 {
|
||||
self.when_tick_frac.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_when_tick_frac(&mut self) {
|
||||
self.when_tick_frac = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_when_tick_frac(&self) -> bool {
|
||||
self.when_tick_frac.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_when_tick_frac(&mut self, v: f32) {
|
||||
self.when_tick_frac = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CCSPredictionEvent_AddAimPunch {
|
||||
const NAME: &'static str = "CCSPredictionEvent_AddAimPunch";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.punch_angle)?;
|
||||
},
|
||||
16 => {
|
||||
self.when_tick = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
29 => {
|
||||
self.when_tick_frac = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.punch_angle.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.when_tick {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.when_tick_frac {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.punch_angle.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.when_tick {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.when_tick_frac {
|
||||
os.write_float(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CCSPredictionEvent_AddAimPunch {
|
||||
CCSPredictionEvent_AddAimPunch::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.punch_angle.clear();
|
||||
self.when_tick = ::std::option::Option::None;
|
||||
self.when_tick_frac = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CCSPredictionEvent_AddAimPunch {
|
||||
static instance: CCSPredictionEvent_AddAimPunch = CCSPredictionEvent_AddAimPunch {
|
||||
punch_angle: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
when_tick: ::std::option::Option::None,
|
||||
when_tick_frac: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:ECSPredictionEvents)
|
||||
pub enum ECSPredictionEvents {
|
||||
// @@protoc_insertion_point(enum_value:ECSPredictionEvents.CSPE_DamageTag)
|
||||
CSPE_DamageTag = 1,
|
||||
// @@protoc_insertion_point(enum_value:ECSPredictionEvents.CSPE_AddAimPunch)
|
||||
CSPE_AddAimPunch = 3,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for ECSPredictionEvents {
|
||||
const NAME: &'static str = "ECSPredictionEvents";
|
||||
|
||||
fn value(&self) -> i32 {
|
||||
*self as i32
|
||||
}
|
||||
|
||||
fn from_i32(value: i32) -> ::std::option::Option<ECSPredictionEvents> {
|
||||
match value {
|
||||
1 => ::std::option::Option::Some(ECSPredictionEvents::CSPE_DamageTag),
|
||||
3 => ::std::option::Option::Some(ECSPredictionEvents::CSPE_AddAimPunch),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
fn from_str(str: &str) -> ::std::option::Option<ECSPredictionEvents> {
|
||||
match str {
|
||||
"CSPE_DamageTag" => ::std::option::Option::Some(ECSPredictionEvents::CSPE_DamageTag),
|
||||
"CSPE_AddAimPunch" => ::std::option::Option::Some(ECSPredictionEvents::CSPE_AddAimPunch),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [ECSPredictionEvents] = &[
|
||||
ECSPredictionEvents::CSPE_DamageTag,
|
||||
ECSPredictionEvents::CSPE_AddAimPunch,
|
||||
];
|
||||
}
|
||||
|
||||
// Note, `Default` is implemented although default value is not 0
|
||||
impl ::std::default::Default for ECSPredictionEvents {
|
||||
fn default() -> Self {
|
||||
ECSPredictionEvents::CSPE_DamageTag
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use crate::networkbasetypes::*;
|
||||
#[allow(unused_imports)]
|
||||
use crate::prediction_events::*;
|
||||
impl ::steam_vent_proto_common::RpcMessage for CCSPredictionEvent_DamageTag {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CCSPredictionEvent_AddAimPunch {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
|
|
@ -198,115 +198,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CSGOInterpolationInfoPB {
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSGOInterpolationInfoPB_CL)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSGOInterpolationInfoPB_CL {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CSGOInterpolationInfoPB_CL.frac)
|
||||
pub frac: ::std::option::Option<f32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSGOInterpolationInfoPB_CL.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CSGOInterpolationInfoPB_CL {
|
||||
fn default() -> &'a CSGOInterpolationInfoPB_CL {
|
||||
<CSGOInterpolationInfoPB_CL as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CSGOInterpolationInfoPB_CL {
|
||||
pub fn new() -> CSGOInterpolationInfoPB_CL {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional float frac = 3;
|
||||
|
||||
pub fn frac(&self) -> f32 {
|
||||
self.frac.unwrap_or(0.0f32)
|
||||
}
|
||||
|
||||
pub fn clear_frac(&mut self) {
|
||||
self.frac = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_frac(&self) -> bool {
|
||||
self.frac.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_frac(&mut self, v: f32) {
|
||||
self.frac = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSGOInterpolationInfoPB_CL {
|
||||
const NAME: &'static str = "CSGOInterpolationInfoPB_CL";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
29 => {
|
||||
self.frac = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.frac {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.frac {
|
||||
os.write_float(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CSGOInterpolationInfoPB_CL {
|
||||
CSGOInterpolationInfoPB_CL::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.frac = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CSGOInterpolationInfoPB_CL {
|
||||
static instance: CSGOInterpolationInfoPB_CL = CSGOInterpolationInfoPB_CL {
|
||||
frac: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CSGOInputHistoryEntryPB)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CSGOInputHistoryEntryPB {
|
||||
|
|
@ -322,7 +213,7 @@ pub struct CSGOInputHistoryEntryPB {
|
|||
// @@protoc_insertion_point(field:CSGOInputHistoryEntryPB.player_tick_fraction)
|
||||
pub player_tick_fraction: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CSGOInputHistoryEntryPB.cl_interp)
|
||||
pub cl_interp: ::steam_vent_proto_common::protobuf::MessageField<CSGOInterpolationInfoPB_CL>,
|
||||
pub cl_interp: ::steam_vent_proto_common::protobuf::MessageField<CSGOInterpolationInfoPB>,
|
||||
// @@protoc_insertion_point(field:CSGOInputHistoryEntryPB.sv_interp0)
|
||||
pub sv_interp0: ::steam_vent_proto_common::protobuf::MessageField<CSGOInterpolationInfoPB>,
|
||||
// @@protoc_insertion_point(field:CSGOInputHistoryEntryPB.sv_interp1)
|
||||
|
|
@ -433,7 +324,7 @@ impl CSGOInputHistoryEntryPB {
|
|||
self.player_tick_fraction = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 frame_number = 64;
|
||||
// optional int32 frame_number = 20;
|
||||
|
||||
pub fn frame_number(&self) -> i32 {
|
||||
self.frame_number.unwrap_or(0)
|
||||
|
|
@ -452,7 +343,7 @@ impl CSGOInputHistoryEntryPB {
|
|||
self.frame_number = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 target_ent_index = 65;
|
||||
// optional int32 target_ent_index = 8;
|
||||
|
||||
pub fn target_ent_index(&self) -> i32 {
|
||||
self.target_ent_index.unwrap_or(-1i32)
|
||||
|
|
@ -509,22 +400,22 @@ impl ::steam_vent_proto_common::protobuf::Message for CSGOInputHistoryEntryPB {
|
|||
122 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.player_interp)?;
|
||||
},
|
||||
512 => {
|
||||
160 => {
|
||||
self.frame_number = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
520 => {
|
||||
64 => {
|
||||
self.target_ent_index = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
530 => {
|
||||
26 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.shoot_position)?;
|
||||
},
|
||||
538 => {
|
||||
74 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.target_head_pos_check)?;
|
||||
},
|
||||
546 => {
|
||||
82 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.target_abs_pos_check)?;
|
||||
},
|
||||
554 => {
|
||||
90 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.target_abs_ang_check)?;
|
||||
},
|
||||
tag => {
|
||||
|
|
@ -572,26 +463,26 @@ impl ::steam_vent_proto_common::protobuf::Message for CSGOInputHistoryEntryPB {
|
|||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.frame_number {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(64, v);
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(20, v);
|
||||
}
|
||||
if let Some(v) = self.target_ent_index {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(65, v);
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(8, v);
|
||||
}
|
||||
if let Some(v) = self.shoot_position.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.target_head_pos_check.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.target_abs_pos_check.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.target_abs_ang_check.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
|
|
@ -627,22 +518,22 @@ impl ::steam_vent_proto_common::protobuf::Message for CSGOInputHistoryEntryPB {
|
|||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(15, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.frame_number {
|
||||
os.write_int32(64, v)?;
|
||||
os.write_int32(20, v)?;
|
||||
}
|
||||
if let Some(v) = self.target_ent_index {
|
||||
os.write_int32(65, v)?;
|
||||
os.write_int32(8, v)?;
|
||||
}
|
||||
if let Some(v) = self.shoot_position.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(66, v, os)?;
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.target_head_pos_check.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(67, v, os)?;
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(9, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.target_abs_pos_check.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(68, v, os)?;
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(10, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.target_abs_ang_check.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(69, v, os)?;
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(11, v, os)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
|
|
@ -714,14 +605,10 @@ pub struct CSGOUserCmdPB {
|
|||
pub attack1_start_history_index: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CSGOUserCmdPB.attack2_start_history_index)
|
||||
pub attack2_start_history_index: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CSGOUserCmdPB.attack3_start_history_index)
|
||||
pub attack3_start_history_index: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CSGOUserCmdPB.left_hand_desired)
|
||||
pub left_hand_desired: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CSGOUserCmdPB.is_predicting_body_shot_fx)
|
||||
pub is_predicting_body_shot_fx: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CSGOUserCmdPB.is_predicting_head_shot_fx)
|
||||
pub is_predicting_head_shot_fx: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CSGOUserCmdPB.is_predicting_kill_ragdolls)
|
||||
pub is_predicting_kill_ragdolls: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSGOUserCmdPB.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -776,6 +663,25 @@ impl CSGOUserCmdPB {
|
|||
self.attack2_start_history_index = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 attack3_start_history_index = 8;
|
||||
|
||||
pub fn attack3_start_history_index(&self) -> i32 {
|
||||
self.attack3_start_history_index.unwrap_or(-1i32)
|
||||
}
|
||||
|
||||
pub fn clear_attack3_start_history_index(&mut self) {
|
||||
self.attack3_start_history_index = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_attack3_start_history_index(&self) -> bool {
|
||||
self.attack3_start_history_index.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_attack3_start_history_index(&mut self, v: i32) {
|
||||
self.attack3_start_history_index = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool left_hand_desired = 9;
|
||||
|
||||
pub fn left_hand_desired(&self) -> bool {
|
||||
|
|
@ -794,63 +700,6 @@ impl CSGOUserCmdPB {
|
|||
pub fn set_left_hand_desired(&mut self, v: bool) {
|
||||
self.left_hand_desired = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_predicting_body_shot_fx = 11;
|
||||
|
||||
pub fn is_predicting_body_shot_fx(&self) -> bool {
|
||||
self.is_predicting_body_shot_fx.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_predicting_body_shot_fx(&mut self) {
|
||||
self.is_predicting_body_shot_fx = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_predicting_body_shot_fx(&self) -> bool {
|
||||
self.is_predicting_body_shot_fx.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_predicting_body_shot_fx(&mut self, v: bool) {
|
||||
self.is_predicting_body_shot_fx = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_predicting_head_shot_fx = 12;
|
||||
|
||||
pub fn is_predicting_head_shot_fx(&self) -> bool {
|
||||
self.is_predicting_head_shot_fx.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_predicting_head_shot_fx(&mut self) {
|
||||
self.is_predicting_head_shot_fx = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_predicting_head_shot_fx(&self) -> bool {
|
||||
self.is_predicting_head_shot_fx.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_predicting_head_shot_fx(&mut self, v: bool) {
|
||||
self.is_predicting_head_shot_fx = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_predicting_kill_ragdolls = 13;
|
||||
|
||||
pub fn is_predicting_kill_ragdolls(&self) -> bool {
|
||||
self.is_predicting_kill_ragdolls.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_predicting_kill_ragdolls(&mut self) {
|
||||
self.is_predicting_kill_ragdolls = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_predicting_kill_ragdolls(&self) -> bool {
|
||||
self.is_predicting_kill_ragdolls.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_predicting_kill_ragdolls(&mut self, v: bool) {
|
||||
self.is_predicting_kill_ragdolls = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSGOUserCmdPB {
|
||||
|
|
@ -875,18 +724,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CSGOUserCmdPB {
|
|||
56 => {
|
||||
self.attack2_start_history_index = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
64 => {
|
||||
self.attack3_start_history_index = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
72 => {
|
||||
self.left_hand_desired = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
88 => {
|
||||
self.is_predicting_body_shot_fx = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
96 => {
|
||||
self.is_predicting_head_shot_fx = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
104 => {
|
||||
self.is_predicting_kill_ragdolls = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -913,18 +756,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CSGOUserCmdPB {
|
|||
if let Some(v) = self.attack2_start_history_index {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(7, v);
|
||||
}
|
||||
if let Some(v) = self.attack3_start_history_index {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(8, v);
|
||||
}
|
||||
if let Some(v) = self.left_hand_desired {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_predicting_body_shot_fx {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_predicting_head_shot_fx {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_predicting_kill_ragdolls {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -943,18 +780,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CSGOUserCmdPB {
|
|||
if let Some(v) = self.attack2_start_history_index {
|
||||
os.write_int32(7, v)?;
|
||||
}
|
||||
if let Some(v) = self.attack3_start_history_index {
|
||||
os.write_int32(8, v)?;
|
||||
}
|
||||
if let Some(v) = self.left_hand_desired {
|
||||
os.write_bool(9, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_predicting_body_shot_fx {
|
||||
os.write_bool(11, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_predicting_head_shot_fx {
|
||||
os.write_bool(12, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_predicting_kill_ragdolls {
|
||||
os.write_bool(13, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -976,10 +807,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CSGOUserCmdPB {
|
|||
self.input_history.clear();
|
||||
self.attack1_start_history_index = ::std::option::Option::None;
|
||||
self.attack2_start_history_index = ::std::option::Option::None;
|
||||
self.attack3_start_history_index = ::std::option::Option::None;
|
||||
self.left_hand_desired = ::std::option::Option::None;
|
||||
self.is_predicting_body_shot_fx = ::std::option::Option::None;
|
||||
self.is_predicting_head_shot_fx = ::std::option::Option::None;
|
||||
self.is_predicting_kill_ragdolls = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -989,10 +818,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CSGOUserCmdPB {
|
|||
input_history: ::std::vec::Vec::new(),
|
||||
attack1_start_history_index: ::std::option::Option::None,
|
||||
attack2_start_history_index: ::std::option::Option::None,
|
||||
attack3_start_history_index: ::std::option::Option::None,
|
||||
left_hand_desired: ::std::option::Option::None,
|
||||
is_predicting_body_shot_fx: ::std::option::Option::None,
|
||||
is_predicting_head_shot_fx: ::std::option::Option::None,
|
||||
is_predicting_kill_ragdolls: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -1019,19 +846,6 @@ impl ::steam_vent_proto_common::RpcMessage for CSGOInterpolationInfoPB {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CSGOInterpolationInfoPB_CL {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CSGOInputHistoryEntryPB {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1554,7 +1554,7 @@ pub mod cgame_info {
|
|||
// @@protoc_insertion_point(field:CGameInfo.CDotaGameInfo.CHeroSelectEvent.team)
|
||||
pub team: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CGameInfo.CDotaGameInfo.CHeroSelectEvent.hero_id)
|
||||
pub hero_id: ::std::option::Option<i32>,
|
||||
pub hero_id: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CGameInfo.CDotaGameInfo.CHeroSelectEvent.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -1609,9 +1609,9 @@ pub mod cgame_info {
|
|||
self.team = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 hero_id = 3;
|
||||
// optional uint32 hero_id = 3;
|
||||
|
||||
pub fn hero_id(&self) -> i32 {
|
||||
pub fn hero_id(&self) -> u32 {
|
||||
self.hero_id.unwrap_or(0)
|
||||
}
|
||||
|
||||
|
|
@ -1624,7 +1624,7 @@ pub mod cgame_info {
|
|||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_hero_id(&mut self, v: i32) {
|
||||
pub fn set_hero_id(&mut self, v: u32) {
|
||||
self.hero_id = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
|
@ -1646,7 +1646,7 @@ pub mod cgame_info {
|
|||
self.team = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.hero_id = ::std::option::Option::Some(is.read_int32()?);
|
||||
self.hero_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
|
|
@ -1667,7 +1667,7 @@ pub mod cgame_info {
|
|||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.hero_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
|
|
@ -1682,7 +1682,7 @@ pub mod cgame_info {
|
|||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.hero_id {
|
||||
os.write_int32(3, v)?;
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
|
|
@ -4553,290 +4553,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CDemoSpawnGroups {
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CDemoRecovery)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CDemoRecovery {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CDemoRecovery.initial_spawn_group)
|
||||
pub initial_spawn_group: ::steam_vent_proto_common::protobuf::MessageField<cdemo_recovery::DemoInitialSpawnGroupEntry>,
|
||||
// @@protoc_insertion_point(field:CDemoRecovery.spawn_group_message)
|
||||
pub spawn_group_message: ::std::option::Option<::std::vec::Vec<u8>>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CDemoRecovery.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CDemoRecovery {
|
||||
fn default() -> &'a CDemoRecovery {
|
||||
<CDemoRecovery as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CDemoRecovery {
|
||||
pub fn new() -> CDemoRecovery {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional bytes spawn_group_message = 2;
|
||||
|
||||
pub fn spawn_group_message(&self) -> &[u8] {
|
||||
match self.spawn_group_message.as_ref() {
|
||||
Some(v) => v,
|
||||
None => &[],
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_spawn_group_message(&mut self) {
|
||||
self.spawn_group_message = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_spawn_group_message(&self) -> bool {
|
||||
self.spawn_group_message.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_spawn_group_message(&mut self, v: ::std::vec::Vec<u8>) {
|
||||
self.spawn_group_message = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_spawn_group_message(&mut self) -> &mut ::std::vec::Vec<u8> {
|
||||
if self.spawn_group_message.is_none() {
|
||||
self.spawn_group_message = ::std::option::Option::Some(::std::vec::Vec::new());
|
||||
}
|
||||
self.spawn_group_message.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_spawn_group_message(&mut self) -> ::std::vec::Vec<u8> {
|
||||
self.spawn_group_message.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CDemoRecovery {
|
||||
const NAME: &'static str = "CDemoRecovery";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.initial_spawn_group)?;
|
||||
},
|
||||
18 => {
|
||||
self.spawn_group_message = ::std::option::Option::Some(is.read_bytes()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.initial_spawn_group.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.spawn_group_message.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(2, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.initial_spawn_group.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.spawn_group_message.as_ref() {
|
||||
os.write_bytes(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CDemoRecovery {
|
||||
CDemoRecovery::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.initial_spawn_group.clear();
|
||||
self.spawn_group_message = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CDemoRecovery {
|
||||
static instance: CDemoRecovery = CDemoRecovery {
|
||||
initial_spawn_group: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
spawn_group_message: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
/// Nested message and enums of message `CDemoRecovery`
|
||||
pub mod cdemo_recovery {
|
||||
// @@protoc_insertion_point(message:CDemoRecovery.DemoInitialSpawnGroupEntry)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct DemoInitialSpawnGroupEntry {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CDemoRecovery.DemoInitialSpawnGroupEntry.spawngrouphandle)
|
||||
pub spawngrouphandle: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CDemoRecovery.DemoInitialSpawnGroupEntry.was_created)
|
||||
pub was_created: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CDemoRecovery.DemoInitialSpawnGroupEntry.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a DemoInitialSpawnGroupEntry {
|
||||
fn default() -> &'a DemoInitialSpawnGroupEntry {
|
||||
<DemoInitialSpawnGroupEntry as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl DemoInitialSpawnGroupEntry {
|
||||
pub fn new() -> DemoInitialSpawnGroupEntry {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 spawngrouphandle = 1;
|
||||
|
||||
pub fn spawngrouphandle(&self) -> u32 {
|
||||
self.spawngrouphandle.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_spawngrouphandle(&mut self) {
|
||||
self.spawngrouphandle = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_spawngrouphandle(&self) -> bool {
|
||||
self.spawngrouphandle.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_spawngrouphandle(&mut self, v: u32) {
|
||||
self.spawngrouphandle = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool was_created = 2;
|
||||
|
||||
pub fn was_created(&self) -> bool {
|
||||
self.was_created.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_was_created(&mut self) {
|
||||
self.was_created = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_was_created(&self) -> bool {
|
||||
self.was_created.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_was_created(&mut self, v: bool) {
|
||||
self.was_created = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for DemoInitialSpawnGroupEntry {
|
||||
const NAME: &'static str = "DemoInitialSpawnGroupEntry";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.spawngrouphandle = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
16 => {
|
||||
self.was_created = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.spawngrouphandle {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.was_created {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.spawngrouphandle {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.was_created {
|
||||
os.write_bool(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> DemoInitialSpawnGroupEntry {
|
||||
DemoInitialSpawnGroupEntry::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.spawngrouphandle = ::std::option::Option::None;
|
||||
self.was_created = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static DemoInitialSpawnGroupEntry {
|
||||
static instance: DemoInitialSpawnGroupEntry = DemoInitialSpawnGroupEntry {
|
||||
spawngrouphandle: ::std::option::Option::None,
|
||||
was_created: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:EDemoCommands)
|
||||
pub enum EDemoCommands {
|
||||
|
|
@ -4878,10 +4594,8 @@ pub enum EDemoCommands {
|
|||
DEM_AnimationData = 16,
|
||||
// @@protoc_insertion_point(enum_value:EDemoCommands.DEM_AnimationHeader)
|
||||
DEM_AnimationHeader = 17,
|
||||
// @@protoc_insertion_point(enum_value:EDemoCommands.DEM_Recovery)
|
||||
DEM_Recovery = 18,
|
||||
// @@protoc_insertion_point(enum_value:EDemoCommands.DEM_Max)
|
||||
DEM_Max = 19,
|
||||
DEM_Max = 18,
|
||||
// @@protoc_insertion_point(enum_value:EDemoCommands.DEM_IsCompressed)
|
||||
DEM_IsCompressed = 64,
|
||||
}
|
||||
|
|
@ -4914,8 +4628,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EDemoCommands {
|
|||
15 => ::std::option::Option::Some(EDemoCommands::DEM_SpawnGroups),
|
||||
16 => ::std::option::Option::Some(EDemoCommands::DEM_AnimationData),
|
||||
17 => ::std::option::Option::Some(EDemoCommands::DEM_AnimationHeader),
|
||||
18 => ::std::option::Option::Some(EDemoCommands::DEM_Recovery),
|
||||
19 => ::std::option::Option::Some(EDemoCommands::DEM_Max),
|
||||
18 => ::std::option::Option::Some(EDemoCommands::DEM_Max),
|
||||
64 => ::std::option::Option::Some(EDemoCommands::DEM_IsCompressed),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
|
|
@ -4942,7 +4655,6 @@ impl ::steam_vent_proto_common::protobuf::Enum for EDemoCommands {
|
|||
"DEM_SpawnGroups" => ::std::option::Option::Some(EDemoCommands::DEM_SpawnGroups),
|
||||
"DEM_AnimationData" => ::std::option::Option::Some(EDemoCommands::DEM_AnimationData),
|
||||
"DEM_AnimationHeader" => ::std::option::Option::Some(EDemoCommands::DEM_AnimationHeader),
|
||||
"DEM_Recovery" => ::std::option::Option::Some(EDemoCommands::DEM_Recovery),
|
||||
"DEM_Max" => ::std::option::Option::Some(EDemoCommands::DEM_Max),
|
||||
"DEM_IsCompressed" => ::std::option::Option::Some(EDemoCommands::DEM_IsCompressed),
|
||||
_ => ::std::option::Option::None
|
||||
|
|
@ -4969,7 +4681,6 @@ impl ::steam_vent_proto_common::protobuf::Enum for EDemoCommands {
|
|||
EDemoCommands::DEM_SpawnGroups,
|
||||
EDemoCommands::DEM_AnimationData,
|
||||
EDemoCommands::DEM_AnimationHeader,
|
||||
EDemoCommands::DEM_Recovery,
|
||||
EDemoCommands::DEM_Max,
|
||||
EDemoCommands::DEM_IsCompressed,
|
||||
];
|
||||
|
|
@ -5220,16 +4931,3 @@ impl ::steam_vent_proto_common::RpcMessage for CDemoSpawnGroups {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CDemoRecovery {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -743,8 +743,6 @@ pub struct CMsgGCItemCustomizationNotification {
|
|||
pub item_id: ::std::vec::Vec<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgGCItemCustomizationNotification.request)
|
||||
pub request: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgGCItemCustomizationNotification.extra_data)
|
||||
pub extra_data: ::std::vec::Vec<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgGCItemCustomizationNotification.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -800,12 +798,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGCItemCustomizationNot
|
|||
16 => {
|
||||
self.request = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
26 => {
|
||||
is.read_repeated_packed_uint64_into(&mut self.extra_data)?;
|
||||
},
|
||||
24 => {
|
||||
self.extra_data.push(is.read_uint64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -824,9 +816,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGCItemCustomizationNot
|
|||
if let Some(v) = self.request {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
for value in &self.extra_data {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, *value);
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -839,9 +828,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGCItemCustomizationNot
|
|||
if let Some(v) = self.request {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
for v in &self.extra_data {
|
||||
os.write_uint64(3, *v)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -861,7 +847,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGCItemCustomizationNot
|
|||
fn clear(&mut self) {
|
||||
self.item_id.clear();
|
||||
self.request = ::std::option::Option::None;
|
||||
self.extra_data.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -869,7 +854,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgGCItemCustomizationNot
|
|||
static instance: CMsgGCItemCustomizationNotification = CMsgGCItemCustomizationNotification {
|
||||
item_id: ::std::vec::Vec::new(),
|
||||
request: ::std::option::Option::None,
|
||||
extra_data: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -893,8 +877,8 @@ pub enum EGCItemMsg {
|
|||
k_EMsgGCVerifyCacheSubscription = 1005,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCNameItem)
|
||||
k_EMsgGCNameItem = 1006,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCUnlockCrate_DEPRECATED)
|
||||
k_EMsgGCUnlockCrate_DEPRECATED = 1007,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCUnlockCrate)
|
||||
k_EMsgGCUnlockCrate = 1007,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCUnlockCrateResponse)
|
||||
k_EMsgGCUnlockCrateResponse = 1008,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCPaintItem)
|
||||
|
|
@ -987,6 +971,8 @@ pub enum EGCItemMsg {
|
|||
k_EMsgGCSaxxyBroadcast = 1057,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCBackpackSortFinished)
|
||||
k_EMsgGCBackpackSortFinished = 1058,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCAdjustItemEquippedState)
|
||||
k_EMsgGCAdjustItemEquippedState = 1059,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCCollectItem)
|
||||
k_EMsgGCCollectItem = 1061,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCItemAcknowledged__DEPRECATED)
|
||||
|
|
@ -1161,18 +1147,20 @@ pub enum EGCItemMsg {
|
|||
k_EMsgGCRequestPassportItemGrant = 2527,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCClientVersionUpdated)
|
||||
k_EMsgGCClientVersionUpdated = 2528,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCAdjustItemEquippedStateMulti)
|
||||
k_EMsgGCAdjustItemEquippedStateMulti = 2529,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCRecurringSubscriptionStatus)
|
||||
k_EMsgGCRecurringSubscriptionStatus = 2530,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCAdjustEquipSlotsManual)
|
||||
k_EMsgGCAdjustEquipSlotsManual = 2531,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCAdjustEquipSlotsShuffle)
|
||||
k_EMsgGCAdjustEquipSlotsShuffle = 2532,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCNameItemAndEquip)
|
||||
k_EMsgGCNameItemAndEquip = 2533,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCOpenCrate)
|
||||
k_EMsgGCOpenCrate = 2534,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCAcknowledgeRentalExpiration)
|
||||
k_EMsgGCAcknowledgeRentalExpiration = 2535,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemMsg.k_EMsgGCVolatileItemLoadContents)
|
||||
k_EMsgGCVolatileItemLoadContents = 2536,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EGCItemMsg {
|
||||
|
|
@ -1191,7 +1179,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemMsg {
|
|||
1004 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCDelete),
|
||||
1005 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCVerifyCacheSubscription),
|
||||
1006 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCNameItem),
|
||||
1007 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCUnlockCrate_DEPRECATED),
|
||||
1007 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCUnlockCrate),
|
||||
1008 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCUnlockCrateResponse),
|
||||
1009 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCPaintItem),
|
||||
1010 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCPaintItemResponse),
|
||||
|
|
@ -1238,6 +1226,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemMsg {
|
|||
1056 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCRemoveUniqueCraftIndexResponse),
|
||||
1057 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCSaxxyBroadcast),
|
||||
1058 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCBackpackSortFinished),
|
||||
1059 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCAdjustItemEquippedState),
|
||||
1061 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCCollectItem),
|
||||
1062 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCItemAcknowledged__DEPRECATED),
|
||||
1065 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGC_ReportAbuse),
|
||||
|
|
@ -1325,12 +1314,13 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemMsg {
|
|||
2526 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCRequestAnnouncementsResponse),
|
||||
2527 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCRequestPassportItemGrant),
|
||||
2528 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCClientVersionUpdated),
|
||||
2529 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCAdjustItemEquippedStateMulti),
|
||||
2530 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCRecurringSubscriptionStatus),
|
||||
2531 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCAdjustEquipSlotsManual),
|
||||
2532 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCAdjustEquipSlotsShuffle),
|
||||
2533 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCNameItemAndEquip),
|
||||
2534 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCOpenCrate),
|
||||
2535 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCAcknowledgeRentalExpiration),
|
||||
2536 => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCVolatileItemLoadContents),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -1344,7 +1334,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemMsg {
|
|||
"k_EMsgGCDelete" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCDelete),
|
||||
"k_EMsgGCVerifyCacheSubscription" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCVerifyCacheSubscription),
|
||||
"k_EMsgGCNameItem" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCNameItem),
|
||||
"k_EMsgGCUnlockCrate_DEPRECATED" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCUnlockCrate_DEPRECATED),
|
||||
"k_EMsgGCUnlockCrate" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCUnlockCrate),
|
||||
"k_EMsgGCUnlockCrateResponse" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCUnlockCrateResponse),
|
||||
"k_EMsgGCPaintItem" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCPaintItem),
|
||||
"k_EMsgGCPaintItemResponse" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCPaintItemResponse),
|
||||
|
|
@ -1391,6 +1381,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemMsg {
|
|||
"k_EMsgGCRemoveUniqueCraftIndexResponse" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCRemoveUniqueCraftIndexResponse),
|
||||
"k_EMsgGCSaxxyBroadcast" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCSaxxyBroadcast),
|
||||
"k_EMsgGCBackpackSortFinished" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCBackpackSortFinished),
|
||||
"k_EMsgGCAdjustItemEquippedState" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCAdjustItemEquippedState),
|
||||
"k_EMsgGCCollectItem" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCCollectItem),
|
||||
"k_EMsgGCItemAcknowledged__DEPRECATED" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCItemAcknowledged__DEPRECATED),
|
||||
"k_EMsgGC_ReportAbuse" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGC_ReportAbuse),
|
||||
|
|
@ -1478,12 +1469,13 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemMsg {
|
|||
"k_EMsgGCRequestAnnouncementsResponse" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCRequestAnnouncementsResponse),
|
||||
"k_EMsgGCRequestPassportItemGrant" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCRequestPassportItemGrant),
|
||||
"k_EMsgGCClientVersionUpdated" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCClientVersionUpdated),
|
||||
"k_EMsgGCAdjustItemEquippedStateMulti" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCAdjustItemEquippedStateMulti),
|
||||
"k_EMsgGCRecurringSubscriptionStatus" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCRecurringSubscriptionStatus),
|
||||
"k_EMsgGCAdjustEquipSlotsManual" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCAdjustEquipSlotsManual),
|
||||
"k_EMsgGCAdjustEquipSlotsShuffle" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCAdjustEquipSlotsShuffle),
|
||||
"k_EMsgGCNameItemAndEquip" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCNameItemAndEquip),
|
||||
"k_EMsgGCOpenCrate" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCOpenCrate),
|
||||
"k_EMsgGCAcknowledgeRentalExpiration" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCAcknowledgeRentalExpiration),
|
||||
"k_EMsgGCVolatileItemLoadContents" => ::std::option::Option::Some(EGCItemMsg::k_EMsgGCVolatileItemLoadContents),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -1496,7 +1488,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemMsg {
|
|||
EGCItemMsg::k_EMsgGCDelete,
|
||||
EGCItemMsg::k_EMsgGCVerifyCacheSubscription,
|
||||
EGCItemMsg::k_EMsgGCNameItem,
|
||||
EGCItemMsg::k_EMsgGCUnlockCrate_DEPRECATED,
|
||||
EGCItemMsg::k_EMsgGCUnlockCrate,
|
||||
EGCItemMsg::k_EMsgGCUnlockCrateResponse,
|
||||
EGCItemMsg::k_EMsgGCPaintItem,
|
||||
EGCItemMsg::k_EMsgGCPaintItemResponse,
|
||||
|
|
@ -1543,6 +1535,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemMsg {
|
|||
EGCItemMsg::k_EMsgGCRemoveUniqueCraftIndexResponse,
|
||||
EGCItemMsg::k_EMsgGCSaxxyBroadcast,
|
||||
EGCItemMsg::k_EMsgGCBackpackSortFinished,
|
||||
EGCItemMsg::k_EMsgGCAdjustItemEquippedState,
|
||||
EGCItemMsg::k_EMsgGCCollectItem,
|
||||
EGCItemMsg::k_EMsgGCItemAcknowledged__DEPRECATED,
|
||||
EGCItemMsg::k_EMsgGC_ReportAbuse,
|
||||
|
|
@ -1630,12 +1623,13 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemMsg {
|
|||
EGCItemMsg::k_EMsgGCRequestAnnouncementsResponse,
|
||||
EGCItemMsg::k_EMsgGCRequestPassportItemGrant,
|
||||
EGCItemMsg::k_EMsgGCClientVersionUpdated,
|
||||
EGCItemMsg::k_EMsgGCAdjustItemEquippedStateMulti,
|
||||
EGCItemMsg::k_EMsgGCRecurringSubscriptionStatus,
|
||||
EGCItemMsg::k_EMsgGCAdjustEquipSlotsManual,
|
||||
EGCItemMsg::k_EMsgGCAdjustEquipSlotsShuffle,
|
||||
EGCItemMsg::k_EMsgGCNameItemAndEquip,
|
||||
EGCItemMsg::k_EMsgGCOpenCrate,
|
||||
EGCItemMsg::k_EMsgGCAcknowledgeRentalExpiration,
|
||||
EGCItemMsg::k_EMsgGCVolatileItemLoadContents,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -1837,10 +1831,6 @@ pub enum EGCItemCustomizationNotification {
|
|||
k_EGCItemCustomizationNotification_RemovePatch = 1089,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemCustomizationNotification.k_EGCItemCustomizationNotification_ApplyPatch)
|
||||
k_EGCItemCustomizationNotification_ApplyPatch = 1090,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemCustomizationNotification.k_EGCItemCustomizationNotification_ApplyKeychain)
|
||||
k_EGCItemCustomizationNotification_ApplyKeychain = 1091,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemCustomizationNotification.k_EGCItemCustomizationNotification_RemoveKeychain)
|
||||
k_EGCItemCustomizationNotification_RemoveKeychain = 1092,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemCustomizationNotification.k_EGCItemCustomizationNotification_ActivateFanToken)
|
||||
k_EGCItemCustomizationNotification_ActivateFanToken = 9178,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemCustomizationNotification.k_EGCItemCustomizationNotification_ActivateOperationCoin)
|
||||
|
|
@ -1853,10 +1843,6 @@ pub enum EGCItemCustomizationNotification {
|
|||
k_EGCItemCustomizationNotification_ClientRedeemMissionReward = 9209,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemCustomizationNotification.k_EGCItemCustomizationNotification_ClientRedeemFreeReward)
|
||||
k_EGCItemCustomizationNotification_ClientRedeemFreeReward = 9219,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemCustomizationNotification.k_EGCItemCustomizationNotification_XpShopUseTicket)
|
||||
k_EGCItemCustomizationNotification_XpShopUseTicket = 9221,
|
||||
// @@protoc_insertion_point(enum_value:EGCItemCustomizationNotification.k_EGCItemCustomizationNotification_XpShopAckTracks)
|
||||
k_EGCItemCustomizationNotification_XpShopAckTracks = 9222,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EGCItemCustomizationNotification {
|
||||
|
|
@ -1884,16 +1870,12 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemCustomizationNotificat
|
|||
1088 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_StatTrakSwap),
|
||||
1089 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_RemovePatch),
|
||||
1090 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ApplyPatch),
|
||||
1091 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ApplyKeychain),
|
||||
1092 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_RemoveKeychain),
|
||||
9178 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ActivateFanToken),
|
||||
9179 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ActivateOperationCoin),
|
||||
9185 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_GraffitiUnseal),
|
||||
9204 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_GenerateSouvenir),
|
||||
9209 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ClientRedeemMissionReward),
|
||||
9219 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ClientRedeemFreeReward),
|
||||
9221 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_XpShopUseTicket),
|
||||
9222 => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_XpShopAckTracks),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -1916,16 +1898,12 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemCustomizationNotificat
|
|||
"k_EGCItemCustomizationNotification_StatTrakSwap" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_StatTrakSwap),
|
||||
"k_EGCItemCustomizationNotification_RemovePatch" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_RemovePatch),
|
||||
"k_EGCItemCustomizationNotification_ApplyPatch" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ApplyPatch),
|
||||
"k_EGCItemCustomizationNotification_ApplyKeychain" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ApplyKeychain),
|
||||
"k_EGCItemCustomizationNotification_RemoveKeychain" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_RemoveKeychain),
|
||||
"k_EGCItemCustomizationNotification_ActivateFanToken" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ActivateFanToken),
|
||||
"k_EGCItemCustomizationNotification_ActivateOperationCoin" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ActivateOperationCoin),
|
||||
"k_EGCItemCustomizationNotification_GraffitiUnseal" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_GraffitiUnseal),
|
||||
"k_EGCItemCustomizationNotification_GenerateSouvenir" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_GenerateSouvenir),
|
||||
"k_EGCItemCustomizationNotification_ClientRedeemMissionReward" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ClientRedeemMissionReward),
|
||||
"k_EGCItemCustomizationNotification_ClientRedeemFreeReward" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ClientRedeemFreeReward),
|
||||
"k_EGCItemCustomizationNotification_XpShopUseTicket" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_XpShopUseTicket),
|
||||
"k_EGCItemCustomizationNotification_XpShopAckTracks" => ::std::option::Option::Some(EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_XpShopAckTracks),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -1947,16 +1925,12 @@ impl ::steam_vent_proto_common::protobuf::Enum for EGCItemCustomizationNotificat
|
|||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_StatTrakSwap,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_RemovePatch,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ApplyPatch,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ApplyKeychain,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_RemoveKeychain,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ActivateFanToken,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ActivateOperationCoin,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_GraffitiUnseal,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_GenerateSouvenir,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ClientRedeemMissionReward,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_ClientRedeemFreeReward,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_XpShopUseTicket,
|
||||
EGCItemCustomizationNotification::k_EGCItemCustomizationNotification_XpShopAckTracks,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -193,26 +193,28 @@ pub struct CMsgPlaceDecalEvent {
|
|||
pub normal: ::steam_vent_proto_common::protobuf::MessageField<super::networkbasetypes::CMsgVector>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.saxis)
|
||||
pub saxis: ::steam_vent_proto_common::protobuf::MessageField<super::networkbasetypes::CMsgVector>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.boneindex)
|
||||
pub boneindex: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.triangleindex)
|
||||
pub triangleindex: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.decalmaterialindex)
|
||||
pub decalmaterialindex: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.flags)
|
||||
pub flags: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.color)
|
||||
pub color: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.random_seed)
|
||||
pub random_seed: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.decal_group_name)
|
||||
pub decal_group_name: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.size_override)
|
||||
pub size_override: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.entityhandle)
|
||||
pub entityhandle: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.material_id)
|
||||
pub material_id: ::std::option::Option<u64>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.sequence_name)
|
||||
pub sequence_name: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.width)
|
||||
pub width: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.height)
|
||||
pub height: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.depth)
|
||||
pub depth: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.entityhandleindex)
|
||||
pub entityhandleindex: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.skeletoninstancehash)
|
||||
pub skeletoninstancehash: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.boneindex)
|
||||
pub boneindex: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.translucenthit)
|
||||
pub translucenthit: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgPlaceDecalEvent.is_adjacent)
|
||||
pub is_adjacent: ::std::option::Option<bool>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgPlaceDecalEvent.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -229,42 +231,23 @@ impl CMsgPlaceDecalEvent {
|
|||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional int32 boneindex = 4;
|
||||
// optional uint32 decalmaterialindex = 4;
|
||||
|
||||
pub fn boneindex(&self) -> i32 {
|
||||
self.boneindex.unwrap_or(0)
|
||||
pub fn decalmaterialindex(&self) -> u32 {
|
||||
self.decalmaterialindex.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_boneindex(&mut self) {
|
||||
self.boneindex = ::std::option::Option::None;
|
||||
pub fn clear_decalmaterialindex(&mut self) {
|
||||
self.decalmaterialindex = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_boneindex(&self) -> bool {
|
||||
self.boneindex.is_some()
|
||||
pub fn has_decalmaterialindex(&self) -> bool {
|
||||
self.decalmaterialindex.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_boneindex(&mut self, v: i32) {
|
||||
self.boneindex = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 triangleindex = 13;
|
||||
|
||||
pub fn triangleindex(&self) -> i32 {
|
||||
self.triangleindex.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_triangleindex(&mut self) {
|
||||
self.triangleindex = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_triangleindex(&self) -> bool {
|
||||
self.triangleindex.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_triangleindex(&mut self, v: i32) {
|
||||
self.triangleindex = ::std::option::Option::Some(v);
|
||||
pub fn set_decalmaterialindex(&mut self, v: u32) {
|
||||
self.decalmaterialindex = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 flags = 5;
|
||||
|
|
@ -305,118 +288,156 @@ impl CMsgPlaceDecalEvent {
|
|||
self.color = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional int32 random_seed = 7;
|
||||
// optional float width = 7;
|
||||
|
||||
pub fn random_seed(&self) -> i32 {
|
||||
self.random_seed.unwrap_or(0)
|
||||
pub fn width(&self) -> f32 {
|
||||
self.width.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_random_seed(&mut self) {
|
||||
self.random_seed = ::std::option::Option::None;
|
||||
pub fn clear_width(&mut self) {
|
||||
self.width = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_random_seed(&self) -> bool {
|
||||
self.random_seed.is_some()
|
||||
pub fn has_width(&self) -> bool {
|
||||
self.width.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_random_seed(&mut self, v: i32) {
|
||||
self.random_seed = ::std::option::Option::Some(v);
|
||||
pub fn set_width(&mut self, v: f32) {
|
||||
self.width = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 decal_group_name = 8;
|
||||
// optional float height = 8;
|
||||
|
||||
pub fn decal_group_name(&self) -> u32 {
|
||||
self.decal_group_name.unwrap_or(0)
|
||||
pub fn height(&self) -> f32 {
|
||||
self.height.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_decal_group_name(&mut self) {
|
||||
self.decal_group_name = ::std::option::Option::None;
|
||||
pub fn clear_height(&mut self) {
|
||||
self.height = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_decal_group_name(&self) -> bool {
|
||||
self.decal_group_name.is_some()
|
||||
pub fn has_height(&self) -> bool {
|
||||
self.height.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_decal_group_name(&mut self, v: u32) {
|
||||
self.decal_group_name = ::std::option::Option::Some(v);
|
||||
pub fn set_height(&mut self, v: f32) {
|
||||
self.height = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional float size_override = 9;
|
||||
// optional float depth = 9;
|
||||
|
||||
pub fn size_override(&self) -> f32 {
|
||||
self.size_override.unwrap_or(0.)
|
||||
pub fn depth(&self) -> f32 {
|
||||
self.depth.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_size_override(&mut self) {
|
||||
self.size_override = ::std::option::Option::None;
|
||||
pub fn clear_depth(&mut self) {
|
||||
self.depth = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_size_override(&self) -> bool {
|
||||
self.size_override.is_some()
|
||||
pub fn has_depth(&self) -> bool {
|
||||
self.depth.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_size_override(&mut self, v: f32) {
|
||||
self.size_override = ::std::option::Option::Some(v);
|
||||
pub fn set_depth(&mut self, v: f32) {
|
||||
self.depth = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 entityhandle = 10;
|
||||
// optional uint32 entityhandleindex = 10;
|
||||
|
||||
pub fn entityhandle(&self) -> u32 {
|
||||
self.entityhandle.unwrap_or(16777215u32)
|
||||
pub fn entityhandleindex(&self) -> u32 {
|
||||
self.entityhandleindex.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_entityhandle(&mut self) {
|
||||
self.entityhandle = ::std::option::Option::None;
|
||||
pub fn clear_entityhandleindex(&mut self) {
|
||||
self.entityhandleindex = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_entityhandle(&self) -> bool {
|
||||
self.entityhandle.is_some()
|
||||
pub fn has_entityhandleindex(&self) -> bool {
|
||||
self.entityhandleindex.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_entityhandle(&mut self, v: u32) {
|
||||
self.entityhandle = ::std::option::Option::Some(v);
|
||||
pub fn set_entityhandleindex(&mut self, v: u32) {
|
||||
self.entityhandleindex = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint64 material_id = 11;
|
||||
// optional fixed32 skeletoninstancehash = 11;
|
||||
|
||||
pub fn material_id(&self) -> u64 {
|
||||
self.material_id.unwrap_or(0)
|
||||
pub fn skeletoninstancehash(&self) -> u32 {
|
||||
self.skeletoninstancehash.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_material_id(&mut self) {
|
||||
self.material_id = ::std::option::Option::None;
|
||||
pub fn clear_skeletoninstancehash(&mut self) {
|
||||
self.skeletoninstancehash = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_material_id(&self) -> bool {
|
||||
self.material_id.is_some()
|
||||
pub fn has_skeletoninstancehash(&self) -> bool {
|
||||
self.skeletoninstancehash.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_material_id(&mut self, v: u64) {
|
||||
self.material_id = ::std::option::Option::Some(v);
|
||||
pub fn set_skeletoninstancehash(&mut self, v: u32) {
|
||||
self.skeletoninstancehash = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 sequence_name = 12;
|
||||
// optional int32 boneindex = 12;
|
||||
|
||||
pub fn sequence_name(&self) -> u32 {
|
||||
self.sequence_name.unwrap_or(0)
|
||||
pub fn boneindex(&self) -> i32 {
|
||||
self.boneindex.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_sequence_name(&mut self) {
|
||||
self.sequence_name = ::std::option::Option::None;
|
||||
pub fn clear_boneindex(&mut self) {
|
||||
self.boneindex = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_sequence_name(&self) -> bool {
|
||||
self.sequence_name.is_some()
|
||||
pub fn has_boneindex(&self) -> bool {
|
||||
self.boneindex.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_sequence_name(&mut self, v: u32) {
|
||||
self.sequence_name = ::std::option::Option::Some(v);
|
||||
pub fn set_boneindex(&mut self, v: i32) {
|
||||
self.boneindex = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool translucenthit = 13;
|
||||
|
||||
pub fn translucenthit(&self) -> bool {
|
||||
self.translucenthit.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_translucenthit(&mut self) {
|
||||
self.translucenthit = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_translucenthit(&self) -> bool {
|
||||
self.translucenthit.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_translucenthit(&mut self, v: bool) {
|
||||
self.translucenthit = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional bool is_adjacent = 14;
|
||||
|
||||
pub fn is_adjacent(&self) -> bool {
|
||||
self.is_adjacent.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn clear_is_adjacent(&mut self) {
|
||||
self.is_adjacent = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_is_adjacent(&self) -> bool {
|
||||
self.is_adjacent.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_is_adjacent(&mut self, v: bool) {
|
||||
self.is_adjacent = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -440,10 +461,7 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgPlaceDecalEvent {
|
|||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.saxis)?;
|
||||
},
|
||||
32 => {
|
||||
self.boneindex = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
104 => {
|
||||
self.triangleindex = ::std::option::Option::Some(is.read_int32()?);
|
||||
self.decalmaterialindex = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
40 => {
|
||||
self.flags = ::std::option::Option::Some(is.read_uint32()?);
|
||||
|
|
@ -451,23 +469,29 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgPlaceDecalEvent {
|
|||
53 => {
|
||||
self.color = ::std::option::Option::Some(is.read_fixed32()?);
|
||||
},
|
||||
56 => {
|
||||
self.random_seed = ::std::option::Option::Some(is.read_int32()?);
|
||||
61 => {
|
||||
self.width = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
64 => {
|
||||
self.decal_group_name = ::std::option::Option::Some(is.read_uint32()?);
|
||||
69 => {
|
||||
self.height = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
77 => {
|
||||
self.size_override = ::std::option::Option::Some(is.read_float()?);
|
||||
self.depth = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
80 => {
|
||||
self.entityhandle = ::std::option::Option::Some(is.read_uint32()?);
|
||||
self.entityhandleindex = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
88 => {
|
||||
self.material_id = ::std::option::Option::Some(is.read_uint64()?);
|
||||
93 => {
|
||||
self.skeletoninstancehash = ::std::option::Option::Some(is.read_fixed32()?);
|
||||
},
|
||||
96 => {
|
||||
self.sequence_name = ::std::option::Option::Some(is.read_uint32()?);
|
||||
self.boneindex = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
104 => {
|
||||
self.translucenthit = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
112 => {
|
||||
self.is_adjacent = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
|
|
@ -493,11 +517,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgPlaceDecalEvent {
|
|||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.boneindex {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v);
|
||||
}
|
||||
if let Some(v) = self.triangleindex {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(13, v);
|
||||
if let Some(v) = self.decalmaterialindex {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
|
||||
}
|
||||
if let Some(v) = self.flags {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
|
||||
|
|
@ -505,23 +526,29 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgPlaceDecalEvent {
|
|||
if let Some(v) = self.color {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.random_seed {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(7, v);
|
||||
}
|
||||
if let Some(v) = self.decal_group_name {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(8, v);
|
||||
}
|
||||
if let Some(v) = self.size_override {
|
||||
if let Some(v) = self.width {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.entityhandle {
|
||||
if let Some(v) = self.height {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.depth {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.entityhandleindex {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(10, v);
|
||||
}
|
||||
if let Some(v) = self.material_id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(11, v);
|
||||
if let Some(v) = self.skeletoninstancehash {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.sequence_name {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(12, v);
|
||||
if let Some(v) = self.boneindex {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(12, v);
|
||||
}
|
||||
if let Some(v) = self.translucenthit {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.is_adjacent {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
|
|
@ -538,11 +565,8 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgPlaceDecalEvent {
|
|||
if let Some(v) = self.saxis.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.boneindex {
|
||||
os.write_int32(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.triangleindex {
|
||||
os.write_int32(13, v)?;
|
||||
if let Some(v) = self.decalmaterialindex {
|
||||
os.write_uint32(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.flags {
|
||||
os.write_uint32(5, v)?;
|
||||
|
|
@ -550,23 +574,29 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgPlaceDecalEvent {
|
|||
if let Some(v) = self.color {
|
||||
os.write_fixed32(6, v)?;
|
||||
}
|
||||
if let Some(v) = self.random_seed {
|
||||
os.write_int32(7, v)?;
|
||||
if let Some(v) = self.width {
|
||||
os.write_float(7, v)?;
|
||||
}
|
||||
if let Some(v) = self.decal_group_name {
|
||||
os.write_uint32(8, v)?;
|
||||
if let Some(v) = self.height {
|
||||
os.write_float(8, v)?;
|
||||
}
|
||||
if let Some(v) = self.size_override {
|
||||
if let Some(v) = self.depth {
|
||||
os.write_float(9, v)?;
|
||||
}
|
||||
if let Some(v) = self.entityhandle {
|
||||
if let Some(v) = self.entityhandleindex {
|
||||
os.write_uint32(10, v)?;
|
||||
}
|
||||
if let Some(v) = self.material_id {
|
||||
os.write_uint64(11, v)?;
|
||||
if let Some(v) = self.skeletoninstancehash {
|
||||
os.write_fixed32(11, v)?;
|
||||
}
|
||||
if let Some(v) = self.sequence_name {
|
||||
os.write_uint32(12, v)?;
|
||||
if let Some(v) = self.boneindex {
|
||||
os.write_int32(12, v)?;
|
||||
}
|
||||
if let Some(v) = self.translucenthit {
|
||||
os.write_bool(13, v)?;
|
||||
}
|
||||
if let Some(v) = self.is_adjacent {
|
||||
os.write_bool(14, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
|
|
@ -588,16 +618,17 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgPlaceDecalEvent {
|
|||
self.position.clear();
|
||||
self.normal.clear();
|
||||
self.saxis.clear();
|
||||
self.boneindex = ::std::option::Option::None;
|
||||
self.triangleindex = ::std::option::Option::None;
|
||||
self.decalmaterialindex = ::std::option::Option::None;
|
||||
self.flags = ::std::option::Option::None;
|
||||
self.color = ::std::option::Option::None;
|
||||
self.random_seed = ::std::option::Option::None;
|
||||
self.decal_group_name = ::std::option::Option::None;
|
||||
self.size_override = ::std::option::Option::None;
|
||||
self.entityhandle = ::std::option::Option::None;
|
||||
self.material_id = ::std::option::Option::None;
|
||||
self.sequence_name = ::std::option::Option::None;
|
||||
self.width = ::std::option::Option::None;
|
||||
self.height = ::std::option::Option::None;
|
||||
self.depth = ::std::option::Option::None;
|
||||
self.entityhandleindex = ::std::option::Option::None;
|
||||
self.skeletoninstancehash = ::std::option::Option::None;
|
||||
self.boneindex = ::std::option::Option::None;
|
||||
self.translucenthit = ::std::option::Option::None;
|
||||
self.is_adjacent = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -606,16 +637,17 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgPlaceDecalEvent {
|
|||
position: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
normal: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
saxis: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
boneindex: ::std::option::Option::None,
|
||||
triangleindex: ::std::option::Option::None,
|
||||
decalmaterialindex: ::std::option::Option::None,
|
||||
flags: ::std::option::Option::None,
|
||||
color: ::std::option::Option::None,
|
||||
random_seed: ::std::option::Option::None,
|
||||
decal_group_name: ::std::option::Option::None,
|
||||
size_override: ::std::option::Option::None,
|
||||
entityhandle: ::std::option::Option::None,
|
||||
material_id: ::std::option::Option::None,
|
||||
sequence_name: ::std::option::Option::None,
|
||||
width: ::std::option::Option::None,
|
||||
height: ::std::option::Option::None,
|
||||
depth: ::std::option::Option::None,
|
||||
entityhandleindex: ::std::option::Option::None,
|
||||
skeletoninstancehash: ::std::option::Option::None,
|
||||
boneindex: ::std::option::Option::None,
|
||||
translucenthit: ::std::option::Option::None,
|
||||
is_adjacent: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -840,27 +872,29 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClearEntityDecalsEvent
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgClearDecalsForEntityEvent)
|
||||
// @@protoc_insertion_point(message:CMsgClearDecalsForSkeletonInstanceEvent)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgClearDecalsForEntityEvent {
|
||||
pub struct CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgClearDecalsForEntityEvent.flagstoclear)
|
||||
// @@protoc_insertion_point(field:CMsgClearDecalsForSkeletonInstanceEvent.flagstoclear)
|
||||
pub flagstoclear: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgClearDecalsForEntityEvent.entityhandle)
|
||||
pub entityhandle: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgClearDecalsForSkeletonInstanceEvent.entityhandleindex)
|
||||
pub entityhandleindex: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgClearDecalsForSkeletonInstanceEvent.skeletoninstancehash)
|
||||
pub skeletoninstancehash: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgClearDecalsForEntityEvent.special_fields)
|
||||
// @@protoc_insertion_point(special_field:CMsgClearDecalsForSkeletonInstanceEvent.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgClearDecalsForEntityEvent {
|
||||
fn default() -> &'a CMsgClearDecalsForEntityEvent {
|
||||
<CMsgClearDecalsForEntityEvent as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
impl<'a> ::std::default::Default for &'a CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
fn default() -> &'a CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
<CMsgClearDecalsForSkeletonInstanceEvent as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgClearDecalsForEntityEvent {
|
||||
pub fn new() -> CMsgClearDecalsForEntityEvent {
|
||||
impl CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
pub fn new() -> CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
|
|
@ -883,28 +917,47 @@ impl CMsgClearDecalsForEntityEvent {
|
|||
self.flagstoclear = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 entityhandle = 2;
|
||||
// optional uint32 entityhandleindex = 2;
|
||||
|
||||
pub fn entityhandle(&self) -> u32 {
|
||||
self.entityhandle.unwrap_or(16777215u32)
|
||||
pub fn entityhandleindex(&self) -> u32 {
|
||||
self.entityhandleindex.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_entityhandle(&mut self) {
|
||||
self.entityhandle = ::std::option::Option::None;
|
||||
pub fn clear_entityhandleindex(&mut self) {
|
||||
self.entityhandleindex = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_entityhandle(&self) -> bool {
|
||||
self.entityhandle.is_some()
|
||||
pub fn has_entityhandleindex(&self) -> bool {
|
||||
self.entityhandleindex.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_entityhandle(&mut self, v: u32) {
|
||||
self.entityhandle = ::std::option::Option::Some(v);
|
||||
pub fn set_entityhandleindex(&mut self, v: u32) {
|
||||
self.entityhandleindex = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 skeletoninstancehash = 3;
|
||||
|
||||
pub fn skeletoninstancehash(&self) -> u32 {
|
||||
self.skeletoninstancehash.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_skeletoninstancehash(&mut self) {
|
||||
self.skeletoninstancehash = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_skeletoninstancehash(&self) -> bool {
|
||||
self.skeletoninstancehash.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_skeletoninstancehash(&mut self, v: u32) {
|
||||
self.skeletoninstancehash = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgClearDecalsForEntityEvent {
|
||||
const NAME: &'static str = "CMsgClearDecalsForEntityEvent";
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
const NAME: &'static str = "CMsgClearDecalsForSkeletonInstanceEvent";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
|
|
@ -917,7 +970,10 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClearDecalsForEntityEv
|
|||
self.flagstoclear = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
16 => {
|
||||
self.entityhandle = ::std::option::Option::Some(is.read_uint32()?);
|
||||
self.entityhandleindex = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.skeletoninstancehash = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
|
|
@ -934,9 +990,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClearDecalsForEntityEv
|
|||
if let Some(v) = self.flagstoclear {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.entityhandle {
|
||||
if let Some(v) = self.entityhandleindex {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.skeletoninstancehash {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -946,9 +1005,12 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClearDecalsForEntityEv
|
|||
if let Some(v) = self.flagstoclear {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.entityhandle {
|
||||
if let Some(v) = self.entityhandleindex {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.skeletoninstancehash {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -961,20 +1023,22 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgClearDecalsForEntityEv
|
|||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgClearDecalsForEntityEvent {
|
||||
CMsgClearDecalsForEntityEvent::new()
|
||||
fn new() -> CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
CMsgClearDecalsForSkeletonInstanceEvent::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.flagstoclear = ::std::option::Option::None;
|
||||
self.entityhandle = ::std::option::Option::None;
|
||||
self.entityhandleindex = ::std::option::Option::None;
|
||||
self.skeletoninstancehash = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgClearDecalsForEntityEvent {
|
||||
static instance: CMsgClearDecalsForEntityEvent = CMsgClearDecalsForEntityEvent {
|
||||
fn default_instance() -> &'static CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
static instance: CMsgClearDecalsForSkeletonInstanceEvent = CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
flagstoclear: ::std::option::Option::None,
|
||||
entityhandle: ::std::option::Option::None,
|
||||
entityhandleindex: ::std::option::Option::None,
|
||||
skeletoninstancehash: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -2982,8 +3046,8 @@ pub enum EBaseGameEvents {
|
|||
GE_ClearWorldDecalsEvent = 202,
|
||||
// @@protoc_insertion_point(enum_value:EBaseGameEvents.GE_ClearEntityDecalsEvent)
|
||||
GE_ClearEntityDecalsEvent = 203,
|
||||
// @@protoc_insertion_point(enum_value:EBaseGameEvents.GE_ClearDecalsForEntityEvent)
|
||||
GE_ClearDecalsForEntityEvent = 204,
|
||||
// @@protoc_insertion_point(enum_value:EBaseGameEvents.GE_ClearDecalsForSkeletonInstanceEvent)
|
||||
GE_ClearDecalsForSkeletonInstanceEvent = 204,
|
||||
// @@protoc_insertion_point(enum_value:EBaseGameEvents.GE_Source1LegacyGameEventList)
|
||||
GE_Source1LegacyGameEventList = 205,
|
||||
// @@protoc_insertion_point(enum_value:EBaseGameEvents.GE_Source1LegacyListenEvents)
|
||||
|
|
@ -3015,7 +3079,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EBaseGameEvents {
|
|||
201 => ::std::option::Option::Some(EBaseGameEvents::GE_PlaceDecalEvent),
|
||||
202 => ::std::option::Option::Some(EBaseGameEvents::GE_ClearWorldDecalsEvent),
|
||||
203 => ::std::option::Option::Some(EBaseGameEvents::GE_ClearEntityDecalsEvent),
|
||||
204 => ::std::option::Option::Some(EBaseGameEvents::GE_ClearDecalsForEntityEvent),
|
||||
204 => ::std::option::Option::Some(EBaseGameEvents::GE_ClearDecalsForSkeletonInstanceEvent),
|
||||
205 => ::std::option::Option::Some(EBaseGameEvents::GE_Source1LegacyGameEventList),
|
||||
206 => ::std::option::Option::Some(EBaseGameEvents::GE_Source1LegacyListenEvents),
|
||||
207 => ::std::option::Option::Some(EBaseGameEvents::GE_Source1LegacyGameEvent),
|
||||
|
|
@ -3034,7 +3098,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EBaseGameEvents {
|
|||
"GE_PlaceDecalEvent" => ::std::option::Option::Some(EBaseGameEvents::GE_PlaceDecalEvent),
|
||||
"GE_ClearWorldDecalsEvent" => ::std::option::Option::Some(EBaseGameEvents::GE_ClearWorldDecalsEvent),
|
||||
"GE_ClearEntityDecalsEvent" => ::std::option::Option::Some(EBaseGameEvents::GE_ClearEntityDecalsEvent),
|
||||
"GE_ClearDecalsForEntityEvent" => ::std::option::Option::Some(EBaseGameEvents::GE_ClearDecalsForEntityEvent),
|
||||
"GE_ClearDecalsForSkeletonInstanceEvent" => ::std::option::Option::Some(EBaseGameEvents::GE_ClearDecalsForSkeletonInstanceEvent),
|
||||
"GE_Source1LegacyGameEventList" => ::std::option::Option::Some(EBaseGameEvents::GE_Source1LegacyGameEventList),
|
||||
"GE_Source1LegacyListenEvents" => ::std::option::Option::Some(EBaseGameEvents::GE_Source1LegacyListenEvents),
|
||||
"GE_Source1LegacyGameEvent" => ::std::option::Option::Some(EBaseGameEvents::GE_Source1LegacyGameEvent),
|
||||
|
|
@ -3052,7 +3116,7 @@ impl ::steam_vent_proto_common::protobuf::Enum for EBaseGameEvents {
|
|||
EBaseGameEvents::GE_PlaceDecalEvent,
|
||||
EBaseGameEvents::GE_ClearWorldDecalsEvent,
|
||||
EBaseGameEvents::GE_ClearEntityDecalsEvent,
|
||||
EBaseGameEvents::GE_ClearDecalsForEntityEvent,
|
||||
EBaseGameEvents::GE_ClearDecalsForSkeletonInstanceEvent,
|
||||
EBaseGameEvents::GE_Source1LegacyGameEventList,
|
||||
EBaseGameEvents::GE_Source1LegacyListenEvents,
|
||||
EBaseGameEvents::GE_Source1LegacyGameEvent,
|
||||
|
|
@ -3129,7 +3193,7 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgClearEntityDecalsEvent {
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClearDecalsForEntityEvent {
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
// @generated
|
||||
|
||||
pub mod base_gcmessages;
|
||||
pub mod base_gcmessages_csgo;
|
||||
pub mod c_peer2peer_netmessages;
|
||||
pub mod clientmessages;
|
||||
pub mod connectionless_netmessages;
|
||||
pub mod cs_gameevents;
|
||||
pub mod cs_prediction_events;
|
||||
pub mod cs_usercmd;
|
||||
pub mod cstrike15_gcmessages;
|
||||
pub mod cstrike15_usermessages;
|
||||
|
|
@ -21,7 +21,6 @@ pub mod netmessages;
|
|||
pub mod network_connection;
|
||||
pub mod networkbasetypes;
|
||||
pub mod networksystem_protomessages;
|
||||
pub mod prediction_events;
|
||||
pub mod steamdatagram_messages_auth;
|
||||
pub mod steamdatagram_messages_sdr;
|
||||
pub mod steammessages;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -264,12 +264,6 @@ pub enum ENetworkDisconnectionReason {
|
|||
NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN = 160,
|
||||
// @@protoc_insertion_point(enum_value:ENetworkDisconnectionReason.NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET)
|
||||
NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET = 161,
|
||||
// @@protoc_insertion_point(enum_value:ENetworkDisconnectionReason.NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION)
|
||||
NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION = 162,
|
||||
// @@protoc_insertion_point(enum_value:ENetworkDisconnectionReason.NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR)
|
||||
NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR = 163,
|
||||
// @@protoc_insertion_point(enum_value:ENetworkDisconnectionReason.NETWORK_DISCONNECT_KICKED_INSECURECLIENT)
|
||||
NETWORK_DISCONNECT_KICKED_INSECURECLIENT = 164,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for ENetworkDisconnectionReason {
|
||||
|
|
@ -399,9 +393,6 @@ impl ::steam_vent_proto_common::protobuf::Enum for ENetworkDisconnectionReason {
|
|||
159 => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_SUICIDE),
|
||||
160 => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN),
|
||||
161 => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET),
|
||||
162 => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION),
|
||||
163 => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR),
|
||||
164 => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_INSECURECLIENT),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -526,9 +517,6 @@ impl ::steam_vent_proto_common::protobuf::Enum for ENetworkDisconnectionReason {
|
|||
"NETWORK_DISCONNECT_KICKED_SUICIDE" => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_SUICIDE),
|
||||
"NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN" => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN),
|
||||
"NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET" => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET),
|
||||
"NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION" => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION),
|
||||
"NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR" => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR),
|
||||
"NETWORK_DISCONNECT_KICKED_INSECURECLIENT" => ::std::option::Option::Some(ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_INSECURECLIENT),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -652,9 +640,6 @@ impl ::steam_vent_proto_common::protobuf::Enum for ENetworkDisconnectionReason {
|
|||
ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_SUICIDE,
|
||||
ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN,
|
||||
ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET,
|
||||
ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION,
|
||||
ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR,
|
||||
ENetworkDisconnectionReason::NETWORK_DISCONNECT_KICKED_INSECURECLIENT,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1946,12 +1946,18 @@ pub struct CNETMsg_Tick {
|
|||
// message fields
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.tick)
|
||||
pub tick: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.host_frametime)
|
||||
pub host_frametime: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.host_frametime_std_deviation)
|
||||
pub host_frametime_std_deviation: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.host_computationtime)
|
||||
pub host_computationtime: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.host_computationtime_std_deviation)
|
||||
pub host_computationtime_std_deviation: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.legacy_host_loss)
|
||||
pub legacy_host_loss: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.host_framestarttime_std_deviation)
|
||||
pub host_framestarttime_std_deviation: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.host_loss)
|
||||
pub host_loss: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.host_unfiltered_frametime)
|
||||
pub host_unfiltered_frametime: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.hltv_replay_flags)
|
||||
|
|
@ -1960,10 +1966,6 @@ pub struct CNETMsg_Tick {
|
|||
pub expected_long_tick: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.expected_long_tick_reason)
|
||||
pub expected_long_tick_reason: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.host_frame_dropped_pct_x10)
|
||||
pub host_frame_dropped_pct_x10: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CNETMsg_Tick.host_frame_irregular_arrival_pct_x10)
|
||||
pub host_frame_irregular_arrival_pct_x10: ::std::option::Option<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CNETMsg_Tick.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -1999,6 +2001,44 @@ impl CNETMsg_Tick {
|
|||
self.tick = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 host_frametime = 2;
|
||||
|
||||
pub fn host_frametime(&self) -> u32 {
|
||||
self.host_frametime.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_host_frametime(&mut self) {
|
||||
self.host_frametime = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_host_frametime(&self) -> bool {
|
||||
self.host_frametime.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_host_frametime(&mut self, v: u32) {
|
||||
self.host_frametime = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 host_frametime_std_deviation = 3;
|
||||
|
||||
pub fn host_frametime_std_deviation(&self) -> u32 {
|
||||
self.host_frametime_std_deviation.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_host_frametime_std_deviation(&mut self) {
|
||||
self.host_frametime_std_deviation = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_host_frametime_std_deviation(&self) -> bool {
|
||||
self.host_frametime_std_deviation.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_host_frametime_std_deviation(&mut self, v: u32) {
|
||||
self.host_frametime_std_deviation = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 host_computationtime = 4;
|
||||
|
||||
pub fn host_computationtime(&self) -> u32 {
|
||||
|
|
@ -2037,23 +2077,42 @@ impl CNETMsg_Tick {
|
|||
self.host_computationtime_std_deviation = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 legacy_host_loss = 7;
|
||||
// optional uint32 host_framestarttime_std_deviation = 6;
|
||||
|
||||
pub fn legacy_host_loss(&self) -> u32 {
|
||||
self.legacy_host_loss.unwrap_or(0)
|
||||
pub fn host_framestarttime_std_deviation(&self) -> u32 {
|
||||
self.host_framestarttime_std_deviation.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_legacy_host_loss(&mut self) {
|
||||
self.legacy_host_loss = ::std::option::Option::None;
|
||||
pub fn clear_host_framestarttime_std_deviation(&mut self) {
|
||||
self.host_framestarttime_std_deviation = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_legacy_host_loss(&self) -> bool {
|
||||
self.legacy_host_loss.is_some()
|
||||
pub fn has_host_framestarttime_std_deviation(&self) -> bool {
|
||||
self.host_framestarttime_std_deviation.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_legacy_host_loss(&mut self, v: u32) {
|
||||
self.legacy_host_loss = ::std::option::Option::Some(v);
|
||||
pub fn set_host_framestarttime_std_deviation(&mut self, v: u32) {
|
||||
self.host_framestarttime_std_deviation = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 host_loss = 7;
|
||||
|
||||
pub fn host_loss(&self) -> u32 {
|
||||
self.host_loss.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_host_loss(&mut self) {
|
||||
self.host_loss = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_host_loss(&self) -> bool {
|
||||
self.host_loss.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_host_loss(&mut self, v: u32) {
|
||||
self.host_loss = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 host_unfiltered_frametime = 8;
|
||||
|
|
@ -2148,44 +2207,6 @@ impl CNETMsg_Tick {
|
|||
pub fn take_expected_long_tick_reason(&mut self) -> ::std::string::String {
|
||||
self.expected_long_tick_reason.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional uint32 host_frame_dropped_pct_x10 = 12;
|
||||
|
||||
pub fn host_frame_dropped_pct_x10(&self) -> u32 {
|
||||
self.host_frame_dropped_pct_x10.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_host_frame_dropped_pct_x10(&mut self) {
|
||||
self.host_frame_dropped_pct_x10 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_host_frame_dropped_pct_x10(&self) -> bool {
|
||||
self.host_frame_dropped_pct_x10.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_host_frame_dropped_pct_x10(&mut self, v: u32) {
|
||||
self.host_frame_dropped_pct_x10 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 host_frame_irregular_arrival_pct_x10 = 13;
|
||||
|
||||
pub fn host_frame_irregular_arrival_pct_x10(&self) -> u32 {
|
||||
self.host_frame_irregular_arrival_pct_x10.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_host_frame_irregular_arrival_pct_x10(&mut self) {
|
||||
self.host_frame_irregular_arrival_pct_x10 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_host_frame_irregular_arrival_pct_x10(&self) -> bool {
|
||||
self.host_frame_irregular_arrival_pct_x10.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_host_frame_irregular_arrival_pct_x10(&mut self, v: u32) {
|
||||
self.host_frame_irregular_arrival_pct_x10 = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CNETMsg_Tick {
|
||||
|
|
@ -2201,14 +2222,23 @@ impl ::steam_vent_proto_common::protobuf::Message for CNETMsg_Tick {
|
|||
8 => {
|
||||
self.tick = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
16 => {
|
||||
self.host_frametime = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.host_frametime_std_deviation = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
32 => {
|
||||
self.host_computationtime = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
40 => {
|
||||
self.host_computationtime_std_deviation = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
48 => {
|
||||
self.host_framestarttime_std_deviation = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
56 => {
|
||||
self.legacy_host_loss = ::std::option::Option::Some(is.read_uint32()?);
|
||||
self.host_loss = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
64 => {
|
||||
self.host_unfiltered_frametime = ::std::option::Option::Some(is.read_uint32()?);
|
||||
|
|
@ -2222,12 +2252,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CNETMsg_Tick {
|
|||
90 => {
|
||||
self.expected_long_tick_reason = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
96 => {
|
||||
self.host_frame_dropped_pct_x10 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
104 => {
|
||||
self.host_frame_irregular_arrival_pct_x10 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -2243,13 +2267,22 @@ impl ::steam_vent_proto_common::protobuf::Message for CNETMsg_Tick {
|
|||
if let Some(v) = self.tick {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.host_frametime {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.host_frametime_std_deviation {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
if let Some(v) = self.host_computationtime {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
|
||||
}
|
||||
if let Some(v) = self.host_computationtime_std_deviation {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
|
||||
}
|
||||
if let Some(v) = self.legacy_host_loss {
|
||||
if let Some(v) = self.host_framestarttime_std_deviation {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
|
||||
}
|
||||
if let Some(v) = self.host_loss {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
|
||||
}
|
||||
if let Some(v) = self.host_unfiltered_frametime {
|
||||
|
|
@ -2264,12 +2297,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CNETMsg_Tick {
|
|||
if let Some(v) = self.expected_long_tick_reason.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(11, &v);
|
||||
}
|
||||
if let Some(v) = self.host_frame_dropped_pct_x10 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(12, v);
|
||||
}
|
||||
if let Some(v) = self.host_frame_irregular_arrival_pct_x10 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(13, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -2279,13 +2306,22 @@ impl ::steam_vent_proto_common::protobuf::Message for CNETMsg_Tick {
|
|||
if let Some(v) = self.tick {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.host_frametime {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.host_frametime_std_deviation {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
if let Some(v) = self.host_computationtime {
|
||||
os.write_uint32(4, v)?;
|
||||
}
|
||||
if let Some(v) = self.host_computationtime_std_deviation {
|
||||
os.write_uint32(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.legacy_host_loss {
|
||||
if let Some(v) = self.host_framestarttime_std_deviation {
|
||||
os.write_uint32(6, v)?;
|
||||
}
|
||||
if let Some(v) = self.host_loss {
|
||||
os.write_uint32(7, v)?;
|
||||
}
|
||||
if let Some(v) = self.host_unfiltered_frametime {
|
||||
|
|
@ -2300,12 +2336,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CNETMsg_Tick {
|
|||
if let Some(v) = self.expected_long_tick_reason.as_ref() {
|
||||
os.write_string(11, v)?;
|
||||
}
|
||||
if let Some(v) = self.host_frame_dropped_pct_x10 {
|
||||
os.write_uint32(12, v)?;
|
||||
}
|
||||
if let Some(v) = self.host_frame_irregular_arrival_pct_x10 {
|
||||
os.write_uint32(13, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -2324,30 +2354,32 @@ impl ::steam_vent_proto_common::protobuf::Message for CNETMsg_Tick {
|
|||
|
||||
fn clear(&mut self) {
|
||||
self.tick = ::std::option::Option::None;
|
||||
self.host_frametime = ::std::option::Option::None;
|
||||
self.host_frametime_std_deviation = ::std::option::Option::None;
|
||||
self.host_computationtime = ::std::option::Option::None;
|
||||
self.host_computationtime_std_deviation = ::std::option::Option::None;
|
||||
self.legacy_host_loss = ::std::option::Option::None;
|
||||
self.host_framestarttime_std_deviation = ::std::option::Option::None;
|
||||
self.host_loss = ::std::option::Option::None;
|
||||
self.host_unfiltered_frametime = ::std::option::Option::None;
|
||||
self.hltv_replay_flags = ::std::option::Option::None;
|
||||
self.expected_long_tick = ::std::option::Option::None;
|
||||
self.expected_long_tick_reason = ::std::option::Option::None;
|
||||
self.host_frame_dropped_pct_x10 = ::std::option::Option::None;
|
||||
self.host_frame_irregular_arrival_pct_x10 = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CNETMsg_Tick {
|
||||
static instance: CNETMsg_Tick = CNETMsg_Tick {
|
||||
tick: ::std::option::Option::None,
|
||||
host_frametime: ::std::option::Option::None,
|
||||
host_frametime_std_deviation: ::std::option::Option::None,
|
||||
host_computationtime: ::std::option::Option::None,
|
||||
host_computationtime_std_deviation: ::std::option::Option::None,
|
||||
legacy_host_loss: ::std::option::Option::None,
|
||||
host_framestarttime_std_deviation: ::std::option::Option::None,
|
||||
host_loss: ::std::option::Option::None,
|
||||
host_unfiltered_frametime: ::std::option::Option::None,
|
||||
hltv_replay_flags: ::std::option::Option::None,
|
||||
expected_long_tick: ::std::option::Option::None,
|
||||
expected_long_tick_reason: ::std::option::Option::None,
|
||||
host_frame_dropped_pct_x10: ::std::option::Option::None,
|
||||
host_frame_irregular_arrival_pct_x10: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -6374,8 +6406,6 @@ impl ::std::default::Default for SpawnGroupFlags_t {
|
|||
}
|
||||
|
||||
|
||||
// Extension generation with lite runtime is not supported
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
|
|
|
|||
|
|
@ -140,8 +140,6 @@ pub struct NetMessageConnectionClosed {
|
|||
// message fields
|
||||
// @@protoc_insertion_point(field:NetMessageConnectionClosed.reason)
|
||||
pub reason: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:NetMessageConnectionClosed.message)
|
||||
pub message: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:NetMessageConnectionClosed.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -176,42 +174,6 @@ impl NetMessageConnectionClosed {
|
|||
pub fn set_reason(&mut self, v: u32) {
|
||||
self.reason = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string message = 2;
|
||||
|
||||
pub fn message(&self) -> &str {
|
||||
match self.message.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_message(&mut self) {
|
||||
self.message = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_message(&self) -> bool {
|
||||
self.message.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_message(&mut self, v: ::std::string::String) {
|
||||
self.message = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_message(&mut self) -> &mut ::std::string::String {
|
||||
if self.message.is_none() {
|
||||
self.message = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.message.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_message(&mut self) -> ::std::string::String {
|
||||
self.message.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for NetMessageConnectionClosed {
|
||||
|
|
@ -227,9 +189,6 @@ impl ::steam_vent_proto_common::protobuf::Message for NetMessageConnectionClosed
|
|||
8 => {
|
||||
self.reason = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
18 => {
|
||||
self.message = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -245,9 +204,6 @@ impl ::steam_vent_proto_common::protobuf::Message for NetMessageConnectionClosed
|
|||
if let Some(v) = self.reason {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.message.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -257,9 +213,6 @@ impl ::steam_vent_proto_common::protobuf::Message for NetMessageConnectionClosed
|
|||
if let Some(v) = self.reason {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.message.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -278,14 +231,12 @@ impl ::steam_vent_proto_common::protobuf::Message for NetMessageConnectionClosed
|
|||
|
||||
fn clear(&mut self) {
|
||||
self.reason = ::std::option::Option::None;
|
||||
self.message = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static NetMessageConnectionClosed {
|
||||
static instance: NetMessageConnectionClosed = NetMessageConnectionClosed {
|
||||
reason: ::std::option::Option::None,
|
||||
message: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -298,8 +249,6 @@ pub struct NetMessageConnectionCrashed {
|
|||
// message fields
|
||||
// @@protoc_insertion_point(field:NetMessageConnectionCrashed.reason)
|
||||
pub reason: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:NetMessageConnectionCrashed.message)
|
||||
pub message: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:NetMessageConnectionCrashed.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -334,42 +283,6 @@ impl NetMessageConnectionCrashed {
|
|||
pub fn set_reason(&mut self, v: u32) {
|
||||
self.reason = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional string message = 2;
|
||||
|
||||
pub fn message(&self) -> &str {
|
||||
match self.message.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_message(&mut self) {
|
||||
self.message = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_message(&self) -> bool {
|
||||
self.message.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_message(&mut self, v: ::std::string::String) {
|
||||
self.message = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_message(&mut self) -> &mut ::std::string::String {
|
||||
if self.message.is_none() {
|
||||
self.message = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.message.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_message(&mut self) -> ::std::string::String {
|
||||
self.message.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for NetMessageConnectionCrashed {
|
||||
|
|
@ -385,9 +298,6 @@ impl ::steam_vent_proto_common::protobuf::Message for NetMessageConnectionCrashe
|
|||
8 => {
|
||||
self.reason = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
18 => {
|
||||
self.message = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -403,9 +313,6 @@ impl ::steam_vent_proto_common::protobuf::Message for NetMessageConnectionCrashe
|
|||
if let Some(v) = self.reason {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.message.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -415,9 +322,6 @@ impl ::steam_vent_proto_common::protobuf::Message for NetMessageConnectionCrashe
|
|||
if let Some(v) = self.reason {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.message.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -436,14 +340,12 @@ impl ::steam_vent_proto_common::protobuf::Message for NetMessageConnectionCrashe
|
|||
|
||||
fn clear(&mut self) {
|
||||
self.reason = ::std::option::Option::None;
|
||||
self.message = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static NetMessageConnectionCrashed {
|
||||
static instance: NetMessageConnectionCrashed = NetMessageConnectionCrashed {
|
||||
reason: ::std::option::Option::None,
|
||||
message: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
|
|||
|
|
@ -1,574 +0,0 @@
|
|||
// This file is generated by rust-protobuf 3.5.1. Do not edit
|
||||
// .proto file is parsed by pure
|
||||
// @generated
|
||||
|
||||
// https://github.com/rust-lang/rust-clippy/issues/702
|
||||
#![allow(unknown_lints)]
|
||||
#![allow(clippy::all)]
|
||||
|
||||
#![allow(unused_attributes)]
|
||||
#![cfg_attr(rustfmt, rustfmt::skip)]
|
||||
|
||||
#![allow(dead_code)]
|
||||
#![allow(missing_docs)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(trivial_casts)]
|
||||
#![allow(unused_results)]
|
||||
#![allow(unused_mut)]
|
||||
|
||||
//! Generated file from `prediction_events.proto`
|
||||
// Generated for lite runtime
|
||||
|
||||
/// Generated files are compatible only with the same version
|
||||
/// of protobuf runtime.
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
|
||||
|
||||
// @@protoc_insertion_point(message:CPredictionEvent_Teleport)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CPredictionEvent_Teleport {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CPredictionEvent_Teleport.origin)
|
||||
pub origin: ::steam_vent_proto_common::protobuf::MessageField<super::networkbasetypes::CMsgVector>,
|
||||
// @@protoc_insertion_point(field:CPredictionEvent_Teleport.angles)
|
||||
pub angles: ::steam_vent_proto_common::protobuf::MessageField<super::networkbasetypes::CMsgQAngle>,
|
||||
// @@protoc_insertion_point(field:CPredictionEvent_Teleport.drop_to_ground_range)
|
||||
pub drop_to_ground_range: ::std::option::Option<f32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CPredictionEvent_Teleport.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CPredictionEvent_Teleport {
|
||||
fn default() -> &'a CPredictionEvent_Teleport {
|
||||
<CPredictionEvent_Teleport as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CPredictionEvent_Teleport {
|
||||
pub fn new() -> CPredictionEvent_Teleport {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional float drop_to_ground_range = 3;
|
||||
|
||||
pub fn drop_to_ground_range(&self) -> f32 {
|
||||
self.drop_to_ground_range.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_drop_to_ground_range(&mut self) {
|
||||
self.drop_to_ground_range = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_drop_to_ground_range(&self) -> bool {
|
||||
self.drop_to_ground_range.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_drop_to_ground_range(&mut self, v: f32) {
|
||||
self.drop_to_ground_range = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CPredictionEvent_Teleport {
|
||||
const NAME: &'static str = "CPredictionEvent_Teleport";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.origin)?;
|
||||
},
|
||||
18 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.angles)?;
|
||||
},
|
||||
29 => {
|
||||
self.drop_to_ground_range = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.origin.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.angles.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
if let Some(v) = self.drop_to_ground_range {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.origin.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.angles.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
|
||||
}
|
||||
if let Some(v) = self.drop_to_ground_range {
|
||||
os.write_float(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CPredictionEvent_Teleport {
|
||||
CPredictionEvent_Teleport::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.origin.clear();
|
||||
self.angles.clear();
|
||||
self.drop_to_ground_range = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CPredictionEvent_Teleport {
|
||||
static instance: CPredictionEvent_Teleport = CPredictionEvent_Teleport {
|
||||
origin: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
angles: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
drop_to_ground_range: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CPredictionEvent_StringCommand)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CPredictionEvent_StringCommand {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CPredictionEvent_StringCommand.command)
|
||||
pub command: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CPredictionEvent_StringCommand.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CPredictionEvent_StringCommand {
|
||||
fn default() -> &'a CPredictionEvent_StringCommand {
|
||||
<CPredictionEvent_StringCommand as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CPredictionEvent_StringCommand {
|
||||
pub fn new() -> CPredictionEvent_StringCommand {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string command = 1;
|
||||
|
||||
pub fn command(&self) -> &str {
|
||||
match self.command.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_command(&mut self) {
|
||||
self.command = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_command(&self) -> bool {
|
||||
self.command.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_command(&mut self, v: ::std::string::String) {
|
||||
self.command = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_command(&mut self) -> &mut ::std::string::String {
|
||||
if self.command.is_none() {
|
||||
self.command = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.command.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_command(&mut self) -> ::std::string::String {
|
||||
self.command.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CPredictionEvent_StringCommand {
|
||||
const NAME: &'static str = "CPredictionEvent_StringCommand";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.command = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.command.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.command.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CPredictionEvent_StringCommand {
|
||||
CPredictionEvent_StringCommand::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.command = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CPredictionEvent_StringCommand {
|
||||
static instance: CPredictionEvent_StringCommand = CPredictionEvent_StringCommand {
|
||||
command: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CPredictionEvent_Diagnostic)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CPredictionEvent_Diagnostic {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CPredictionEvent_Diagnostic.id)
|
||||
pub id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CPredictionEvent_Diagnostic.requested_sync)
|
||||
pub requested_sync: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CPredictionEvent_Diagnostic.requested_player_index)
|
||||
pub requested_player_index: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CPredictionEvent_Diagnostic.execution_sync)
|
||||
pub execution_sync: ::std::vec::Vec<u32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CPredictionEvent_Diagnostic.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CPredictionEvent_Diagnostic {
|
||||
fn default() -> &'a CPredictionEvent_Diagnostic {
|
||||
<CPredictionEvent_Diagnostic as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CPredictionEvent_Diagnostic {
|
||||
pub fn new() -> CPredictionEvent_Diagnostic {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional uint32 id = 1;
|
||||
|
||||
pub fn id(&self) -> u32 {
|
||||
self.id.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_id(&mut self) {
|
||||
self.id = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_id(&self) -> bool {
|
||||
self.id.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_id(&mut self, v: u32) {
|
||||
self.id = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 requested_sync = 2;
|
||||
|
||||
pub fn requested_sync(&self) -> u32 {
|
||||
self.requested_sync.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_requested_sync(&mut self) {
|
||||
self.requested_sync = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_requested_sync(&self) -> bool {
|
||||
self.requested_sync.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_requested_sync(&mut self, v: u32) {
|
||||
self.requested_sync = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 requested_player_index = 3;
|
||||
|
||||
pub fn requested_player_index(&self) -> u32 {
|
||||
self.requested_player_index.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_requested_player_index(&mut self) {
|
||||
self.requested_player_index = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_requested_player_index(&self) -> bool {
|
||||
self.requested_player_index.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_requested_player_index(&mut self, v: u32) {
|
||||
self.requested_player_index = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CPredictionEvent_Diagnostic {
|
||||
const NAME: &'static str = "CPredictionEvent_Diagnostic";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
8 => {
|
||||
self.id = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
16 => {
|
||||
self.requested_sync = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
24 => {
|
||||
self.requested_player_index = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
34 => {
|
||||
is.read_repeated_packed_uint32_into(&mut self.execution_sync)?;
|
||||
},
|
||||
32 => {
|
||||
self.execution_sync.push(is.read_uint32()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.id {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||
}
|
||||
if let Some(v) = self.requested_sync {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.requested_player_index {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||
}
|
||||
for value in &self.execution_sync {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, *value);
|
||||
};
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.id {
|
||||
os.write_uint32(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.requested_sync {
|
||||
os.write_uint32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.requested_player_index {
|
||||
os.write_uint32(3, v)?;
|
||||
}
|
||||
for v in &self.execution_sync {
|
||||
os.write_uint32(4, *v)?;
|
||||
};
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CPredictionEvent_Diagnostic {
|
||||
CPredictionEvent_Diagnostic::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.id = ::std::option::Option::None;
|
||||
self.requested_sync = ::std::option::Option::None;
|
||||
self.requested_player_index = ::std::option::Option::None;
|
||||
self.execution_sync.clear();
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CPredictionEvent_Diagnostic {
|
||||
static instance: CPredictionEvent_Diagnostic = CPredictionEvent_Diagnostic {
|
||||
id: ::std::option::Option::None,
|
||||
requested_sync: ::std::option::Option::None,
|
||||
requested_player_index: ::std::option::Option::None,
|
||||
execution_sync: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:EBasePredictionEvents)
|
||||
pub enum EBasePredictionEvents {
|
||||
// @@protoc_insertion_point(enum_value:EBasePredictionEvents.BPE_StringCommand)
|
||||
BPE_StringCommand = 128,
|
||||
// @@protoc_insertion_point(enum_value:EBasePredictionEvents.BPE_Teleport)
|
||||
BPE_Teleport = 130,
|
||||
// @@protoc_insertion_point(enum_value:EBasePredictionEvents.BPE_Diagnostic)
|
||||
BPE_Diagnostic = 16384,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EBasePredictionEvents {
|
||||
const NAME: &'static str = "EBasePredictionEvents";
|
||||
|
||||
fn value(&self) -> i32 {
|
||||
*self as i32
|
||||
}
|
||||
|
||||
fn from_i32(value: i32) -> ::std::option::Option<EBasePredictionEvents> {
|
||||
match value {
|
||||
128 => ::std::option::Option::Some(EBasePredictionEvents::BPE_StringCommand),
|
||||
130 => ::std::option::Option::Some(EBasePredictionEvents::BPE_Teleport),
|
||||
16384 => ::std::option::Option::Some(EBasePredictionEvents::BPE_Diagnostic),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
fn from_str(str: &str) -> ::std::option::Option<EBasePredictionEvents> {
|
||||
match str {
|
||||
"BPE_StringCommand" => ::std::option::Option::Some(EBasePredictionEvents::BPE_StringCommand),
|
||||
"BPE_Teleport" => ::std::option::Option::Some(EBasePredictionEvents::BPE_Teleport),
|
||||
"BPE_Diagnostic" => ::std::option::Option::Some(EBasePredictionEvents::BPE_Diagnostic),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [EBasePredictionEvents] = &[
|
||||
EBasePredictionEvents::BPE_StringCommand,
|
||||
EBasePredictionEvents::BPE_Teleport,
|
||||
EBasePredictionEvents::BPE_Diagnostic,
|
||||
];
|
||||
}
|
||||
|
||||
// Note, `Default` is implemented although default value is not 0
|
||||
impl ::std::default::Default for EBasePredictionEvents {
|
||||
fn default() -> Self {
|
||||
EBasePredictionEvents::BPE_StringCommand
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use crate::networkbasetypes::*;
|
||||
impl ::steam_vent_proto_common::RpcMessage for CPredictionEvent_Teleport {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CPredictionEvent_StringCommand {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CPredictionEvent_Diagnostic {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
|
|
@ -447,14 +447,6 @@ pub struct CMsgSteamDatagramRouterPingReply {
|
|||
pub seconds_until_shutdown: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.client_cookie)
|
||||
pub client_cookie: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.recv_tos)
|
||||
pub recv_tos: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.echo_sent_tos)
|
||||
pub echo_sent_tos: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.sent_tos)
|
||||
pub sent_tos: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.echo_request_reply_tos)
|
||||
pub echo_request_reply_tos: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.scoring_penalty_relay_cluster)
|
||||
pub scoring_penalty_relay_cluster: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.flags)
|
||||
|
|
@ -465,8 +457,6 @@ pub struct CMsgSteamDatagramRouterPingReply {
|
|||
pub alt_addresses: ::std::vec::Vec<cmsg_steam_datagram_router_ping_reply::AltAddress>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.dummy_pad)
|
||||
pub dummy_pad: ::std::option::Option<::std::vec::Vec<u8>>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramRouterPingReply.dummy_varint)
|
||||
pub dummy_varint: ::std::option::Option<u64>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgSteamDatagramRouterPingReply.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -616,82 +606,6 @@ impl CMsgSteamDatagramRouterPingReply {
|
|||
self.client_cookie = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 recv_tos = 16;
|
||||
|
||||
pub fn recv_tos(&self) -> u32 {
|
||||
self.recv_tos.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_recv_tos(&mut self) {
|
||||
self.recv_tos = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_recv_tos(&self) -> bool {
|
||||
self.recv_tos.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_recv_tos(&mut self, v: u32) {
|
||||
self.recv_tos = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 echo_sent_tos = 17;
|
||||
|
||||
pub fn echo_sent_tos(&self) -> u32 {
|
||||
self.echo_sent_tos.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_echo_sent_tos(&mut self) {
|
||||
self.echo_sent_tos = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_echo_sent_tos(&self) -> bool {
|
||||
self.echo_sent_tos.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_echo_sent_tos(&mut self, v: u32) {
|
||||
self.echo_sent_tos = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 sent_tos = 18;
|
||||
|
||||
pub fn sent_tos(&self) -> u32 {
|
||||
self.sent_tos.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_sent_tos(&mut self) {
|
||||
self.sent_tos = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_sent_tos(&self) -> bool {
|
||||
self.sent_tos.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_sent_tos(&mut self, v: u32) {
|
||||
self.sent_tos = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 echo_request_reply_tos = 19;
|
||||
|
||||
pub fn echo_request_reply_tos(&self) -> u32 {
|
||||
self.echo_request_reply_tos.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_echo_request_reply_tos(&mut self) {
|
||||
self.echo_request_reply_tos = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_echo_request_reply_tos(&self) -> bool {
|
||||
self.echo_request_reply_tos.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_echo_request_reply_tos(&mut self, v: u32) {
|
||||
self.echo_request_reply_tos = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 scoring_penalty_relay_cluster = 9;
|
||||
|
||||
pub fn scoring_penalty_relay_cluster(&self) -> u32 {
|
||||
|
|
@ -765,25 +679,6 @@ impl CMsgSteamDatagramRouterPingReply {
|
|||
pub fn take_dummy_pad(&mut self) -> ::std::vec::Vec<u8> {
|
||||
self.dummy_pad.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
||||
}
|
||||
|
||||
// optional uint64 dummy_varint = 100;
|
||||
|
||||
pub fn dummy_varint(&self) -> u64 {
|
||||
self.dummy_varint.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_dummy_varint(&mut self) {
|
||||
self.dummy_varint = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_dummy_varint(&self) -> bool {
|
||||
self.dummy_varint.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_dummy_varint(&mut self, v: u64) {
|
||||
self.dummy_varint = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPingReply {
|
||||
|
|
@ -841,18 +736,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
69 => {
|
||||
self.client_cookie = ::std::option::Option::Some(is.read_fixed32()?);
|
||||
},
|
||||
128 => {
|
||||
self.recv_tos = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
136 => {
|
||||
self.echo_sent_tos = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
144 => {
|
||||
self.sent_tos = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
152 => {
|
||||
self.echo_request_reply_tos = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
72 => {
|
||||
self.scoring_penalty_relay_cluster = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
|
|
@ -868,9 +751,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
794 => {
|
||||
self.dummy_pad = ::std::option::Option::Some(is.read_bytes()?);
|
||||
},
|
||||
800 => {
|
||||
self.dummy_varint = ::std::option::Option::Some(is.read_uint64()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -908,18 +788,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
if let Some(v) = self.client_cookie {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.recv_tos {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(16, v);
|
||||
}
|
||||
if let Some(v) = self.echo_sent_tos {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(17, v);
|
||||
}
|
||||
if let Some(v) = self.sent_tos {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(18, v);
|
||||
}
|
||||
if let Some(v) = self.echo_request_reply_tos {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(19, v);
|
||||
}
|
||||
if let Some(v) = self.scoring_penalty_relay_cluster {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(9, v);
|
||||
}
|
||||
|
|
@ -937,9 +805,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
if let Some(v) = self.dummy_pad.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(99, &v);
|
||||
}
|
||||
if let Some(v) = self.dummy_varint {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(100, v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -971,18 +836,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
if let Some(v) = self.client_cookie {
|
||||
os.write_fixed32(8, v)?;
|
||||
}
|
||||
if let Some(v) = self.recv_tos {
|
||||
os.write_uint32(16, v)?;
|
||||
}
|
||||
if let Some(v) = self.echo_sent_tos {
|
||||
os.write_uint32(17, v)?;
|
||||
}
|
||||
if let Some(v) = self.sent_tos {
|
||||
os.write_uint32(18, v)?;
|
||||
}
|
||||
if let Some(v) = self.echo_request_reply_tos {
|
||||
os.write_uint32(19, v)?;
|
||||
}
|
||||
if let Some(v) = self.scoring_penalty_relay_cluster {
|
||||
os.write_uint32(9, v)?;
|
||||
}
|
||||
|
|
@ -998,9 +851,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
if let Some(v) = self.dummy_pad.as_ref() {
|
||||
os.write_bytes(99, v)?;
|
||||
}
|
||||
if let Some(v) = self.dummy_varint {
|
||||
os.write_uint64(100, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -1029,16 +879,11 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
self.challenge = ::std::option::Option::None;
|
||||
self.seconds_until_shutdown = ::std::option::Option::None;
|
||||
self.client_cookie = ::std::option::Option::None;
|
||||
self.recv_tos = ::std::option::Option::None;
|
||||
self.echo_sent_tos = ::std::option::Option::None;
|
||||
self.sent_tos = ::std::option::Option::None;
|
||||
self.echo_request_reply_tos = ::std::option::Option::None;
|
||||
self.scoring_penalty_relay_cluster = ::std::option::Option::None;
|
||||
self.flags = ::std::option::Option::None;
|
||||
self.route_exceptions.clear();
|
||||
self.alt_addresses.clear();
|
||||
self.dummy_pad = ::std::option::Option::None;
|
||||
self.dummy_varint = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -1055,16 +900,11 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramRouterPin
|
|||
challenge: ::std::option::Option::None,
|
||||
seconds_until_shutdown: ::std::option::Option::None,
|
||||
client_cookie: ::std::option::Option::None,
|
||||
recv_tos: ::std::option::Option::None,
|
||||
echo_sent_tos: ::std::option::Option::None,
|
||||
sent_tos: ::std::option::Option::None,
|
||||
echo_request_reply_tos: ::std::option::Option::None,
|
||||
scoring_penalty_relay_cluster: ::std::option::Option::None,
|
||||
flags: ::std::option::Option::None,
|
||||
route_exceptions: ::std::vec::Vec::new(),
|
||||
alt_addresses: ::std::vec::Vec::new(),
|
||||
dummy_pad: ::std::option::Option::None,
|
||||
dummy_varint: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -1510,6 +1350,8 @@ pub mod cmsg_steam_datagram_router_ping_reply {
|
|||
pub enum Protocol {
|
||||
// @@protoc_insertion_point(enum_value:CMsgSteamDatagramRouterPingReply.AltAddress.Protocol.DefaultProtocol)
|
||||
DefaultProtocol = 0,
|
||||
// @@protoc_insertion_point(enum_value:CMsgSteamDatagramRouterPingReply.AltAddress.Protocol.NetworkNext)
|
||||
NetworkNext = 1,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for Protocol {
|
||||
|
|
@ -1522,6 +1364,7 @@ pub mod cmsg_steam_datagram_router_ping_reply {
|
|||
fn from_i32(value: i32) -> ::std::option::Option<Protocol> {
|
||||
match value {
|
||||
0 => ::std::option::Option::Some(Protocol::DefaultProtocol),
|
||||
1 => ::std::option::Option::Some(Protocol::NetworkNext),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
|
@ -1529,12 +1372,14 @@ pub mod cmsg_steam_datagram_router_ping_reply {
|
|||
fn from_str(str: &str) -> ::std::option::Option<Protocol> {
|
||||
match str {
|
||||
"DefaultProtocol" => ::std::option::Option::Some(Protocol::DefaultProtocol),
|
||||
"NetworkNext" => ::std::option::Option::Some(Protocol::NetworkNext),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [Protocol] = &[
|
||||
Protocol::DefaultProtocol,
|
||||
Protocol::NetworkNext,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -3227,230 +3072,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramNoSession
|
|||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgTOSTreatment)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgTOSTreatment {
|
||||
// message fields
|
||||
// @@protoc_insertion_point(field:CMsgTOSTreatment.l4s_detect)
|
||||
pub l4s_detect: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgTOSTreatment.up_ecn1)
|
||||
pub up_ecn1: ::std::option::Option<::std::string::String>,
|
||||
// @@protoc_insertion_point(field:CMsgTOSTreatment.down_dscp45)
|
||||
pub down_dscp45: ::std::option::Option<::std::string::String>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CMsgTOSTreatment.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
}
|
||||
|
||||
impl<'a> ::std::default::Default for &'a CMsgTOSTreatment {
|
||||
fn default() -> &'a CMsgTOSTreatment {
|
||||
<CMsgTOSTreatment as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||
}
|
||||
}
|
||||
|
||||
impl CMsgTOSTreatment {
|
||||
pub fn new() -> CMsgTOSTreatment {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
// optional string l4s_detect = 1;
|
||||
|
||||
pub fn l4s_detect(&self) -> &str {
|
||||
match self.l4s_detect.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_l4s_detect(&mut self) {
|
||||
self.l4s_detect = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_l4s_detect(&self) -> bool {
|
||||
self.l4s_detect.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_l4s_detect(&mut self, v: ::std::string::String) {
|
||||
self.l4s_detect = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_l4s_detect(&mut self) -> &mut ::std::string::String {
|
||||
if self.l4s_detect.is_none() {
|
||||
self.l4s_detect = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.l4s_detect.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_l4s_detect(&mut self) -> ::std::string::String {
|
||||
self.l4s_detect.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string up_ecn1 = 2;
|
||||
|
||||
pub fn up_ecn1(&self) -> &str {
|
||||
match self.up_ecn1.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_up_ecn1(&mut self) {
|
||||
self.up_ecn1 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_up_ecn1(&self) -> bool {
|
||||
self.up_ecn1.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_up_ecn1(&mut self, v: ::std::string::String) {
|
||||
self.up_ecn1 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_up_ecn1(&mut self) -> &mut ::std::string::String {
|
||||
if self.up_ecn1.is_none() {
|
||||
self.up_ecn1 = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.up_ecn1.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_up_ecn1(&mut self) -> ::std::string::String {
|
||||
self.up_ecn1.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
|
||||
// optional string down_dscp45 = 3;
|
||||
|
||||
pub fn down_dscp45(&self) -> &str {
|
||||
match self.down_dscp45.as_ref() {
|
||||
Some(v) => v,
|
||||
None => "",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clear_down_dscp45(&mut self) {
|
||||
self.down_dscp45 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_down_dscp45(&self) -> bool {
|
||||
self.down_dscp45.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_down_dscp45(&mut self, v: ::std::string::String) {
|
||||
self.down_dscp45 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// Mutable pointer to the field.
|
||||
// If field is not initialized, it is initialized with default value first.
|
||||
pub fn mut_down_dscp45(&mut self) -> &mut ::std::string::String {
|
||||
if self.down_dscp45.is_none() {
|
||||
self.down_dscp45 = ::std::option::Option::Some(::std::string::String::new());
|
||||
}
|
||||
self.down_dscp45.as_mut().unwrap()
|
||||
}
|
||||
|
||||
// Take field
|
||||
pub fn take_down_dscp45(&mut self) -> ::std::string::String {
|
||||
self.down_dscp45.take().unwrap_or_else(|| ::std::string::String::new())
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CMsgTOSTreatment {
|
||||
const NAME: &'static str = "CMsgTOSTreatment";
|
||||
|
||||
fn is_initialized(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||
match tag {
|
||||
10 => {
|
||||
self.l4s_detect = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
18 => {
|
||||
self.up_ecn1 = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
26 => {
|
||||
self.down_dscp45 = ::std::option::Option::Some(is.read_string()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
};
|
||||
}
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
// Compute sizes of nested messages
|
||||
#[allow(unused_variables)]
|
||||
fn compute_size(&self) -> u64 {
|
||||
let mut my_size = 0;
|
||||
if let Some(v) = self.l4s_detect.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||
}
|
||||
if let Some(v) = self.up_ecn1.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||
}
|
||||
if let Some(v) = self.down_dscp45.as_ref() {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
}
|
||||
|
||||
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
if let Some(v) = self.l4s_detect.as_ref() {
|
||||
os.write_string(1, v)?;
|
||||
}
|
||||
if let Some(v) = self.up_ecn1.as_ref() {
|
||||
os.write_string(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.down_dscp45.as_ref() {
|
||||
os.write_string(3, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
||||
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&self.special_fields
|
||||
}
|
||||
|
||||
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||
&mut self.special_fields
|
||||
}
|
||||
|
||||
fn new() -> CMsgTOSTreatment {
|
||||
CMsgTOSTreatment::new()
|
||||
}
|
||||
|
||||
fn clear(&mut self) {
|
||||
self.l4s_detect = ::std::option::Option::None;
|
||||
self.up_ecn1 = ::std::option::Option::None;
|
||||
self.down_dscp45 = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static CMsgTOSTreatment {
|
||||
static instance: CMsgTOSTreatment = CMsgTOSTreatment {
|
||||
l4s_detect: ::std::option::Option::None,
|
||||
up_ecn1: ::std::option::Option::None,
|
||||
down_dscp45: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
}
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(message:CMsgSteamDatagramClientPingSampleRequest)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
pub struct CMsgSteamDatagramClientPingSampleRequest {
|
||||
|
|
@ -3568,8 +3189,6 @@ pub struct CMsgSteamDatagramClientPingSampleReply {
|
|||
pub connection_id: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramClientPingSampleReply.relay_override_active)
|
||||
pub relay_override_active: ::std::option::Option<bool>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramClientPingSampleReply.tos)
|
||||
pub tos: ::steam_vent_proto_common::protobuf::MessageField<CMsgTOSTreatment>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramClientPingSampleReply.pops)
|
||||
pub pops: ::std::vec::Vec<cmsg_steam_datagram_client_ping_sample_reply::POP>,
|
||||
// @@protoc_insertion_point(field:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers)
|
||||
|
|
@ -3645,9 +3264,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramClientPin
|
|||
40 => {
|
||||
self.relay_override_active = ::std::option::Option::Some(is.read_bool()?);
|
||||
},
|
||||
50 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.tos)?;
|
||||
},
|
||||
18 => {
|
||||
self.pops.push(is.read_message()?);
|
||||
},
|
||||
|
|
@ -3672,10 +3288,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramClientPin
|
|||
if let Some(v) = self.relay_override_active {
|
||||
my_size += 1 + 1;
|
||||
}
|
||||
if let Some(v) = self.tos.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
}
|
||||
for value in &self.pops {
|
||||
let len = value.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
|
|
@ -3696,9 +3308,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramClientPin
|
|||
if let Some(v) = self.relay_override_active {
|
||||
os.write_bool(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.tos.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(6, v, os)?;
|
||||
}
|
||||
for v in &self.pops {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
|
||||
};
|
||||
|
|
@ -3724,7 +3333,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramClientPin
|
|||
fn clear(&mut self) {
|
||||
self.connection_id = ::std::option::Option::None;
|
||||
self.relay_override_active = ::std::option::Option::None;
|
||||
self.tos.clear();
|
||||
self.pops.clear();
|
||||
self.legacy_data_centers.clear();
|
||||
self.special_fields.clear();
|
||||
|
|
@ -3734,7 +3342,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamDatagramClientPin
|
|||
static instance: CMsgSteamDatagramClientPingSampleReply = CMsgSteamDatagramClientPingSampleReply {
|
||||
connection_id: ::std::option::Option::None,
|
||||
relay_override_active: ::std::option::Option::None,
|
||||
tos: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
pops: ::std::vec::Vec::new(),
|
||||
legacy_data_centers: ::std::vec::Vec::new(),
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
|
|
@ -14031,19 +13638,6 @@ impl ::steam_vent_proto_common::RpcMessage for CMsgSteamDatagramNoSessionRelayTo
|
|||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgTOSTreatment {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
}
|
||||
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.write_to_writer(writer)
|
||||
}
|
||||
fn encode_size(&self) -> usize {
|
||||
use ::steam_vent_proto_common::protobuf::Message;
|
||||
self.compute_size() as usize
|
||||
}
|
||||
}
|
||||
impl ::steam_vent_proto_common::RpcMessage for CMsgSteamDatagramClientPingSampleRequest {
|
||||
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -212,10 +212,6 @@ pub struct CSubtickMoveStep {
|
|||
pub analog_forward_delta: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CSubtickMoveStep.analog_left_delta)
|
||||
pub analog_left_delta: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CSubtickMoveStep.pitch_delta)
|
||||
pub pitch_delta: ::std::option::Option<f32>,
|
||||
// @@protoc_insertion_point(field:CSubtickMoveStep.yaw_delta)
|
||||
pub yaw_delta: ::std::option::Option<f32>,
|
||||
// special fields
|
||||
// @@protoc_insertion_point(special_field:CSubtickMoveStep.special_fields)
|
||||
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||
|
|
@ -326,44 +322,6 @@ impl CSubtickMoveStep {
|
|||
pub fn set_analog_left_delta(&mut self, v: f32) {
|
||||
self.analog_left_delta = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional float pitch_delta = 8;
|
||||
|
||||
pub fn pitch_delta(&self) -> f32 {
|
||||
self.pitch_delta.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_pitch_delta(&mut self) {
|
||||
self.pitch_delta = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_pitch_delta(&self) -> bool {
|
||||
self.pitch_delta.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_pitch_delta(&mut self, v: f32) {
|
||||
self.pitch_delta = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional float yaw_delta = 9;
|
||||
|
||||
pub fn yaw_delta(&self) -> f32 {
|
||||
self.yaw_delta.unwrap_or(0.)
|
||||
}
|
||||
|
||||
pub fn clear_yaw_delta(&mut self) {
|
||||
self.yaw_delta = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_yaw_delta(&self) -> bool {
|
||||
self.yaw_delta.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_yaw_delta(&mut self, v: f32) {
|
||||
self.yaw_delta = ::std::option::Option::Some(v);
|
||||
}
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Message for CSubtickMoveStep {
|
||||
|
|
@ -391,12 +349,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CSubtickMoveStep {
|
|||
45 => {
|
||||
self.analog_left_delta = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
69 => {
|
||||
self.pitch_delta = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
77 => {
|
||||
self.yaw_delta = ::std::option::Option::Some(is.read_float()?);
|
||||
},
|
||||
tag => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||
},
|
||||
|
|
@ -424,12 +376,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CSubtickMoveStep {
|
|||
if let Some(v) = self.analog_left_delta {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.pitch_delta {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
if let Some(v) = self.yaw_delta {
|
||||
my_size += 1 + 4;
|
||||
}
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||
self.special_fields.cached_size().set(my_size as u32);
|
||||
my_size
|
||||
|
|
@ -451,12 +397,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CSubtickMoveStep {
|
|||
if let Some(v) = self.analog_left_delta {
|
||||
os.write_float(5, v)?;
|
||||
}
|
||||
if let Some(v) = self.pitch_delta {
|
||||
os.write_float(8, v)?;
|
||||
}
|
||||
if let Some(v) = self.yaw_delta {
|
||||
os.write_float(9, v)?;
|
||||
}
|
||||
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||
::std::result::Result::Ok(())
|
||||
}
|
||||
|
|
@ -479,8 +419,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CSubtickMoveStep {
|
|||
self.when = ::std::option::Option::None;
|
||||
self.analog_forward_delta = ::std::option::Option::None;
|
||||
self.analog_left_delta = ::std::option::Option::None;
|
||||
self.pitch_delta = ::std::option::Option::None;
|
||||
self.yaw_delta = ::std::option::Option::None;
|
||||
self.special_fields.clear();
|
||||
}
|
||||
|
||||
|
|
@ -491,8 +429,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CSubtickMoveStep {
|
|||
when: ::std::option::Option::None,
|
||||
analog_forward_delta: ::std::option::Option::None,
|
||||
analog_left_delta: ::std::option::Option::None,
|
||||
pitch_delta: ::std::option::Option::None,
|
||||
yaw_delta: ::std::option::Option::None,
|
||||
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||
};
|
||||
&instance
|
||||
|
|
@ -507,8 +443,6 @@ pub struct CBaseUserCmdPB {
|
|||
pub legacy_command_number: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CBaseUserCmdPB.client_tick)
|
||||
pub client_tick: ::std::option::Option<i32>,
|
||||
// @@protoc_insertion_point(field:CBaseUserCmdPB.prediction_offset_ticks_x256)
|
||||
pub prediction_offset_ticks_x256: ::std::option::Option<u32>,
|
||||
// @@protoc_insertion_point(field:CBaseUserCmdPB.buttons_pb)
|
||||
pub buttons_pb: ::steam_vent_proto_common::protobuf::MessageField<CInButtonStatePB>,
|
||||
// @@protoc_insertion_point(field:CBaseUserCmdPB.viewangles)
|
||||
|
|
@ -593,25 +527,6 @@ impl CBaseUserCmdPB {
|
|||
self.client_tick = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional uint32 prediction_offset_ticks_x256 = 17;
|
||||
|
||||
pub fn prediction_offset_ticks_x256(&self) -> u32 {
|
||||
self.prediction_offset_ticks_x256.unwrap_or(0)
|
||||
}
|
||||
|
||||
pub fn clear_prediction_offset_ticks_x256(&mut self) {
|
||||
self.prediction_offset_ticks_x256 = ::std::option::Option::None;
|
||||
}
|
||||
|
||||
pub fn has_prediction_offset_ticks_x256(&self) -> bool {
|
||||
self.prediction_offset_ticks_x256.is_some()
|
||||
}
|
||||
|
||||
// Param is passed by value, moved
|
||||
pub fn set_prediction_offset_ticks_x256(&mut self, v: u32) {
|
||||
self.prediction_offset_ticks_x256 = ::std::option::Option::Some(v);
|
||||
}
|
||||
|
||||
// optional float forwardmove = 5;
|
||||
|
||||
pub fn forwardmove(&self) -> f32 {
|
||||
|
|
@ -874,9 +789,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CBaseUserCmdPB {
|
|||
16 => {
|
||||
self.client_tick = ::std::option::Option::Some(is.read_int32()?);
|
||||
},
|
||||
136 => {
|
||||
self.prediction_offset_ticks_x256 = ::std::option::Option::Some(is.read_uint32()?);
|
||||
},
|
||||
26 => {
|
||||
::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.buttons_pb)?;
|
||||
},
|
||||
|
|
@ -940,9 +852,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CBaseUserCmdPB {
|
|||
if let Some(v) = self.client_tick {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
|
||||
}
|
||||
if let Some(v) = self.prediction_offset_ticks_x256 {
|
||||
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(17, v);
|
||||
}
|
||||
if let Some(v) = self.buttons_pb.as_ref() {
|
||||
let len = v.compute_size();
|
||||
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||
|
|
@ -1003,9 +912,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CBaseUserCmdPB {
|
|||
if let Some(v) = self.client_tick {
|
||||
os.write_int32(2, v)?;
|
||||
}
|
||||
if let Some(v) = self.prediction_offset_ticks_x256 {
|
||||
os.write_uint32(17, v)?;
|
||||
}
|
||||
if let Some(v) = self.buttons_pb.as_ref() {
|
||||
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
|
||||
}
|
||||
|
|
@ -1070,7 +976,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CBaseUserCmdPB {
|
|||
fn clear(&mut self) {
|
||||
self.legacy_command_number = ::std::option::Option::None;
|
||||
self.client_tick = ::std::option::Option::None;
|
||||
self.prediction_offset_ticks_x256 = ::std::option::Option::None;
|
||||
self.buttons_pb.clear();
|
||||
self.viewangles.clear();
|
||||
self.forwardmove = ::std::option::Option::None;
|
||||
|
|
@ -1093,7 +998,6 @@ impl ::steam_vent_proto_common::protobuf::Message for CBaseUserCmdPB {
|
|||
static instance: CBaseUserCmdPB = CBaseUserCmdPB {
|
||||
legacy_command_number: ::std::option::Option::None,
|
||||
client_tick: ::std::option::Option::None,
|
||||
prediction_offset_ticks_x256: ::std::option::Option::None,
|
||||
buttons_pb: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
viewangles: ::steam_vent_proto_common::protobuf::MessageField::none(),
|
||||
forwardmove: ::std::option::Option::None,
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -25,66 +25,6 @@
|
|||
/// of protobuf runtime.
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
|
||||
|
||||
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||
// @@protoc_insertion_point(enum:EProtoDebugVisiblity)
|
||||
pub enum EProtoDebugVisiblity {
|
||||
// @@protoc_insertion_point(enum_value:EProtoDebugVisiblity.k_EProtoDebugVisibility_Always)
|
||||
k_EProtoDebugVisibility_Always = 0,
|
||||
// @@protoc_insertion_point(enum_value:EProtoDebugVisiblity.k_EProtoDebugVisibility_Server)
|
||||
k_EProtoDebugVisibility_Server = 70,
|
||||
// @@protoc_insertion_point(enum_value:EProtoDebugVisiblity.k_EProtoDebugVisibility_ValveServer)
|
||||
k_EProtoDebugVisibility_ValveServer = 80,
|
||||
// @@protoc_insertion_point(enum_value:EProtoDebugVisiblity.k_EProtoDebugVisibility_GC)
|
||||
k_EProtoDebugVisibility_GC = 90,
|
||||
// @@protoc_insertion_point(enum_value:EProtoDebugVisiblity.k_EProtoDebugVisibility_Never)
|
||||
k_EProtoDebugVisibility_Never = 100,
|
||||
}
|
||||
|
||||
impl ::steam_vent_proto_common::protobuf::Enum for EProtoDebugVisiblity {
|
||||
const NAME: &'static str = "EProtoDebugVisiblity";
|
||||
|
||||
fn value(&self) -> i32 {
|
||||
*self as i32
|
||||
}
|
||||
|
||||
fn from_i32(value: i32) -> ::std::option::Option<EProtoDebugVisiblity> {
|
||||
match value {
|
||||
0 => ::std::option::Option::Some(EProtoDebugVisiblity::k_EProtoDebugVisibility_Always),
|
||||
70 => ::std::option::Option::Some(EProtoDebugVisiblity::k_EProtoDebugVisibility_Server),
|
||||
80 => ::std::option::Option::Some(EProtoDebugVisiblity::k_EProtoDebugVisibility_ValveServer),
|
||||
90 => ::std::option::Option::Some(EProtoDebugVisiblity::k_EProtoDebugVisibility_GC),
|
||||
100 => ::std::option::Option::Some(EProtoDebugVisiblity::k_EProtoDebugVisibility_Never),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
fn from_str(str: &str) -> ::std::option::Option<EProtoDebugVisiblity> {
|
||||
match str {
|
||||
"k_EProtoDebugVisibility_Always" => ::std::option::Option::Some(EProtoDebugVisiblity::k_EProtoDebugVisibility_Always),
|
||||
"k_EProtoDebugVisibility_Server" => ::std::option::Option::Some(EProtoDebugVisiblity::k_EProtoDebugVisibility_Server),
|
||||
"k_EProtoDebugVisibility_ValveServer" => ::std::option::Option::Some(EProtoDebugVisiblity::k_EProtoDebugVisibility_ValveServer),
|
||||
"k_EProtoDebugVisibility_GC" => ::std::option::Option::Some(EProtoDebugVisiblity::k_EProtoDebugVisibility_GC),
|
||||
"k_EProtoDebugVisibility_Never" => ::std::option::Option::Some(EProtoDebugVisiblity::k_EProtoDebugVisibility_Never),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
|
||||
const VALUES: &'static [EProtoDebugVisiblity] = &[
|
||||
EProtoDebugVisiblity::k_EProtoDebugVisibility_Always,
|
||||
EProtoDebugVisiblity::k_EProtoDebugVisibility_Server,
|
||||
EProtoDebugVisiblity::k_EProtoDebugVisibility_ValveServer,
|
||||
EProtoDebugVisiblity::k_EProtoDebugVisibility_GC,
|
||||
EProtoDebugVisiblity::k_EProtoDebugVisibility_Never,
|
||||
];
|
||||
}
|
||||
|
||||
impl ::std::default::Default for EProtoDebugVisiblity {
|
||||
fn default() -> Self {
|
||||
EProtoDebugVisiblity::k_EProtoDebugVisibility_Always
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Extension generation with lite runtime is not supported
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue