diff --git a/Makefile b/Makefile index 8b66499..ec3dc2d 100644 --- a/Makefile +++ b/Makefile @@ -87,4 +87,10 @@ pb_compile: pb_clear: rm -f ./protobufs/*.proto ./steam/protobufs/*_pb2.py -pb_update: pb_fetch pb_compile +pb_services: + grep -B 99999 MARK_SERVICE_START steam/core/msg/unified.py > steam/core/msg/unified.py.tmp + grep '^service' protobufs/*.proto | tr '/.:' ' ' | awk '{ printf(" %-35s '\''steam.protobufs.%s_pb2'\'',\n", "'\''" $$5 "'\'':", $$2) }' >> steam/core/msg/unified.py.tmp + grep -A 99999 MARK_SERVICE_END steam/core/msg/unified.py >> steam/core/msg/unified.py.tmp + mv steam/core/msg/unified.py.tmp steam/core/msg/unified.py + +pb_update: pb_fetch pb_compile pb_services diff --git a/protobuf_list.txt b/protobuf_list.txt index 03a8f19..4163b78 100644 --- a/protobuf_list.txt +++ b/protobuf_list.txt @@ -8,6 +8,7 @@ https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/s https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_broadcast.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_chat.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_cloud.steamclient.proto +https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_contentsystem.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_credentials.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_datapublisher.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_depotbuilder.steamclient.proto @@ -18,15 +19,20 @@ https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/s https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_gameservers.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_inventory.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_linkfilter.steamclient.proto +https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_lobbymatchmaking.steamclient.proto +https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_market.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_offline.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_parental.steamclient.proto +https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_parties.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_partnerapps.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_player.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_publishedfile.steamclient.proto +https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_qms.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_secrets.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_shader.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_site_license.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_store.steamclient.proto +https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_timedtrial.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_twofactor.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_unified_base.steamclient.proto https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_unified_test.steamclient.proto diff --git a/protobufs/steammessages_contentsystem.proto b/protobufs/steammessages_contentsystem.proto new file mode 100644 index 0000000..934873d --- /dev/null +++ b/protobufs/steammessages_contentsystem.proto @@ -0,0 +1,62 @@ +syntax = "proto2"; +import "steammessages_unified_base.proto"; + +option py_generic_services = true; + +message CContentServerDirectory_GetServersForSteamPipe_Request { + optional uint32 cell_id = 1 [(description) = "client Cell ID"]; + optional uint32 max_servers = 2 [default = 20, (description) = "max servers in response list"]; + optional string ip_override = 3 [(description) = "client IP address"]; + optional int32 launcher_type = 4 [default = 0, (description) = "launcher type"]; + optional string ipv6_public = 5 [(description) = "client public ipv6 address if it knows it"]; +} + +message CContentServerDirectory_ServerInfo { + optional string type = 1; + optional int32 source_id = 2; + optional int32 cell_id = 3; + optional int32 load = 4; + optional float weighted_load = 5; + optional int32 num_entries_in_client_list = 6; + optional bool steam_china_only = 7; + optional string host = 8; + optional string vhost = 9; + optional bool use_as_proxy = 10; + optional string proxy_request_path_template = 11; + optional string https_support = 12; + repeated uint32 allowed_app_ids = 13; + optional bool preferred_server = 14; +} + +message CContentServerDirectory_GetServersForSteamPipe_Response { + repeated .CContentServerDirectory_ServerInfo servers = 1; +} + +message CContentServerDirectory_GetDepotPatchInfo_Request { + optional uint32 appid = 1; + optional uint32 depotid = 2; + optional uint64 source_manifestid = 3; + optional uint64 target_manifestid = 4; +} + +message CContentServerDirectory_GetDepotPatchInfo_Response { + optional bool is_available = 1; +} + +message CContentServerDirectory_GetClientUpdateHosts_Request { + optional string cached_signature = 1; +} + +message CContentServerDirectory_GetClientUpdateHosts_Response { + optional string hosts_kv = 1; + optional uint64 valid_until_time = 2; + optional string ip_country = 3; +} + +service ContentServerDirectory { + option (service_description) = "Content Server and CDN directory"; + + rpc GetServersForSteamPipe (.CContentServerDirectory_GetServersForSteamPipe_Request) returns (.CContentServerDirectory_GetServersForSteamPipe_Response); + rpc GetDepotPatchInfo (.CContentServerDirectory_GetDepotPatchInfo_Request) returns (.CContentServerDirectory_GetDepotPatchInfo_Response); + rpc GetClientUpdateHosts (.CContentServerDirectory_GetClientUpdateHosts_Request) returns (.CContentServerDirectory_GetClientUpdateHosts_Response); +} diff --git a/protobufs/steammessages_lobbymatchmaking.proto b/protobufs/steammessages_lobbymatchmaking.proto new file mode 100644 index 0000000..da1efa4 --- /dev/null +++ b/protobufs/steammessages_lobbymatchmaking.proto @@ -0,0 +1,33 @@ +syntax = "proto2"; +import "steammessages_unified_base.proto"; + +option py_generic_services = true; + +enum ELobbyStatus { + k_ELobbyStatusInvalid = 0; + k_ELobbyStatusExists = 1; + k_ELobbyStatusDoesNotExist = 2; + k_ELobbyStatusNotAMember = 3; +} + +message LobbyMatchmakingLegacy_GetLobbyStatus_Request { + optional uint32 app_id = 1; + optional fixed64 steamid_lobby = 2; + optional bool claim_ownership = 3; + optional bool claim_membership = 4; + optional uint32 version_num = 5; +} + +message LobbyMatchmakingLegacy_GetLobbyStatus_Response { + optional uint32 app_id = 1; + optional fixed64 steamid_lobby = 2; + optional .ELobbyStatus lobby_status = 3 [default = k_ELobbyStatusInvalid]; +} + +service LobbyMatchmakingLegacy { + option (service_description) = "Lobby matchmaking legacy service"; + + rpc GetLobbyStatus (.LobbyMatchmakingLegacy_GetLobbyStatus_Request) returns (.LobbyMatchmakingLegacy_GetLobbyStatus_Response) { + option (method_description) = "GetLobbyStatus"; + } +} diff --git a/protobufs/steammessages_market.proto b/protobufs/steammessages_market.proto new file mode 100644 index 0000000..96ed837 --- /dev/null +++ b/protobufs/steammessages_market.proto @@ -0,0 +1,26 @@ +syntax = "proto2"; +import "steammessages_unified_base.proto"; + +option py_generic_services = true; + +message CEconMarket_IsMarketplaceAllowed_Request { + optional string webcookie = 1 [(description) = "The user's Steam Guard machine auth cookie."]; +} + +message CEconMarket_IsMarketplaceAllowed_Response { + optional bool allowed = 1 [(description) = "Whether or not the user is allowed to use the market"]; + optional uint32 reason = 2 [(description) = "The reason the user can't use the market, if applicable"]; + optional uint32 allowed_at_time = 3 [(description) = "The time the user will be allowed to use the market"]; + optional uint32 steamguard_required_days = 4 [(description) = "The number of days any user is required to have had Steam Guard before they can use the market"]; + optional bool forms_requested = 7 [(description) = "Whether or not we've requested the user fill out tax forms"]; + optional bool forms_require_verification = 8 [(description) = "True if we've received forms but they require verification first"]; + optional uint32 new_device_cooldown_days = 9 [(description) = "The number of days after initial device authorization a user must wait before using the market on that device"]; +} + +service EconMarket { + option (service_description) = "A service to use market functions"; + + rpc IsMarketplaceAllowed (.CEconMarket_IsMarketplaceAllowed_Request) returns (.CEconMarket_IsMarketplaceAllowed_Response) { + option (method_description) = "Checks whether or not the authed account is allowed to use the market"; + } +} diff --git a/protobufs/steammessages_parties.proto b/protobufs/steammessages_parties.proto new file mode 100644 index 0000000..c974ba4 --- /dev/null +++ b/protobufs/steammessages_parties.proto @@ -0,0 +1,94 @@ +syntax = "proto2"; +import "steammessages_unified_base.proto"; + +option py_generic_services = true; + +message CParties_JoinParty_Request { + optional fixed64 steamid = 1; + optional uint64 beacon_id = 2; +} + +message CParties_JoinParty_Response { + optional uint64 beacon_id = 1; + optional string connect_string = 2; +} + +message CParties_BeaconLocation { + optional uint32 location_type = 1; + optional uint64 location_id = 2; +} + +message CParties_CreateBeacon_Request { + optional uint32 appid = 1; + optional uint32 num_open_slots = 2; + repeated .CParties_BeaconLocation locations = 3; + optional string connect_string = 4; + optional string metadata = 5; +} + +message CParties_CreateBeacon_Response { + optional uint64 beacon_id = 1; +} + +message CParties_OnReservationCompleted_Request { + optional uint64 beacon_id = 1; + optional fixed64 user_steamid = 2; +} + +message CParties_OnReservationCompleted_Response { + optional uint64 beacon_id = 1; +} + +message CParties_CancelReservation_Request { + optional uint64 beacon_id = 1; + optional fixed64 user_steamid = 2; +} + +message CParties_CancelReservation_Response { + optional uint64 beacon_id = 1; +} + +message CParties_ChangeNumOpenSlots_Request { + optional uint64 beacon_id = 1; + optional uint32 num_open_slots = 2; +} + +message CParties_ChangeNumOpenSlots_Response { + optional uint64 beacon_id = 1; +} + +message CParties_DestroyBeacon_Request { + optional uint64 beacon_id = 1; +} + +message CParties_DestroyBeacon_Response { + optional uint64 beacon_id = 1; +} + +service Parties { + option (service_description) = "Party-related services"; + + rpc JoinParty (.CParties_JoinParty_Request) returns (.CParties_JoinParty_Response) { + option (method_description) = "Request to join a Party via the given Beacon ID. If successful, will be given the necessary 'connect' string."; + } + + rpc CreateBeacon (.CParties_CreateBeacon_Request) returns (.CParties_CreateBeacon_Response) { + option (method_description) = "Create a Beacon to attract people to your Party."; + } + + rpc OnReservationCompleted (.CParties_OnReservationCompleted_Request) returns (.CParties_OnReservationCompleted_Response) { + option (method_description) = "Notify Steam that a user with a reservation has successfully joined."; + } + + rpc CancelReservation (.CParties_CancelReservation_Request) returns (.CParties_CancelReservation_Response) { + option (method_description) = "Notify Steam that a user with a reservation either never showed up, or has left the party."; + } + + rpc ChangeNumOpenSlots (.CParties_ChangeNumOpenSlots_Request) returns (.CParties_ChangeNumOpenSlots_Response) { + option (method_description) = "Change the number of open slots"; + } + + rpc DestroyBeacon (.CParties_DestroyBeacon_Request) returns (.CParties_DestroyBeacon_Response) { + option (method_description) = "Delete the Beacon."; + } +} diff --git a/protobufs/steammessages_qms.proto b/protobufs/steammessages_qms.proto new file mode 100644 index 0000000..ad0b1bd --- /dev/null +++ b/protobufs/steammessages_qms.proto @@ -0,0 +1,125 @@ +syntax = "proto2"; +import "steammessages_unified_base.proto"; + +option py_generic_services = true; + +enum EGameSearchAction { + k_EGameSearchAction_None = 0; + k_EGameSearchAction_Accept = 1; + k_EGameSearchAction_Decline = 2; + k_EGameSearchAction_Cancel = 3; +} + +enum EGameSearchResult { + k_EGameSearchResult_Invalid = 0; + k_EGameSearchResult_SearchInProgress = 1; + k_EGameSearchResult_SearchFailedNoHosts = 2; + k_EGameSearchResult_SearchGameFound = 3; + k_EGameSearchResult_SearchCompleteAccepted = 4; + k_EGameSearchResult_SearchCompleteDeclined = 5; + k_EGameSearchResult_SearchCanceled = 6; +} + +message GameSearchParam { + optional string key_name = 1; + repeated string value = 2; +} + +message CQueuedMatchmaking_SearchForGame_Request { + optional uint32 appid = 1; + optional .EGameSearchAction action = 2 [default = k_EGameSearchAction_None]; + repeated .GameSearchParam params = 3; + optional uint32 player_min = 4; + optional uint32 player_max = 5; + optional fixed64 steamidlobby = 6; + optional uint64 searchid = 7; +} + +message CQueuedMatchmaking_SearchForGame_Response { + optional .EGameSearchResult gamesearchresult = 1 [default = k_EGameSearchResult_Invalid]; + optional uint64 searchid = 2; + optional uint32 seconds_time_estimate = 3; + optional uint32 poll_frequency = 4; + optional uint32 count_searching = 5; + optional uint32 players_in_match = 6; + optional uint32 players_accepted = 7; + optional string connect_string = 9; + optional fixed64 steamidhost = 10; + optional uint32 rtime_match_made = 11; + optional uint32 rtime_now = 12; + optional fixed64 steamid_canceled_search = 13; +} + +message CQueuedMatchmakingGameHost_SearchForPlayers_Request { + optional uint32 appid = 1; + optional .EGameSearchAction action = 2 [default = k_EGameSearchAction_None]; + repeated .GameSearchParam params = 3; + optional uint32 player_min = 4; + optional uint32 player_max = 5; + optional uint32 player_max_team_size = 6; + optional string connection_string = 7; + optional uint64 searchid = 8; +} + +message PlayerFound { + optional fixed64 steamid = 1; + optional .EGameSearchAction action = 2 [default = k_EGameSearchAction_None]; + repeated .GameSearchParam params = 3; + optional uint32 team_number = 4; +} + +message CQueuedMatchmakingGameHost_SearchForPlayers_Response { + optional .EGameSearchResult gamesearchresult = 1 [default = k_EGameSearchResult_Invalid]; + optional uint64 searchid = 2; + optional uint32 poll_frequency = 3; + optional uint64 matchid = 4; + repeated .PlayerFound players = 5; + optional uint32 rtime_match_made = 6; + optional uint32 rtime_now = 7; +} + +message PlayerResult { + optional fixed64 steamid = 1; + optional uint32 value = 2; +} + +message CQueuedMatchmakingGameHost_SubmitPlayerResult_Request { + optional uint32 appid = 1; + optional uint64 matchid = 2; + repeated .PlayerResult player_results = 3; +} + +message CQueuedMatchmakingGameHost_SubmitPlayerResult_Response { +} + +message CQueuedMatchmakingGameHost_EndGame_Request { + optional uint32 appid = 1; + optional uint64 matchid = 2; +} + +message CQueuedMatchmakingGameHost_EndGame_Response { +} + +service QueuedMatchmaking { + option (service_description) = "Queued matchmaking service"; + + rpc SearchForGame (.CQueuedMatchmaking_SearchForGame_Request) returns (.CQueuedMatchmaking_SearchForGame_Response) { + option (method_description) = "Search for a game"; + } +} + +service QueuedMatchmakingGameHost { + option (service_description) = "Queued matchmaking host service"; + + rpc SearchForPlayers (.CQueuedMatchmakingGameHost_SearchForPlayers_Request) returns (.CQueuedMatchmakingGameHost_SearchForPlayers_Response) { + option (method_description) = "SearchForPlayers"; + } + + rpc SubmitPlayerResult (.CQueuedMatchmakingGameHost_SubmitPlayerResult_Request) returns (.CQueuedMatchmakingGameHost_SubmitPlayerResult_Response) { + option (method_description) = "SubmitPlayerResult"; + } + + rpc EndGame (.CQueuedMatchmakingGameHost_EndGame_Request) returns (.CQueuedMatchmakingGameHost_EndGame_Response) { + option (method_description) = "EndGame"; + } +} diff --git a/protobufs/steammessages_timedtrial.proto b/protobufs/steammessages_timedtrial.proto new file mode 100644 index 0000000..cdc8724 --- /dev/null +++ b/protobufs/steammessages_timedtrial.proto @@ -0,0 +1,50 @@ +syntax = "proto2"; +import "steammessages_unified_base.proto"; + +option py_generic_services = true; + +message CTimedTrial_GetTimeRemaining_Request { + optional uint32 appid = 1; +} + +message CTimedTrial_GetTimeRemaining_Response { + optional uint32 seconds_played = 1; + optional uint32 seconds_allowed = 2; + optional uint32 packageid = 3; + optional uint32 mastersub_appid = 4; +} + +message CTimedTrial_RecordPlaytime_Request { + optional uint32 appid = 1; + optional uint32 seconds_played = 2; +} + +message CTimedTrial_RecordPlaytime_Response { + optional uint32 seconds_played = 1; + optional uint32 seconds_allowed = 2; +} + +message CTimedTrial_ResetPlaytime_Request { + optional uint32 appid = 1; +} + +message CTimedTrial_ResetPlaytime_Response { + optional uint32 seconds_played = 1; + optional uint32 seconds_allowed = 2; +} + +service TimedTrial { + option (service_description) = "A service to get user timed trial information"; + + rpc GetTimeRemaining (.CTimedTrial_GetTimeRemaining_Request) returns (.CTimedTrial_GetTimeRemaining_Response) { + option (method_description) = "Returns the amount of time a user has left on a timed trial for an app"; + } + + rpc RecordPlaytime (.CTimedTrial_RecordPlaytime_Request) returns (.CTimedTrial_RecordPlaytime_Response) { + option (method_description) = "Updates the user's remaining playtime while in game"; + } + + rpc ResetPlaytime (.CTimedTrial_ResetPlaytime_Request) returns (.CTimedTrial_ResetPlaytime_Response) { + option (method_description) = "Reset the user's remaining playtime (developer only)"; + } +} diff --git a/steam/core/msg/unified.py b/steam/core/msg/unified.py index 54b78c1..4cccbfa 100644 --- a/steam/core/msg/unified.py +++ b/steam/core/msg/unified.py @@ -1,62 +1,74 @@ import re from importlib import import_module -service_lookup = { - 'Broadcast': 'steam.protobufs.steammessages_broadcast_pb2', - 'BroadcastClient': 'steam.protobufs.steammessages_broadcast_pb2', - 'Chat': 'steam.protobufs.steammessages_chat_pb2', - 'ChatRoom': 'steam.protobufs.steammessages_chat_pb2', - 'ChatRoomClient': 'steam.protobufs.steammessages_chat_pb2', - 'ChatUsability': 'steam.protobufs.steammessages_chat_pb2', - 'ChatUsabilityClient': 'steam.protobufs.steammessages_chat_pb2', - 'ClanChatRooms': 'steam.protobufs.steammessages_chat_pb2', - 'Cloud': 'steam.protobufs.steammessages_cloud_pb2', - 'Credentials': 'steam.protobufs.steammessages_credentials_pb2', - 'DataPublisher': 'steam.protobufs.steammessages_datapublisher_pb2', - 'ValveHWSurvey': 'steam.protobufs.steammessages_datapublisher_pb2', - 'ContentBuilder': 'steam.protobufs.steammessages_depotbuilder_pb2', - 'DeviceAuth': 'steam.protobufs.steammessages_deviceauth_pb2', - 'Econ': 'steam.protobufs.steammessages_econ_pb2', - 'FriendMessages': 'steam.protobufs.steammessages_friendmessages_pb2', - 'FriendMessagesClient': 'steam.protobufs.steammessages_friendmessages_pb2', - 'GameNotifications': 'steam.protobufs.steammessages_gamenotifications_pb2', - 'GameNotificationsClient': 'steam.protobufs.steammessages_gamenotifications_pb2', - 'GameServers': 'steam.protobufs.steammessages_gameservers_pb2', - 'Inventory': 'steam.protobufs.steammessages_inventory_pb2', - 'InventoryClient': 'steam.protobufs.steammessages_inventory_pb2', - 'CommunityLinkFilter': 'steam.protobufs.steammessages_linkfilter_pb2', - 'Offline': 'steam.protobufs.steammessages_offline_pb2', - 'Parental': 'steam.protobufs.steammessages_parental_pb2', - 'PartnerApps': 'steam.protobufs.steammessages_partnerapps_pb2', - 'PhysicalGoods': 'steam.protobufs.steammessages_physicalgoods_pb2', - 'Player': 'steam.protobufs.steammessages_player_pb2', - 'PlayerClient': 'steam.protobufs.steammessages_player_pb2', - 'PublishedFile': 'steam.protobufs.steammessages_publishedfile_pb2', - 'PublishedFileClient': 'steam.protobufs.steammessages_publishedfile_pb2', - 'Secrets': 'steam.protobufs.steammessages_secrets_pb2', - 'Shader': 'steam.protobufs.steammessages_shader_pb2', - 'SiteLicense': 'steam.protobufs.steammessages_site_license_pb2', - 'SiteManagerClient': 'steam.protobufs.steammessages_site_license_pb2', - 'Store': 'steam.protobufs.steammessages_store_pb2', - 'StoreClient': 'steam.protobufs.steammessages_store_pb2', - 'TwoFactor': 'steam.protobufs.steammessages_twofactor_pb2', - 'AccountLinking': 'steam.protobufs.steammessages_useraccount_pb2', - 'EmbeddedClient': 'steam.protobufs.steammessages_useraccount_pb2', - 'UserAccount': 'steam.protobufs.steammessages_useraccount_pb2', - 'FovasVideo': 'steam.protobufs.steammessages_video_pb2', - 'Video': 'steam.protobufs.steammessages_video_pb2', - 'VideoClient': 'steam.protobufs.steammessages_video_pb2', - 'Clan': 'steam.protobufs.steammessages_webui_friends_pb2', - 'Community': 'steam.protobufs.steammessages_webui_friends_pb2', - 'ExperimentService': 'steam.protobufs.steammessages_webui_friends_pb2', - 'FriendsList': 'steam.protobufs.steammessages_webui_friends_pb2', - 'FriendsListClient': 'steam.protobufs.steammessages_webui_friends_pb2', - 'SteamTV': 'steam.protobufs.steammessages_webui_friends_pb2', - 'VoiceChat': 'steam.protobufs.steammessages_webui_friends_pb2', - 'VoiceChatClient': 'steam.protobufs.steammessages_webui_friends_pb2', - 'WebRTCClient': 'steam.protobufs.steammessages_webui_friends_pb2', - 'WebRTCClientNotifications': 'steam.protobufs.steammessages_webui_friends_pb2', -} +service_lookup = { # MARK_SERVICE_START + 'Broadcast': 'steam.protobufs.steammessages_broadcast_pb2', + 'BroadcastClient': 'steam.protobufs.steammessages_broadcast_pb2', + 'Chat': 'steam.protobufs.steammessages_chat_pb2', + 'ChatRoom': 'steam.protobufs.steammessages_chat_pb2', + 'ClanChatRooms': 'steam.protobufs.steammessages_chat_pb2', + 'ChatRoomClient': 'steam.protobufs.steammessages_chat_pb2', + 'ChatUsability': 'steam.protobufs.steammessages_chat_pb2', + 'ChatUsabilityClient': 'steam.protobufs.steammessages_chat_pb2', + 'Cloud': 'steam.protobufs.steammessages_cloud_pb2', + 'ContentServerDirectory': 'steam.protobufs.steammessages_contentsystem_pb2', + 'Credentials': 'steam.protobufs.steammessages_credentials_pb2', + 'DataPublisher': 'steam.protobufs.steammessages_datapublisher_pb2', + 'ValveHWSurvey': 'steam.protobufs.steammessages_datapublisher_pb2', + 'ContentBuilder': 'steam.protobufs.steammessages_depotbuilder_pb2', + 'DeviceAuth': 'steam.protobufs.steammessages_deviceauth_pb2', + 'Econ': 'steam.protobufs.steammessages_econ_pb2', + 'FriendMessages': 'steam.protobufs.steammessages_friendmessages_pb2', + 'FriendMessagesClient': 'steam.protobufs.steammessages_friendmessages_pb2', + 'GameNotifications': 'steam.protobufs.steammessages_gamenotifications_pb2', + 'GameNotificationsClient': 'steam.protobufs.steammessages_gamenotifications_pb2', + 'GameServers': 'steam.protobufs.steammessages_gameservers_pb2', + 'Inventory': 'steam.protobufs.steammessages_inventory_pb2', + 'InventoryClient': 'steam.protobufs.steammessages_inventory_pb2', + 'CommunityLinkFilter': 'steam.protobufs.steammessages_linkfilter_pb2', + 'LobbyMatchmakingLegacy': 'steam.protobufs.steammessages_lobbymatchmaking_pb2', + 'EconMarket': 'steam.protobufs.steammessages_market_pb2', + 'Offline': 'steam.protobufs.steammessages_offline_pb2', + 'Parental': 'steam.protobufs.steammessages_parental_pb2', + 'ParentalClient': 'steam.protobufs.steammessages_parental_pb2', + 'Parties': 'steam.protobufs.steammessages_parties_pb2', + 'PartnerApps': 'steam.protobufs.steammessages_partnerapps_pb2', + 'PhysicalGoods': 'steam.protobufs.steammessages_physicalgoods_pb2', + 'Player': 'steam.protobufs.steammessages_player_pb2', + 'PlayerClient': 'steam.protobufs.steammessages_player_pb2', + 'PublishedFile': 'steam.protobufs.steammessages_publishedfile_pb2', + 'PublishedFileClient': 'steam.protobufs.steammessages_publishedfile_pb2', + 'QueuedMatchmaking': 'steam.protobufs.steammessages_qms_pb2', + 'QueuedMatchmakingGameHost': 'steam.protobufs.steammessages_qms_pb2', + 'Secrets': 'steam.protobufs.steammessages_secrets_pb2', + 'Shader': 'steam.protobufs.steammessages_shader_pb2', + 'SiteManagerClient': 'steam.protobufs.steammessages_site_license_pb2', + 'SiteLicense': 'steam.protobufs.steammessages_site_license_pb2', + 'Store': 'steam.protobufs.steammessages_store_pb2', + 'StoreClient': 'steam.protobufs.steammessages_store_pb2', + 'TimedTrial': 'steam.protobufs.steammessages_timedtrial_pb2', + 'TwoFactor': 'steam.protobufs.steammessages_twofactor_pb2', + 'TestSteamClient': 'steam.protobufs.steammessages_unified_test_pb2', + 'TestServerFromClient': 'steam.protobufs.steammessages_unified_test_pb2', + 'UserAccount': 'steam.protobufs.steammessages_useraccount_pb2', + 'AccountLinking': 'steam.protobufs.steammessages_useraccount_pb2', + 'EmbeddedClient': 'steam.protobufs.steammessages_useraccount_pb2', + 'Video': 'steam.protobufs.steammessages_video_pb2', + 'VideoClient': 'steam.protobufs.steammessages_video_pb2', + 'FovasVideo': 'steam.protobufs.steammessages_video_pb2', + 'HelpRequestLogs': 'steam.protobufs.steammessages_webui_friends_pb2', + 'Community': 'steam.protobufs.steammessages_webui_friends_pb2', + 'ExperimentService': 'steam.protobufs.steammessages_webui_friends_pb2', + 'FriendsList': 'steam.protobufs.steammessages_webui_friends_pb2', + 'FriendsListClient': 'steam.protobufs.steammessages_webui_friends_pb2', + 'Clan': 'steam.protobufs.steammessages_webui_friends_pb2', + 'VoiceChat': 'steam.protobufs.steammessages_webui_friends_pb2', + 'VoiceChatClient': 'steam.protobufs.steammessages_webui_friends_pb2', + 'WebRTCClient': 'steam.protobufs.steammessages_webui_friends_pb2', + 'WebRTCClientNotifications': 'steam.protobufs.steammessages_webui_friends_pb2', + 'MobilePerAccount': 'steam.protobufs.steammessages_webui_friends_pb2', + 'MobileDevice': 'steam.protobufs.steammessages_webui_friends_pb2', +} # MARK_SERVICE_END method_lookup = {} diff --git a/steam/protobufs/steammessages_contentsystem_pb2.py b/steam/protobufs/steammessages_contentsystem_pb2.py new file mode 100644 index 0000000..8eb67d6 --- /dev/null +++ b/steam/protobufs/steammessages_contentsystem_pb2.py @@ -0,0 +1,522 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: steammessages_contentsystem.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import service as _service +from google.protobuf import service_reflection +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +import steam.protobufs.steammessages_unified_base_pb2 as steammessages__unified__base__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='steammessages_contentsystem.proto', + package='', + syntax='proto2', + serialized_options=_b('\220\001\001'), + serialized_pb=_b('\n!steammessages_contentsystem.proto\x1a steammessages_unified_base.proto\"\xb5\x02\n6CContentServerDirectory_GetServersForSteamPipe_Request\x12#\n\x07\x63\x65ll_id\x18\x01 \x01(\rB\x12\x82\xb5\x18\x0e\x63lient Cell ID\x12\x39\n\x0bmax_servers\x18\x02 \x01(\r:\x02\x32\x30\x42 \x82\xb5\x18\x1cmax servers in response list\x12*\n\x0bip_override\x18\x03 \x01(\tB\x15\x82\xb5\x18\x11\x63lient IP address\x12+\n\rlauncher_type\x18\x04 \x01(\x05:\x01\x30\x42\x11\x82\xb5\x18\rlauncher type\x12\x42\n\x0bipv6_public\x18\x05 \x01(\tB-\x82\xb5\x18)client public ipv6 address if it knows it\"\xdb\x02\n\"CContentServerDirectory_ServerInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x11\n\tsource_id\x18\x02 \x01(\x05\x12\x0f\n\x07\x63\x65ll_id\x18\x03 \x01(\x05\x12\x0c\n\x04load\x18\x04 \x01(\x05\x12\x15\n\rweighted_load\x18\x05 \x01(\x02\x12\"\n\x1anum_entries_in_client_list\x18\x06 \x01(\x05\x12\x18\n\x10steam_china_only\x18\x07 \x01(\x08\x12\x0c\n\x04host\x18\x08 \x01(\t\x12\r\n\x05vhost\x18\t \x01(\t\x12\x14\n\x0cuse_as_proxy\x18\n \x01(\x08\x12#\n\x1bproxy_request_path_template\x18\x0b \x01(\t\x12\x15\n\rhttps_support\x18\x0c \x01(\t\x12\x17\n\x0f\x61llowed_app_ids\x18\r \x03(\r\x12\x18\n\x10preferred_server\x18\x0e \x01(\x08\"o\n7CContentServerDirectory_GetServersForSteamPipe_Response\x12\x34\n\x07servers\x18\x01 \x03(\x0b\x32#.CContentServerDirectory_ServerInfo\"\x89\x01\n1CContentServerDirectory_GetDepotPatchInfo_Request\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12\x0f\n\x07\x64\x65potid\x18\x02 \x01(\r\x12\x19\n\x11source_manifestid\x18\x03 \x01(\x04\x12\x19\n\x11target_manifestid\x18\x04 \x01(\x04\"J\n2CContentServerDirectory_GetDepotPatchInfo_Response\x12\x14\n\x0cis_available\x18\x01 \x01(\x08\"P\n4CContentServerDirectory_GetClientUpdateHosts_Request\x12\x18\n\x10\x63\x61\x63hed_signature\x18\x01 \x01(\t\"w\n5CContentServerDirectory_GetClientUpdateHosts_Response\x12\x10\n\x08hosts_kv\x18\x01 \x01(\t\x12\x18\n\x10valid_until_time\x18\x02 \x01(\x04\x12\x12\n\nip_country\x18\x03 \x01(\t2\xd2\x03\n\x16\x43ontentServerDirectory\x12\x8b\x01\n\x16GetServersForSteamPipe\x12\x37.CContentServerDirectory_GetServersForSteamPipe_Request\x1a\x38.CContentServerDirectory_GetServersForSteamPipe_Response\x12|\n\x11GetDepotPatchInfo\x12\x32.CContentServerDirectory_GetDepotPatchInfo_Request\x1a\x33.CContentServerDirectory_GetDepotPatchInfo_Response\x12\x85\x01\n\x14GetClientUpdateHosts\x12\x35.CContentServerDirectory_GetClientUpdateHosts_Request\x1a\x36.CContentServerDirectory_GetClientUpdateHosts_Response\x1a$\x82\xb5\x18 Content Server and CDN directoryB\x03\x90\x01\x01') + , + dependencies=[steammessages__unified__base__pb2.DESCRIPTOR,]) + + + + +_CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_REQUEST = _descriptor.Descriptor( + name='CContentServerDirectory_GetServersForSteamPipe_Request', + full_name='CContentServerDirectory_GetServersForSteamPipe_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='cell_id', full_name='CContentServerDirectory_GetServersForSteamPipe_Request.cell_id', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\030\016client Cell ID'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_servers', full_name='CContentServerDirectory_GetServersForSteamPipe_Request.max_servers', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=True, default_value=20, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\030\034max servers in response list'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ip_override', full_name='CContentServerDirectory_GetServersForSteamPipe_Request.ip_override', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\030\021client IP address'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='launcher_type', full_name='CContentServerDirectory_GetServersForSteamPipe_Request.launcher_type', index=3, + number=4, type=5, cpp_type=1, label=1, + has_default_value=True, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\030\rlauncher type'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ipv6_public', full_name='CContentServerDirectory_GetServersForSteamPipe_Request.ipv6_public', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\030)client public ipv6 address if it knows it'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=72, + serialized_end=381, +) + + +_CCONTENTSERVERDIRECTORY_SERVERINFO = _descriptor.Descriptor( + name='CContentServerDirectory_ServerInfo', + full_name='CContentServerDirectory_ServerInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='CContentServerDirectory_ServerInfo.type', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='source_id', full_name='CContentServerDirectory_ServerInfo.source_id', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='cell_id', full_name='CContentServerDirectory_ServerInfo.cell_id', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='load', full_name='CContentServerDirectory_ServerInfo.load', index=3, + number=4, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='weighted_load', full_name='CContentServerDirectory_ServerInfo.weighted_load', index=4, + number=5, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='num_entries_in_client_list', full_name='CContentServerDirectory_ServerInfo.num_entries_in_client_list', index=5, + number=6, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='steam_china_only', full_name='CContentServerDirectory_ServerInfo.steam_china_only', index=6, + number=7, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='host', full_name='CContentServerDirectory_ServerInfo.host', index=7, + number=8, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='vhost', full_name='CContentServerDirectory_ServerInfo.vhost', index=8, + number=9, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='use_as_proxy', full_name='CContentServerDirectory_ServerInfo.use_as_proxy', index=9, + number=10, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='proxy_request_path_template', full_name='CContentServerDirectory_ServerInfo.proxy_request_path_template', index=10, + number=11, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='https_support', full_name='CContentServerDirectory_ServerInfo.https_support', index=11, + number=12, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='allowed_app_ids', full_name='CContentServerDirectory_ServerInfo.allowed_app_ids', index=12, + number=13, type=13, cpp_type=3, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='preferred_server', full_name='CContentServerDirectory_ServerInfo.preferred_server', index=13, + number=14, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=384, + serialized_end=731, +) + + +_CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_RESPONSE = _descriptor.Descriptor( + name='CContentServerDirectory_GetServersForSteamPipe_Response', + full_name='CContentServerDirectory_GetServersForSteamPipe_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='servers', full_name='CContentServerDirectory_GetServersForSteamPipe_Response.servers', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=733, + serialized_end=844, +) + + +_CCONTENTSERVERDIRECTORY_GETDEPOTPATCHINFO_REQUEST = _descriptor.Descriptor( + name='CContentServerDirectory_GetDepotPatchInfo_Request', + full_name='CContentServerDirectory_GetDepotPatchInfo_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='appid', full_name='CContentServerDirectory_GetDepotPatchInfo_Request.appid', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='depotid', full_name='CContentServerDirectory_GetDepotPatchInfo_Request.depotid', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='source_manifestid', full_name='CContentServerDirectory_GetDepotPatchInfo_Request.source_manifestid', index=2, + number=3, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='target_manifestid', full_name='CContentServerDirectory_GetDepotPatchInfo_Request.target_manifestid', index=3, + number=4, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=847, + serialized_end=984, +) + + +_CCONTENTSERVERDIRECTORY_GETDEPOTPATCHINFO_RESPONSE = _descriptor.Descriptor( + name='CContentServerDirectory_GetDepotPatchInfo_Response', + full_name='CContentServerDirectory_GetDepotPatchInfo_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='is_available', full_name='CContentServerDirectory_GetDepotPatchInfo_Response.is_available', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=986, + serialized_end=1060, +) + + +_CCONTENTSERVERDIRECTORY_GETCLIENTUPDATEHOSTS_REQUEST = _descriptor.Descriptor( + name='CContentServerDirectory_GetClientUpdateHosts_Request', + full_name='CContentServerDirectory_GetClientUpdateHosts_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='cached_signature', full_name='CContentServerDirectory_GetClientUpdateHosts_Request.cached_signature', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1062, + serialized_end=1142, +) + + +_CCONTENTSERVERDIRECTORY_GETCLIENTUPDATEHOSTS_RESPONSE = _descriptor.Descriptor( + name='CContentServerDirectory_GetClientUpdateHosts_Response', + full_name='CContentServerDirectory_GetClientUpdateHosts_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='hosts_kv', full_name='CContentServerDirectory_GetClientUpdateHosts_Response.hosts_kv', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='valid_until_time', full_name='CContentServerDirectory_GetClientUpdateHosts_Response.valid_until_time', index=1, + number=2, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ip_country', full_name='CContentServerDirectory_GetClientUpdateHosts_Response.ip_country', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1144, + serialized_end=1263, +) + +_CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_RESPONSE.fields_by_name['servers'].message_type = _CCONTENTSERVERDIRECTORY_SERVERINFO +DESCRIPTOR.message_types_by_name['CContentServerDirectory_GetServersForSteamPipe_Request'] = _CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_REQUEST +DESCRIPTOR.message_types_by_name['CContentServerDirectory_ServerInfo'] = _CCONTENTSERVERDIRECTORY_SERVERINFO +DESCRIPTOR.message_types_by_name['CContentServerDirectory_GetServersForSteamPipe_Response'] = _CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_RESPONSE +DESCRIPTOR.message_types_by_name['CContentServerDirectory_GetDepotPatchInfo_Request'] = _CCONTENTSERVERDIRECTORY_GETDEPOTPATCHINFO_REQUEST +DESCRIPTOR.message_types_by_name['CContentServerDirectory_GetDepotPatchInfo_Response'] = _CCONTENTSERVERDIRECTORY_GETDEPOTPATCHINFO_RESPONSE +DESCRIPTOR.message_types_by_name['CContentServerDirectory_GetClientUpdateHosts_Request'] = _CCONTENTSERVERDIRECTORY_GETCLIENTUPDATEHOSTS_REQUEST +DESCRIPTOR.message_types_by_name['CContentServerDirectory_GetClientUpdateHosts_Response'] = _CCONTENTSERVERDIRECTORY_GETCLIENTUPDATEHOSTS_RESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CContentServerDirectory_GetServersForSteamPipe_Request = _reflection.GeneratedProtocolMessageType('CContentServerDirectory_GetServersForSteamPipe_Request', (_message.Message,), dict( + DESCRIPTOR = _CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_REQUEST, + __module__ = 'steammessages_contentsystem_pb2' + # @@protoc_insertion_point(class_scope:CContentServerDirectory_GetServersForSteamPipe_Request) + )) +_sym_db.RegisterMessage(CContentServerDirectory_GetServersForSteamPipe_Request) + +CContentServerDirectory_ServerInfo = _reflection.GeneratedProtocolMessageType('CContentServerDirectory_ServerInfo', (_message.Message,), dict( + DESCRIPTOR = _CCONTENTSERVERDIRECTORY_SERVERINFO, + __module__ = 'steammessages_contentsystem_pb2' + # @@protoc_insertion_point(class_scope:CContentServerDirectory_ServerInfo) + )) +_sym_db.RegisterMessage(CContentServerDirectory_ServerInfo) + +CContentServerDirectory_GetServersForSteamPipe_Response = _reflection.GeneratedProtocolMessageType('CContentServerDirectory_GetServersForSteamPipe_Response', (_message.Message,), dict( + DESCRIPTOR = _CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_RESPONSE, + __module__ = 'steammessages_contentsystem_pb2' + # @@protoc_insertion_point(class_scope:CContentServerDirectory_GetServersForSteamPipe_Response) + )) +_sym_db.RegisterMessage(CContentServerDirectory_GetServersForSteamPipe_Response) + +CContentServerDirectory_GetDepotPatchInfo_Request = _reflection.GeneratedProtocolMessageType('CContentServerDirectory_GetDepotPatchInfo_Request', (_message.Message,), dict( + DESCRIPTOR = _CCONTENTSERVERDIRECTORY_GETDEPOTPATCHINFO_REQUEST, + __module__ = 'steammessages_contentsystem_pb2' + # @@protoc_insertion_point(class_scope:CContentServerDirectory_GetDepotPatchInfo_Request) + )) +_sym_db.RegisterMessage(CContentServerDirectory_GetDepotPatchInfo_Request) + +CContentServerDirectory_GetDepotPatchInfo_Response = _reflection.GeneratedProtocolMessageType('CContentServerDirectory_GetDepotPatchInfo_Response', (_message.Message,), dict( + DESCRIPTOR = _CCONTENTSERVERDIRECTORY_GETDEPOTPATCHINFO_RESPONSE, + __module__ = 'steammessages_contentsystem_pb2' + # @@protoc_insertion_point(class_scope:CContentServerDirectory_GetDepotPatchInfo_Response) + )) +_sym_db.RegisterMessage(CContentServerDirectory_GetDepotPatchInfo_Response) + +CContentServerDirectory_GetClientUpdateHosts_Request = _reflection.GeneratedProtocolMessageType('CContentServerDirectory_GetClientUpdateHosts_Request', (_message.Message,), dict( + DESCRIPTOR = _CCONTENTSERVERDIRECTORY_GETCLIENTUPDATEHOSTS_REQUEST, + __module__ = 'steammessages_contentsystem_pb2' + # @@protoc_insertion_point(class_scope:CContentServerDirectory_GetClientUpdateHosts_Request) + )) +_sym_db.RegisterMessage(CContentServerDirectory_GetClientUpdateHosts_Request) + +CContentServerDirectory_GetClientUpdateHosts_Response = _reflection.GeneratedProtocolMessageType('CContentServerDirectory_GetClientUpdateHosts_Response', (_message.Message,), dict( + DESCRIPTOR = _CCONTENTSERVERDIRECTORY_GETCLIENTUPDATEHOSTS_RESPONSE, + __module__ = 'steammessages_contentsystem_pb2' + # @@protoc_insertion_point(class_scope:CContentServerDirectory_GetClientUpdateHosts_Response) + )) +_sym_db.RegisterMessage(CContentServerDirectory_GetClientUpdateHosts_Response) + + +DESCRIPTOR._options = None +_CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_REQUEST.fields_by_name['cell_id']._options = None +_CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_REQUEST.fields_by_name['max_servers']._options = None +_CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_REQUEST.fields_by_name['ip_override']._options = None +_CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_REQUEST.fields_by_name['launcher_type']._options = None +_CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_REQUEST.fields_by_name['ipv6_public']._options = None + +_CONTENTSERVERDIRECTORY = _descriptor.ServiceDescriptor( + name='ContentServerDirectory', + full_name='ContentServerDirectory', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\202\265\030 Content Server and CDN directory'), + serialized_start=1266, + serialized_end=1732, + methods=[ + _descriptor.MethodDescriptor( + name='GetServersForSteamPipe', + full_name='ContentServerDirectory.GetServersForSteamPipe', + index=0, + containing_service=None, + input_type=_CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_REQUEST, + output_type=_CCONTENTSERVERDIRECTORY_GETSERVERSFORSTEAMPIPE_RESPONSE, + serialized_options=None, + ), + _descriptor.MethodDescriptor( + name='GetDepotPatchInfo', + full_name='ContentServerDirectory.GetDepotPatchInfo', + index=1, + containing_service=None, + input_type=_CCONTENTSERVERDIRECTORY_GETDEPOTPATCHINFO_REQUEST, + output_type=_CCONTENTSERVERDIRECTORY_GETDEPOTPATCHINFO_RESPONSE, + serialized_options=None, + ), + _descriptor.MethodDescriptor( + name='GetClientUpdateHosts', + full_name='ContentServerDirectory.GetClientUpdateHosts', + index=2, + containing_service=None, + input_type=_CCONTENTSERVERDIRECTORY_GETCLIENTUPDATEHOSTS_REQUEST, + output_type=_CCONTENTSERVERDIRECTORY_GETCLIENTUPDATEHOSTS_RESPONSE, + serialized_options=None, + ), +]) +_sym_db.RegisterServiceDescriptor(_CONTENTSERVERDIRECTORY) + +DESCRIPTOR.services_by_name['ContentServerDirectory'] = _CONTENTSERVERDIRECTORY + +ContentServerDirectory = service_reflection.GeneratedServiceType('ContentServerDirectory', (_service.Service,), dict( + DESCRIPTOR = _CONTENTSERVERDIRECTORY, + __module__ = 'steammessages_contentsystem_pb2' + )) + +ContentServerDirectory_Stub = service_reflection.GeneratedServiceStubType('ContentServerDirectory_Stub', (ContentServerDirectory,), dict( + DESCRIPTOR = _CONTENTSERVERDIRECTORY, + __module__ = 'steammessages_contentsystem_pb2' + )) + + +# @@protoc_insertion_point(module_scope) diff --git a/steam/protobufs/steammessages_lobbymatchmaking_pb2.py b/steam/protobufs/steammessages_lobbymatchmaking_pb2.py new file mode 100644 index 0000000..00aa08d --- /dev/null +++ b/steam/protobufs/steammessages_lobbymatchmaking_pb2.py @@ -0,0 +1,229 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: steammessages_lobbymatchmaking.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import service as _service +from google.protobuf import service_reflection +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +import steam.protobufs.steammessages_unified_base_pb2 as steammessages__unified__base__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='steammessages_lobbymatchmaking.proto', + package='', + syntax='proto2', + serialized_options=_b('\220\001\001'), + serialized_pb=_b('\n$steammessages_lobbymatchmaking.proto\x1a steammessages_unified_base.proto\"\x9e\x01\n-LobbyMatchmakingLegacy_GetLobbyStatus_Request\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x15\n\rsteamid_lobby\x18\x02 \x01(\x06\x12\x17\n\x0f\x63laim_ownership\x18\x03 \x01(\x08\x12\x18\n\x10\x63laim_membership\x18\x04 \x01(\x08\x12\x13\n\x0bversion_num\x18\x05 \x01(\r\"\x93\x01\n.LobbyMatchmakingLegacy_GetLobbyStatus_Response\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x15\n\rsteamid_lobby\x18\x02 \x01(\x06\x12:\n\x0clobby_status\x18\x03 \x01(\x0e\x32\r.ELobbyStatus:\x15k_ELobbyStatusInvalid*\x81\x01\n\x0c\x45LobbyStatus\x12\x19\n\x15k_ELobbyStatusInvalid\x10\x00\x12\x18\n\x14k_ELobbyStatusExists\x10\x01\x12\x1e\n\x1ak_ELobbyStatusDoesNotExist\x10\x02\x12\x1c\n\x18k_ELobbyStatusNotAMember\x10\x03\x32\xc6\x01\n\x16LobbyMatchmakingLegacy\x12\x85\x01\n\x0eGetLobbyStatus\x12..LobbyMatchmakingLegacy_GetLobbyStatus_Request\x1a/.LobbyMatchmakingLegacy_GetLobbyStatus_Response\"\x12\x82\xb5\x18\x0eGetLobbyStatus\x1a$\x82\xb5\x18 Lobby matchmaking legacy serviceB\x03\x90\x01\x01') + , + dependencies=[steammessages__unified__base__pb2.DESCRIPTOR,]) + +_ELOBBYSTATUS = _descriptor.EnumDescriptor( + name='ELobbyStatus', + full_name='ELobbyStatus', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='k_ELobbyStatusInvalid', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_ELobbyStatusExists', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_ELobbyStatusDoesNotExist', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_ELobbyStatusNotAMember', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=386, + serialized_end=515, +) +_sym_db.RegisterEnumDescriptor(_ELOBBYSTATUS) + +ELobbyStatus = enum_type_wrapper.EnumTypeWrapper(_ELOBBYSTATUS) +k_ELobbyStatusInvalid = 0 +k_ELobbyStatusExists = 1 +k_ELobbyStatusDoesNotExist = 2 +k_ELobbyStatusNotAMember = 3 + + + +_LOBBYMATCHMAKINGLEGACY_GETLOBBYSTATUS_REQUEST = _descriptor.Descriptor( + name='LobbyMatchmakingLegacy_GetLobbyStatus_Request', + full_name='LobbyMatchmakingLegacy_GetLobbyStatus_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='app_id', full_name='LobbyMatchmakingLegacy_GetLobbyStatus_Request.app_id', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='steamid_lobby', full_name='LobbyMatchmakingLegacy_GetLobbyStatus_Request.steamid_lobby', index=1, + number=2, type=6, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='claim_ownership', full_name='LobbyMatchmakingLegacy_GetLobbyStatus_Request.claim_ownership', index=2, + number=3, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='claim_membership', full_name='LobbyMatchmakingLegacy_GetLobbyStatus_Request.claim_membership', index=3, + number=4, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='version_num', full_name='LobbyMatchmakingLegacy_GetLobbyStatus_Request.version_num', index=4, + number=5, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=75, + serialized_end=233, +) + + +_LOBBYMATCHMAKINGLEGACY_GETLOBBYSTATUS_RESPONSE = _descriptor.Descriptor( + name='LobbyMatchmakingLegacy_GetLobbyStatus_Response', + full_name='LobbyMatchmakingLegacy_GetLobbyStatus_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='app_id', full_name='LobbyMatchmakingLegacy_GetLobbyStatus_Response.app_id', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='steamid_lobby', full_name='LobbyMatchmakingLegacy_GetLobbyStatus_Response.steamid_lobby', index=1, + number=2, type=6, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='lobby_status', full_name='LobbyMatchmakingLegacy_GetLobbyStatus_Response.lobby_status', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=True, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=236, + serialized_end=383, +) + +_LOBBYMATCHMAKINGLEGACY_GETLOBBYSTATUS_RESPONSE.fields_by_name['lobby_status'].enum_type = _ELOBBYSTATUS +DESCRIPTOR.message_types_by_name['LobbyMatchmakingLegacy_GetLobbyStatus_Request'] = _LOBBYMATCHMAKINGLEGACY_GETLOBBYSTATUS_REQUEST +DESCRIPTOR.message_types_by_name['LobbyMatchmakingLegacy_GetLobbyStatus_Response'] = _LOBBYMATCHMAKINGLEGACY_GETLOBBYSTATUS_RESPONSE +DESCRIPTOR.enum_types_by_name['ELobbyStatus'] = _ELOBBYSTATUS +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LobbyMatchmakingLegacy_GetLobbyStatus_Request = _reflection.GeneratedProtocolMessageType('LobbyMatchmakingLegacy_GetLobbyStatus_Request', (_message.Message,), dict( + DESCRIPTOR = _LOBBYMATCHMAKINGLEGACY_GETLOBBYSTATUS_REQUEST, + __module__ = 'steammessages_lobbymatchmaking_pb2' + # @@protoc_insertion_point(class_scope:LobbyMatchmakingLegacy_GetLobbyStatus_Request) + )) +_sym_db.RegisterMessage(LobbyMatchmakingLegacy_GetLobbyStatus_Request) + +LobbyMatchmakingLegacy_GetLobbyStatus_Response = _reflection.GeneratedProtocolMessageType('LobbyMatchmakingLegacy_GetLobbyStatus_Response', (_message.Message,), dict( + DESCRIPTOR = _LOBBYMATCHMAKINGLEGACY_GETLOBBYSTATUS_RESPONSE, + __module__ = 'steammessages_lobbymatchmaking_pb2' + # @@protoc_insertion_point(class_scope:LobbyMatchmakingLegacy_GetLobbyStatus_Response) + )) +_sym_db.RegisterMessage(LobbyMatchmakingLegacy_GetLobbyStatus_Response) + + +DESCRIPTOR._options = None + +_LOBBYMATCHMAKINGLEGACY = _descriptor.ServiceDescriptor( + name='LobbyMatchmakingLegacy', + full_name='LobbyMatchmakingLegacy', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\202\265\030 Lobby matchmaking legacy service'), + serialized_start=518, + serialized_end=716, + methods=[ + _descriptor.MethodDescriptor( + name='GetLobbyStatus', + full_name='LobbyMatchmakingLegacy.GetLobbyStatus', + index=0, + containing_service=None, + input_type=_LOBBYMATCHMAKINGLEGACY_GETLOBBYSTATUS_REQUEST, + output_type=_LOBBYMATCHMAKINGLEGACY_GETLOBBYSTATUS_RESPONSE, + serialized_options=_b('\202\265\030\016GetLobbyStatus'), + ), +]) +_sym_db.RegisterServiceDescriptor(_LOBBYMATCHMAKINGLEGACY) + +DESCRIPTOR.services_by_name['LobbyMatchmakingLegacy'] = _LOBBYMATCHMAKINGLEGACY + +LobbyMatchmakingLegacy = service_reflection.GeneratedServiceType('LobbyMatchmakingLegacy', (_service.Service,), dict( + DESCRIPTOR = _LOBBYMATCHMAKINGLEGACY, + __module__ = 'steammessages_lobbymatchmaking_pb2' + )) + +LobbyMatchmakingLegacy_Stub = service_reflection.GeneratedServiceStubType('LobbyMatchmakingLegacy_Stub', (LobbyMatchmakingLegacy,), dict( + DESCRIPTOR = _LOBBYMATCHMAKINGLEGACY, + __module__ = 'steammessages_lobbymatchmaking_pb2' + )) + + +# @@protoc_insertion_point(module_scope) diff --git a/steam/protobufs/steammessages_market_pb2.py b/steam/protobufs/steammessages_market_pb2.py new file mode 100644 index 0000000..d044dc4 --- /dev/null +++ b/steam/protobufs/steammessages_market_pb2.py @@ -0,0 +1,199 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: steammessages_market.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import service as _service +from google.protobuf import service_reflection +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +import steam.protobufs.steammessages_unified_base_pb2 as steammessages__unified__base__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='steammessages_market.proto', + package='', + syntax='proto2', + serialized_options=_b('\220\001\001'), + serialized_pb=_b('\n\x1asteammessages_market.proto\x1a steammessages_unified_base.proto\"n\n(CEconMarket_IsMarketplaceAllowed_Request\x12\x42\n\twebcookie\x18\x01 \x01(\tB/\x82\xb5\x18+The user\'s Steam Guard machine auth cookie.\"\xf5\x05\n)CEconMarket_IsMarketplaceAllowed_Response\x12I\n\x07\x61llowed\x18\x01 \x01(\x08\x42\x38\x82\xb5\x18\x34Whether or not the user is allowed to use the market\x12K\n\x06reason\x18\x02 \x01(\rB;\x82\xb5\x18\x37The reason the user can\'t use the market, if applicable\x12P\n\x0f\x61llowed_at_time\x18\x03 \x01(\rB7\x82\xb5\x18\x33The time the user will be allowed to use the market\x12\x84\x01\n\x18steamguard_required_days\x18\x04 \x01(\rBb\x82\xb5\x18^The number of days any user is required to have had Steam Guard before they can use the market\x12W\n\x0f\x66orms_requested\x18\x07 \x01(\x08\x42>\x82\xb5\x18:Whether or not we\'ve requested the user fill out tax forms\x12h\n\x1a\x66orms_require_verification\x18\x08 \x01(\x08\x42\x44\x82\xb5\x18@True if we\'ve received forms but they require verification first\x12\x93\x01\n\x18new_device_cooldown_days\x18\t \x01(\rBq\x82\xb5\x18mThe number of days after initial device authorization a user must wait before using the market on that device2\xee\x01\n\nEconMarket\x12\xb8\x01\n\x14IsMarketplaceAllowed\x12).CEconMarket_IsMarketplaceAllowed_Request\x1a*.CEconMarket_IsMarketplaceAllowed_Response\"I\x82\xb5\x18\x45\x43hecks whether or not the authed account is allowed to use the market\x1a%\x82\xb5\x18!A service to use market functionsB\x03\x90\x01\x01') + , + dependencies=[steammessages__unified__base__pb2.DESCRIPTOR,]) + + + + +_CECONMARKET_ISMARKETPLACEALLOWED_REQUEST = _descriptor.Descriptor( + name='CEconMarket_IsMarketplaceAllowed_Request', + full_name='CEconMarket_IsMarketplaceAllowed_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='webcookie', full_name='CEconMarket_IsMarketplaceAllowed_Request.webcookie', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\030+The user\'s Steam Guard machine auth cookie.'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=64, + serialized_end=174, +) + + +_CECONMARKET_ISMARKETPLACEALLOWED_RESPONSE = _descriptor.Descriptor( + name='CEconMarket_IsMarketplaceAllowed_Response', + full_name='CEconMarket_IsMarketplaceAllowed_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='allowed', full_name='CEconMarket_IsMarketplaceAllowed_Response.allowed', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\0304Whether or not the user is allowed to use the market'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='reason', full_name='CEconMarket_IsMarketplaceAllowed_Response.reason', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\0307The reason the user can\'t use the market, if applicable'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='allowed_at_time', full_name='CEconMarket_IsMarketplaceAllowed_Response.allowed_at_time', index=2, + number=3, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\0303The time the user will be allowed to use the market'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='steamguard_required_days', full_name='CEconMarket_IsMarketplaceAllowed_Response.steamguard_required_days', index=3, + number=4, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\030^The number of days any user is required to have had Steam Guard before they can use the market'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='forms_requested', full_name='CEconMarket_IsMarketplaceAllowed_Response.forms_requested', index=4, + number=7, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\030:Whether or not we\'ve requested the user fill out tax forms'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='forms_require_verification', full_name='CEconMarket_IsMarketplaceAllowed_Response.forms_require_verification', index=5, + number=8, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\030@True if we\'ve received forms but they require verification first'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='new_device_cooldown_days', full_name='CEconMarket_IsMarketplaceAllowed_Response.new_device_cooldown_days', index=6, + number=9, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\202\265\030mThe number of days after initial device authorization a user must wait before using the market on that device'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=177, + serialized_end=934, +) + +DESCRIPTOR.message_types_by_name['CEconMarket_IsMarketplaceAllowed_Request'] = _CECONMARKET_ISMARKETPLACEALLOWED_REQUEST +DESCRIPTOR.message_types_by_name['CEconMarket_IsMarketplaceAllowed_Response'] = _CECONMARKET_ISMARKETPLACEALLOWED_RESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CEconMarket_IsMarketplaceAllowed_Request = _reflection.GeneratedProtocolMessageType('CEconMarket_IsMarketplaceAllowed_Request', (_message.Message,), dict( + DESCRIPTOR = _CECONMARKET_ISMARKETPLACEALLOWED_REQUEST, + __module__ = 'steammessages_market_pb2' + # @@protoc_insertion_point(class_scope:CEconMarket_IsMarketplaceAllowed_Request) + )) +_sym_db.RegisterMessage(CEconMarket_IsMarketplaceAllowed_Request) + +CEconMarket_IsMarketplaceAllowed_Response = _reflection.GeneratedProtocolMessageType('CEconMarket_IsMarketplaceAllowed_Response', (_message.Message,), dict( + DESCRIPTOR = _CECONMARKET_ISMARKETPLACEALLOWED_RESPONSE, + __module__ = 'steammessages_market_pb2' + # @@protoc_insertion_point(class_scope:CEconMarket_IsMarketplaceAllowed_Response) + )) +_sym_db.RegisterMessage(CEconMarket_IsMarketplaceAllowed_Response) + + +DESCRIPTOR._options = None +_CECONMARKET_ISMARKETPLACEALLOWED_REQUEST.fields_by_name['webcookie']._options = None +_CECONMARKET_ISMARKETPLACEALLOWED_RESPONSE.fields_by_name['allowed']._options = None +_CECONMARKET_ISMARKETPLACEALLOWED_RESPONSE.fields_by_name['reason']._options = None +_CECONMARKET_ISMARKETPLACEALLOWED_RESPONSE.fields_by_name['allowed_at_time']._options = None +_CECONMARKET_ISMARKETPLACEALLOWED_RESPONSE.fields_by_name['steamguard_required_days']._options = None +_CECONMARKET_ISMARKETPLACEALLOWED_RESPONSE.fields_by_name['forms_requested']._options = None +_CECONMARKET_ISMARKETPLACEALLOWED_RESPONSE.fields_by_name['forms_require_verification']._options = None +_CECONMARKET_ISMARKETPLACEALLOWED_RESPONSE.fields_by_name['new_device_cooldown_days']._options = None + +_ECONMARKET = _descriptor.ServiceDescriptor( + name='EconMarket', + full_name='EconMarket', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\202\265\030!A service to use market functions'), + serialized_start=937, + serialized_end=1175, + methods=[ + _descriptor.MethodDescriptor( + name='IsMarketplaceAllowed', + full_name='EconMarket.IsMarketplaceAllowed', + index=0, + containing_service=None, + input_type=_CECONMARKET_ISMARKETPLACEALLOWED_REQUEST, + output_type=_CECONMARKET_ISMARKETPLACEALLOWED_RESPONSE, + serialized_options=_b('\202\265\030EChecks whether or not the authed account is allowed to use the market'), + ), +]) +_sym_db.RegisterServiceDescriptor(_ECONMARKET) + +DESCRIPTOR.services_by_name['EconMarket'] = _ECONMARKET + +EconMarket = service_reflection.GeneratedServiceType('EconMarket', (_service.Service,), dict( + DESCRIPTOR = _ECONMARKET, + __module__ = 'steammessages_market_pb2' + )) + +EconMarket_Stub = service_reflection.GeneratedServiceStubType('EconMarket_Stub', (EconMarket,), dict( + DESCRIPTOR = _ECONMARKET, + __module__ = 'steammessages_market_pb2' + )) + + +# @@protoc_insertion_point(module_scope) diff --git a/steam/protobufs/steammessages_parties_pb2.py b/steam/protobufs/steammessages_parties_pb2.py new file mode 100644 index 0000000..7988a71 --- /dev/null +++ b/steam/protobufs/steammessages_parties_pb2.py @@ -0,0 +1,694 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: steammessages_parties.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import service as _service +from google.protobuf import service_reflection +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +import steam.protobufs.steammessages_unified_base_pb2 as steammessages__unified__base__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='steammessages_parties.proto', + package='', + syntax='proto2', + serialized_options=_b('\220\001\001'), + serialized_pb=_b('\n\x1bsteammessages_parties.proto\x1a steammessages_unified_base.proto\"@\n\x1a\x43Parties_JoinParty_Request\x12\x0f\n\x07steamid\x18\x01 \x01(\x06\x12\x11\n\tbeacon_id\x18\x02 \x01(\x04\"H\n\x1b\x43Parties_JoinParty_Response\x12\x11\n\tbeacon_id\x18\x01 \x01(\x04\x12\x16\n\x0e\x63onnect_string\x18\x02 \x01(\t\"E\n\x17\x43Parties_BeaconLocation\x12\x15\n\rlocation_type\x18\x01 \x01(\r\x12\x13\n\x0blocation_id\x18\x02 \x01(\x04\"\x9d\x01\n\x1d\x43Parties_CreateBeacon_Request\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12\x16\n\x0enum_open_slots\x18\x02 \x01(\r\x12+\n\tlocations\x18\x03 \x03(\x0b\x32\x18.CParties_BeaconLocation\x12\x16\n\x0e\x63onnect_string\x18\x04 \x01(\t\x12\x10\n\x08metadata\x18\x05 \x01(\t\"3\n\x1e\x43Parties_CreateBeacon_Response\x12\x11\n\tbeacon_id\x18\x01 \x01(\x04\"R\n\'CParties_OnReservationCompleted_Request\x12\x11\n\tbeacon_id\x18\x01 \x01(\x04\x12\x14\n\x0cuser_steamid\x18\x02 \x01(\x06\"=\n(CParties_OnReservationCompleted_Response\x12\x11\n\tbeacon_id\x18\x01 \x01(\x04\"M\n\"CParties_CancelReservation_Request\x12\x11\n\tbeacon_id\x18\x01 \x01(\x04\x12\x14\n\x0cuser_steamid\x18\x02 \x01(\x06\"8\n#CParties_CancelReservation_Response\x12\x11\n\tbeacon_id\x18\x01 \x01(\x04\"P\n#CParties_ChangeNumOpenSlots_Request\x12\x11\n\tbeacon_id\x18\x01 \x01(\x04\x12\x16\n\x0enum_open_slots\x18\x02 \x01(\r\"9\n$CParties_ChangeNumOpenSlots_Response\x12\x11\n\tbeacon_id\x18\x01 \x01(\x04\"3\n\x1e\x43Parties_DestroyBeacon_Request\x12\x11\n\tbeacon_id\x18\x01 \x01(\x04\"4\n\x1f\x43Parties_DestroyBeacon_Response\x12\x11\n\tbeacon_id\x18\x01 \x01(\x04\x32\xd9\x07\n\x07Parties\x12\xb9\x01\n\tJoinParty\x12\x1b.CParties_JoinParty_Request\x1a\x1c.CParties_JoinParty_Response\"q\x82\xb5\x18mRequest to join a Party via the given Beacon ID. If successful, will be given the necessary \'connect\' string.\x12\x85\x01\n\x0c\x43reateBeacon\x12\x1e.CParties_CreateBeacon_Request\x1a\x1f.CParties_CreateBeacon_Response\"4\x82\xb5\x18\x30\x43reate a Beacon to attract people to your Party.\x12\xb7\x01\n\x16OnReservationCompleted\x12(.CParties_OnReservationCompleted_Request\x1a).CParties_OnReservationCompleted_Response\"H\x82\xb5\x18\x44Notify Steam that a user with a reservation has successfully joined.\x12\xbe\x01\n\x11\x43\x61ncelReservation\x12#.CParties_CancelReservation_Request\x1a$.CParties_CancelReservation_Response\"^\x82\xb5\x18ZNotify Steam that a user with a reservation either never showed up, or has left the party.\x12\x86\x01\n\x12\x43hangeNumOpenSlots\x12$.CParties_ChangeNumOpenSlots_Request\x1a%.CParties_ChangeNumOpenSlots_Response\"#\x82\xb5\x18\x1f\x43hange the number of open slots\x12j\n\rDestroyBeacon\x12\x1f.CParties_DestroyBeacon_Request\x1a .CParties_DestroyBeacon_Response\"\x16\x82\xb5\x18\x12\x44\x65lete the Beacon.\x1a\x1a\x82\xb5\x18\x16Party-related servicesB\x03\x90\x01\x01') + , + dependencies=[steammessages__unified__base__pb2.DESCRIPTOR,]) + + + + +_CPARTIES_JOINPARTY_REQUEST = _descriptor.Descriptor( + name='CParties_JoinParty_Request', + full_name='CParties_JoinParty_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='steamid', full_name='CParties_JoinParty_Request.steamid', index=0, + number=1, type=6, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='beacon_id', full_name='CParties_JoinParty_Request.beacon_id', index=1, + number=2, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=65, + serialized_end=129, +) + + +_CPARTIES_JOINPARTY_RESPONSE = _descriptor.Descriptor( + name='CParties_JoinParty_Response', + full_name='CParties_JoinParty_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='beacon_id', full_name='CParties_JoinParty_Response.beacon_id', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='connect_string', full_name='CParties_JoinParty_Response.connect_string', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=203, +) + + +_CPARTIES_BEACONLOCATION = _descriptor.Descriptor( + name='CParties_BeaconLocation', + full_name='CParties_BeaconLocation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='location_type', full_name='CParties_BeaconLocation.location_type', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='location_id', full_name='CParties_BeaconLocation.location_id', index=1, + number=2, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=205, + serialized_end=274, +) + + +_CPARTIES_CREATEBEACON_REQUEST = _descriptor.Descriptor( + name='CParties_CreateBeacon_Request', + full_name='CParties_CreateBeacon_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='appid', full_name='CParties_CreateBeacon_Request.appid', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='num_open_slots', full_name='CParties_CreateBeacon_Request.num_open_slots', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='locations', full_name='CParties_CreateBeacon_Request.locations', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='connect_string', full_name='CParties_CreateBeacon_Request.connect_string', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='metadata', full_name='CParties_CreateBeacon_Request.metadata', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=277, + serialized_end=434, +) + + +_CPARTIES_CREATEBEACON_RESPONSE = _descriptor.Descriptor( + name='CParties_CreateBeacon_Response', + full_name='CParties_CreateBeacon_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='beacon_id', full_name='CParties_CreateBeacon_Response.beacon_id', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=436, + serialized_end=487, +) + + +_CPARTIES_ONRESERVATIONCOMPLETED_REQUEST = _descriptor.Descriptor( + name='CParties_OnReservationCompleted_Request', + full_name='CParties_OnReservationCompleted_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='beacon_id', full_name='CParties_OnReservationCompleted_Request.beacon_id', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='user_steamid', full_name='CParties_OnReservationCompleted_Request.user_steamid', index=1, + number=2, type=6, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=489, + serialized_end=571, +) + + +_CPARTIES_ONRESERVATIONCOMPLETED_RESPONSE = _descriptor.Descriptor( + name='CParties_OnReservationCompleted_Response', + full_name='CParties_OnReservationCompleted_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='beacon_id', full_name='CParties_OnReservationCompleted_Response.beacon_id', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=573, + serialized_end=634, +) + + +_CPARTIES_CANCELRESERVATION_REQUEST = _descriptor.Descriptor( + name='CParties_CancelReservation_Request', + full_name='CParties_CancelReservation_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='beacon_id', full_name='CParties_CancelReservation_Request.beacon_id', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='user_steamid', full_name='CParties_CancelReservation_Request.user_steamid', index=1, + number=2, type=6, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=636, + serialized_end=713, +) + + +_CPARTIES_CANCELRESERVATION_RESPONSE = _descriptor.Descriptor( + name='CParties_CancelReservation_Response', + full_name='CParties_CancelReservation_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='beacon_id', full_name='CParties_CancelReservation_Response.beacon_id', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=715, + serialized_end=771, +) + + +_CPARTIES_CHANGENUMOPENSLOTS_REQUEST = _descriptor.Descriptor( + name='CParties_ChangeNumOpenSlots_Request', + full_name='CParties_ChangeNumOpenSlots_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='beacon_id', full_name='CParties_ChangeNumOpenSlots_Request.beacon_id', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='num_open_slots', full_name='CParties_ChangeNumOpenSlots_Request.num_open_slots', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=773, + serialized_end=853, +) + + +_CPARTIES_CHANGENUMOPENSLOTS_RESPONSE = _descriptor.Descriptor( + name='CParties_ChangeNumOpenSlots_Response', + full_name='CParties_ChangeNumOpenSlots_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='beacon_id', full_name='CParties_ChangeNumOpenSlots_Response.beacon_id', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=855, + serialized_end=912, +) + + +_CPARTIES_DESTROYBEACON_REQUEST = _descriptor.Descriptor( + name='CParties_DestroyBeacon_Request', + full_name='CParties_DestroyBeacon_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='beacon_id', full_name='CParties_DestroyBeacon_Request.beacon_id', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=914, + serialized_end=965, +) + + +_CPARTIES_DESTROYBEACON_RESPONSE = _descriptor.Descriptor( + name='CParties_DestroyBeacon_Response', + full_name='CParties_DestroyBeacon_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='beacon_id', full_name='CParties_DestroyBeacon_Response.beacon_id', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=967, + serialized_end=1019, +) + +_CPARTIES_CREATEBEACON_REQUEST.fields_by_name['locations'].message_type = _CPARTIES_BEACONLOCATION +DESCRIPTOR.message_types_by_name['CParties_JoinParty_Request'] = _CPARTIES_JOINPARTY_REQUEST +DESCRIPTOR.message_types_by_name['CParties_JoinParty_Response'] = _CPARTIES_JOINPARTY_RESPONSE +DESCRIPTOR.message_types_by_name['CParties_BeaconLocation'] = _CPARTIES_BEACONLOCATION +DESCRIPTOR.message_types_by_name['CParties_CreateBeacon_Request'] = _CPARTIES_CREATEBEACON_REQUEST +DESCRIPTOR.message_types_by_name['CParties_CreateBeacon_Response'] = _CPARTIES_CREATEBEACON_RESPONSE +DESCRIPTOR.message_types_by_name['CParties_OnReservationCompleted_Request'] = _CPARTIES_ONRESERVATIONCOMPLETED_REQUEST +DESCRIPTOR.message_types_by_name['CParties_OnReservationCompleted_Response'] = _CPARTIES_ONRESERVATIONCOMPLETED_RESPONSE +DESCRIPTOR.message_types_by_name['CParties_CancelReservation_Request'] = _CPARTIES_CANCELRESERVATION_REQUEST +DESCRIPTOR.message_types_by_name['CParties_CancelReservation_Response'] = _CPARTIES_CANCELRESERVATION_RESPONSE +DESCRIPTOR.message_types_by_name['CParties_ChangeNumOpenSlots_Request'] = _CPARTIES_CHANGENUMOPENSLOTS_REQUEST +DESCRIPTOR.message_types_by_name['CParties_ChangeNumOpenSlots_Response'] = _CPARTIES_CHANGENUMOPENSLOTS_RESPONSE +DESCRIPTOR.message_types_by_name['CParties_DestroyBeacon_Request'] = _CPARTIES_DESTROYBEACON_REQUEST +DESCRIPTOR.message_types_by_name['CParties_DestroyBeacon_Response'] = _CPARTIES_DESTROYBEACON_RESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CParties_JoinParty_Request = _reflection.GeneratedProtocolMessageType('CParties_JoinParty_Request', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_JOINPARTY_REQUEST, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_JoinParty_Request) + )) +_sym_db.RegisterMessage(CParties_JoinParty_Request) + +CParties_JoinParty_Response = _reflection.GeneratedProtocolMessageType('CParties_JoinParty_Response', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_JOINPARTY_RESPONSE, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_JoinParty_Response) + )) +_sym_db.RegisterMessage(CParties_JoinParty_Response) + +CParties_BeaconLocation = _reflection.GeneratedProtocolMessageType('CParties_BeaconLocation', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_BEACONLOCATION, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_BeaconLocation) + )) +_sym_db.RegisterMessage(CParties_BeaconLocation) + +CParties_CreateBeacon_Request = _reflection.GeneratedProtocolMessageType('CParties_CreateBeacon_Request', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_CREATEBEACON_REQUEST, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_CreateBeacon_Request) + )) +_sym_db.RegisterMessage(CParties_CreateBeacon_Request) + +CParties_CreateBeacon_Response = _reflection.GeneratedProtocolMessageType('CParties_CreateBeacon_Response', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_CREATEBEACON_RESPONSE, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_CreateBeacon_Response) + )) +_sym_db.RegisterMessage(CParties_CreateBeacon_Response) + +CParties_OnReservationCompleted_Request = _reflection.GeneratedProtocolMessageType('CParties_OnReservationCompleted_Request', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_ONRESERVATIONCOMPLETED_REQUEST, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_OnReservationCompleted_Request) + )) +_sym_db.RegisterMessage(CParties_OnReservationCompleted_Request) + +CParties_OnReservationCompleted_Response = _reflection.GeneratedProtocolMessageType('CParties_OnReservationCompleted_Response', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_ONRESERVATIONCOMPLETED_RESPONSE, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_OnReservationCompleted_Response) + )) +_sym_db.RegisterMessage(CParties_OnReservationCompleted_Response) + +CParties_CancelReservation_Request = _reflection.GeneratedProtocolMessageType('CParties_CancelReservation_Request', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_CANCELRESERVATION_REQUEST, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_CancelReservation_Request) + )) +_sym_db.RegisterMessage(CParties_CancelReservation_Request) + +CParties_CancelReservation_Response = _reflection.GeneratedProtocolMessageType('CParties_CancelReservation_Response', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_CANCELRESERVATION_RESPONSE, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_CancelReservation_Response) + )) +_sym_db.RegisterMessage(CParties_CancelReservation_Response) + +CParties_ChangeNumOpenSlots_Request = _reflection.GeneratedProtocolMessageType('CParties_ChangeNumOpenSlots_Request', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_CHANGENUMOPENSLOTS_REQUEST, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_ChangeNumOpenSlots_Request) + )) +_sym_db.RegisterMessage(CParties_ChangeNumOpenSlots_Request) + +CParties_ChangeNumOpenSlots_Response = _reflection.GeneratedProtocolMessageType('CParties_ChangeNumOpenSlots_Response', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_CHANGENUMOPENSLOTS_RESPONSE, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_ChangeNumOpenSlots_Response) + )) +_sym_db.RegisterMessage(CParties_ChangeNumOpenSlots_Response) + +CParties_DestroyBeacon_Request = _reflection.GeneratedProtocolMessageType('CParties_DestroyBeacon_Request', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_DESTROYBEACON_REQUEST, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_DestroyBeacon_Request) + )) +_sym_db.RegisterMessage(CParties_DestroyBeacon_Request) + +CParties_DestroyBeacon_Response = _reflection.GeneratedProtocolMessageType('CParties_DestroyBeacon_Response', (_message.Message,), dict( + DESCRIPTOR = _CPARTIES_DESTROYBEACON_RESPONSE, + __module__ = 'steammessages_parties_pb2' + # @@protoc_insertion_point(class_scope:CParties_DestroyBeacon_Response) + )) +_sym_db.RegisterMessage(CParties_DestroyBeacon_Response) + + +DESCRIPTOR._options = None + +_PARTIES = _descriptor.ServiceDescriptor( + name='Parties', + full_name='Parties', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\202\265\030\026Party-related services'), + serialized_start=1022, + serialized_end=2007, + methods=[ + _descriptor.MethodDescriptor( + name='JoinParty', + full_name='Parties.JoinParty', + index=0, + containing_service=None, + input_type=_CPARTIES_JOINPARTY_REQUEST, + output_type=_CPARTIES_JOINPARTY_RESPONSE, + serialized_options=_b('\202\265\030mRequest to join a Party via the given Beacon ID. If successful, will be given the necessary \'connect\' string.'), + ), + _descriptor.MethodDescriptor( + name='CreateBeacon', + full_name='Parties.CreateBeacon', + index=1, + containing_service=None, + input_type=_CPARTIES_CREATEBEACON_REQUEST, + output_type=_CPARTIES_CREATEBEACON_RESPONSE, + serialized_options=_b('\202\265\0300Create a Beacon to attract people to your Party.'), + ), + _descriptor.MethodDescriptor( + name='OnReservationCompleted', + full_name='Parties.OnReservationCompleted', + index=2, + containing_service=None, + input_type=_CPARTIES_ONRESERVATIONCOMPLETED_REQUEST, + output_type=_CPARTIES_ONRESERVATIONCOMPLETED_RESPONSE, + serialized_options=_b('\202\265\030DNotify Steam that a user with a reservation has successfully joined.'), + ), + _descriptor.MethodDescriptor( + name='CancelReservation', + full_name='Parties.CancelReservation', + index=3, + containing_service=None, + input_type=_CPARTIES_CANCELRESERVATION_REQUEST, + output_type=_CPARTIES_CANCELRESERVATION_RESPONSE, + serialized_options=_b('\202\265\030ZNotify Steam that a user with a reservation either never showed up, or has left the party.'), + ), + _descriptor.MethodDescriptor( + name='ChangeNumOpenSlots', + full_name='Parties.ChangeNumOpenSlots', + index=4, + containing_service=None, + input_type=_CPARTIES_CHANGENUMOPENSLOTS_REQUEST, + output_type=_CPARTIES_CHANGENUMOPENSLOTS_RESPONSE, + serialized_options=_b('\202\265\030\037Change the number of open slots'), + ), + _descriptor.MethodDescriptor( + name='DestroyBeacon', + full_name='Parties.DestroyBeacon', + index=5, + containing_service=None, + input_type=_CPARTIES_DESTROYBEACON_REQUEST, + output_type=_CPARTIES_DESTROYBEACON_RESPONSE, + serialized_options=_b('\202\265\030\022Delete the Beacon.'), + ), +]) +_sym_db.RegisterServiceDescriptor(_PARTIES) + +DESCRIPTOR.services_by_name['Parties'] = _PARTIES + +Parties = service_reflection.GeneratedServiceType('Parties', (_service.Service,), dict( + DESCRIPTOR = _PARTIES, + __module__ = 'steammessages_parties_pb2' + )) + +Parties_Stub = service_reflection.GeneratedServiceStubType('Parties_Stub', (Parties,), dict( + DESCRIPTOR = _PARTIES, + __module__ = 'steammessages_parties_pb2' + )) + + +# @@protoc_insertion_point(module_scope) diff --git a/steam/protobufs/steammessages_qms_pb2.py b/steam/protobufs/steammessages_qms_pb2.py new file mode 100644 index 0000000..acac639 --- /dev/null +++ b/steam/protobufs/steammessages_qms_pb2.py @@ -0,0 +1,903 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: steammessages_qms.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import service as _service +from google.protobuf import service_reflection +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +import steam.protobufs.steammessages_unified_base_pb2 as steammessages__unified__base__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='steammessages_qms.proto', + package='', + syntax='proto2', + serialized_options=_b('\220\001\001'), + serialized_pb=_b('\n\x17steammessages_qms.proto\x1a steammessages_unified_base.proto\"2\n\x0fGameSearchParam\x12\x10\n\x08key_name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x03(\t\"\xe9\x01\n(CQueuedMatchmaking_SearchForGame_Request\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12<\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x12.EGameSearchAction:\x18k_EGameSearchAction_None\x12 \n\x06params\x18\x03 \x03(\x0b\x32\x10.GameSearchParam\x12\x12\n\nplayer_min\x18\x04 \x01(\r\x12\x12\n\nplayer_max\x18\x05 \x01(\r\x12\x14\n\x0csteamidlobby\x18\x06 \x01(\x06\x12\x10\n\x08searchid\x18\x07 \x01(\x04\"\x87\x03\n)CQueuedMatchmaking_SearchForGame_Response\x12I\n\x10gamesearchresult\x18\x01 \x01(\x0e\x32\x12.EGameSearchResult:\x1bk_EGameSearchResult_Invalid\x12\x10\n\x08searchid\x18\x02 \x01(\x04\x12\x1d\n\x15seconds_time_estimate\x18\x03 \x01(\r\x12\x16\n\x0epoll_frequency\x18\x04 \x01(\r\x12\x17\n\x0f\x63ount_searching\x18\x05 \x01(\r\x12\x18\n\x10players_in_match\x18\x06 \x01(\r\x12\x18\n\x10players_accepted\x18\x07 \x01(\r\x12\x16\n\x0e\x63onnect_string\x18\t \x01(\t\x12\x13\n\x0bsteamidhost\x18\n \x01(\x06\x12\x18\n\x10rtime_match_made\x18\x0b \x01(\r\x12\x11\n\trtime_now\x18\x0c \x01(\r\x12\x1f\n\x17steamid_canceled_search\x18\r \x01(\x06\"\x97\x02\n3CQueuedMatchmakingGameHost_SearchForPlayers_Request\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12<\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x12.EGameSearchAction:\x18k_EGameSearchAction_None\x12 \n\x06params\x18\x03 \x03(\x0b\x32\x10.GameSearchParam\x12\x12\n\nplayer_min\x18\x04 \x01(\r\x12\x12\n\nplayer_max\x18\x05 \x01(\r\x12\x1c\n\x14player_max_team_size\x18\x06 \x01(\r\x12\x19\n\x11\x63onnection_string\x18\x07 \x01(\t\x12\x10\n\x08searchid\x18\x08 \x01(\x04\"\x93\x01\n\x0bPlayerFound\x12\x0f\n\x07steamid\x18\x01 \x01(\x06\x12<\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x12.EGameSearchAction:\x18k_EGameSearchAction_None\x12 \n\x06params\x18\x03 \x03(\x0b\x32\x10.GameSearchParam\x12\x13\n\x0bteam_number\x18\x04 \x01(\r\"\x88\x02\n4CQueuedMatchmakingGameHost_SearchForPlayers_Response\x12I\n\x10gamesearchresult\x18\x01 \x01(\x0e\x32\x12.EGameSearchResult:\x1bk_EGameSearchResult_Invalid\x12\x10\n\x08searchid\x18\x02 \x01(\x04\x12\x16\n\x0epoll_frequency\x18\x03 \x01(\r\x12\x0f\n\x07matchid\x18\x04 \x01(\x04\x12\x1d\n\x07players\x18\x05 \x03(\x0b\x32\x0c.PlayerFound\x12\x18\n\x10rtime_match_made\x18\x06 \x01(\r\x12\x11\n\trtime_now\x18\x07 \x01(\r\".\n\x0cPlayerResult\x12\x0f\n\x07steamid\x18\x01 \x01(\x06\x12\r\n\x05value\x18\x02 \x01(\r\"~\n5CQueuedMatchmakingGameHost_SubmitPlayerResult_Request\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12\x0f\n\x07matchid\x18\x02 \x01(\x04\x12%\n\x0eplayer_results\x18\x03 \x03(\x0b\x32\r.PlayerResult\"8\n6CQueuedMatchmakingGameHost_SubmitPlayerResult_Response\"L\n*CQueuedMatchmakingGameHost_EndGame_Request\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12\x0f\n\x07matchid\x18\x02 \x01(\x04\"-\n+CQueuedMatchmakingGameHost_EndGame_Response*\x92\x01\n\x11\x45GameSearchAction\x12\x1c\n\x18k_EGameSearchAction_None\x10\x00\x12\x1e\n\x1ak_EGameSearchAction_Accept\x10\x01\x12\x1f\n\x1bk_EGameSearchAction_Decline\x10\x02\x12\x1e\n\x1ak_EGameSearchAction_Cancel\x10\x03*\xbc\x02\n\x11\x45GameSearchResult\x12\x1f\n\x1bk_EGameSearchResult_Invalid\x10\x00\x12(\n$k_EGameSearchResult_SearchInProgress\x10\x01\x12+\n\'k_EGameSearchResult_SearchFailedNoHosts\x10\x02\x12\'\n#k_EGameSearchResult_SearchGameFound\x10\x03\x12.\n*k_EGameSearchResult_SearchCompleteAccepted\x10\x04\x12.\n*k_EGameSearchResult_SearchCompleteDeclined\x10\x05\x12&\n\"k_EGameSearchResult_SearchCanceled\x10\x06\x32\xb2\x01\n\x11QueuedMatchmaking\x12}\n\rSearchForGame\x12).CQueuedMatchmaking_SearchForGame_Request\x1a*.CQueuedMatchmaking_SearchForGame_Response\"\x15\x82\xb5\x18\x11Search for a game\x1a\x1e\x82\xb5\x18\x1aQueued matchmaking service2\xeb\x03\n\x19QueuedMatchmakingGameHost\x12\x95\x01\n\x10SearchForPlayers\x12\x34.CQueuedMatchmakingGameHost_SearchForPlayers_Request\x1a\x35.CQueuedMatchmakingGameHost_SearchForPlayers_Response\"\x14\x82\xb5\x18\x10SearchForPlayers\x12\x9d\x01\n\x12SubmitPlayerResult\x12\x36.CQueuedMatchmakingGameHost_SubmitPlayerResult_Request\x1a\x37.CQueuedMatchmakingGameHost_SubmitPlayerResult_Response\"\x16\x82\xb5\x18\x12SubmitPlayerResult\x12q\n\x07\x45ndGame\x12+.CQueuedMatchmakingGameHost_EndGame_Request\x1a,.CQueuedMatchmakingGameHost_EndGame_Response\"\x0b\x82\xb5\x18\x07\x45ndGame\x1a#\x82\xb5\x18\x1fQueued matchmaking host serviceB\x03\x90\x01\x01') + , + dependencies=[steammessages__unified__base__pb2.DESCRIPTOR,]) + +_EGAMESEARCHACTION = _descriptor.EnumDescriptor( + name='EGameSearchAction', + full_name='EGameSearchAction', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='k_EGameSearchAction_None', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_EGameSearchAction_Accept', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_EGameSearchAction_Decline', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_EGameSearchAction_Cancel', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=1802, + serialized_end=1948, +) +_sym_db.RegisterEnumDescriptor(_EGAMESEARCHACTION) + +EGameSearchAction = enum_type_wrapper.EnumTypeWrapper(_EGAMESEARCHACTION) +_EGAMESEARCHRESULT = _descriptor.EnumDescriptor( + name='EGameSearchResult', + full_name='EGameSearchResult', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='k_EGameSearchResult_Invalid', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_EGameSearchResult_SearchInProgress', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_EGameSearchResult_SearchFailedNoHosts', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_EGameSearchResult_SearchGameFound', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_EGameSearchResult_SearchCompleteAccepted', index=4, number=4, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_EGameSearchResult_SearchCompleteDeclined', index=5, number=5, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='k_EGameSearchResult_SearchCanceled', index=6, number=6, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=1951, + serialized_end=2267, +) +_sym_db.RegisterEnumDescriptor(_EGAMESEARCHRESULT) + +EGameSearchResult = enum_type_wrapper.EnumTypeWrapper(_EGAMESEARCHRESULT) +k_EGameSearchAction_None = 0 +k_EGameSearchAction_Accept = 1 +k_EGameSearchAction_Decline = 2 +k_EGameSearchAction_Cancel = 3 +k_EGameSearchResult_Invalid = 0 +k_EGameSearchResult_SearchInProgress = 1 +k_EGameSearchResult_SearchFailedNoHosts = 2 +k_EGameSearchResult_SearchGameFound = 3 +k_EGameSearchResult_SearchCompleteAccepted = 4 +k_EGameSearchResult_SearchCompleteDeclined = 5 +k_EGameSearchResult_SearchCanceled = 6 + + + +_GAMESEARCHPARAM = _descriptor.Descriptor( + name='GameSearchParam', + full_name='GameSearchParam', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key_name', full_name='GameSearchParam.key_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='GameSearchParam.value', index=1, + number=2, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=61, + serialized_end=111, +) + + +_CQUEUEDMATCHMAKING_SEARCHFORGAME_REQUEST = _descriptor.Descriptor( + name='CQueuedMatchmaking_SearchForGame_Request', + full_name='CQueuedMatchmaking_SearchForGame_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='appid', full_name='CQueuedMatchmaking_SearchForGame_Request.appid', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='action', full_name='CQueuedMatchmaking_SearchForGame_Request.action', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=True, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='params', full_name='CQueuedMatchmaking_SearchForGame_Request.params', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='player_min', full_name='CQueuedMatchmaking_SearchForGame_Request.player_min', index=3, + number=4, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='player_max', full_name='CQueuedMatchmaking_SearchForGame_Request.player_max', index=4, + number=5, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='steamidlobby', full_name='CQueuedMatchmaking_SearchForGame_Request.steamidlobby', index=5, + number=6, type=6, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='searchid', full_name='CQueuedMatchmaking_SearchForGame_Request.searchid', index=6, + number=7, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=114, + serialized_end=347, +) + + +_CQUEUEDMATCHMAKING_SEARCHFORGAME_RESPONSE = _descriptor.Descriptor( + name='CQueuedMatchmaking_SearchForGame_Response', + full_name='CQueuedMatchmaking_SearchForGame_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='gamesearchresult', full_name='CQueuedMatchmaking_SearchForGame_Response.gamesearchresult', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=True, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='searchid', full_name='CQueuedMatchmaking_SearchForGame_Response.searchid', index=1, + number=2, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='seconds_time_estimate', full_name='CQueuedMatchmaking_SearchForGame_Response.seconds_time_estimate', index=2, + number=3, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='poll_frequency', full_name='CQueuedMatchmaking_SearchForGame_Response.poll_frequency', index=3, + number=4, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='count_searching', full_name='CQueuedMatchmaking_SearchForGame_Response.count_searching', index=4, + number=5, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='players_in_match', full_name='CQueuedMatchmaking_SearchForGame_Response.players_in_match', index=5, + number=6, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='players_accepted', full_name='CQueuedMatchmaking_SearchForGame_Response.players_accepted', index=6, + number=7, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='connect_string', full_name='CQueuedMatchmaking_SearchForGame_Response.connect_string', index=7, + number=9, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='steamidhost', full_name='CQueuedMatchmaking_SearchForGame_Response.steamidhost', index=8, + number=10, type=6, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='rtime_match_made', full_name='CQueuedMatchmaking_SearchForGame_Response.rtime_match_made', index=9, + number=11, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='rtime_now', full_name='CQueuedMatchmaking_SearchForGame_Response.rtime_now', index=10, + number=12, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='steamid_canceled_search', full_name='CQueuedMatchmaking_SearchForGame_Response.steamid_canceled_search', index=11, + number=13, type=6, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=350, + serialized_end=741, +) + + +_CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_REQUEST = _descriptor.Descriptor( + name='CQueuedMatchmakingGameHost_SearchForPlayers_Request', + full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='appid', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Request.appid', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='action', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Request.action', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=True, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='params', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Request.params', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='player_min', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Request.player_min', index=3, + number=4, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='player_max', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Request.player_max', index=4, + number=5, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='player_max_team_size', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Request.player_max_team_size', index=5, + number=6, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='connection_string', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Request.connection_string', index=6, + number=7, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='searchid', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Request.searchid', index=7, + number=8, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=744, + serialized_end=1023, +) + + +_PLAYERFOUND = _descriptor.Descriptor( + name='PlayerFound', + full_name='PlayerFound', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='steamid', full_name='PlayerFound.steamid', index=0, + number=1, type=6, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='action', full_name='PlayerFound.action', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=True, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='params', full_name='PlayerFound.params', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='team_number', full_name='PlayerFound.team_number', index=3, + number=4, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1026, + serialized_end=1173, +) + + +_CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_RESPONSE = _descriptor.Descriptor( + name='CQueuedMatchmakingGameHost_SearchForPlayers_Response', + full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='gamesearchresult', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Response.gamesearchresult', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=True, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='searchid', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Response.searchid', index=1, + number=2, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='poll_frequency', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Response.poll_frequency', index=2, + number=3, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='matchid', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Response.matchid', index=3, + number=4, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='players', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Response.players', index=4, + number=5, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='rtime_match_made', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Response.rtime_match_made', index=5, + number=6, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='rtime_now', full_name='CQueuedMatchmakingGameHost_SearchForPlayers_Response.rtime_now', index=6, + number=7, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1176, + serialized_end=1440, +) + + +_PLAYERRESULT = _descriptor.Descriptor( + name='PlayerResult', + full_name='PlayerResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='steamid', full_name='PlayerResult.steamid', index=0, + number=1, type=6, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='PlayerResult.value', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1442, + serialized_end=1488, +) + + +_CQUEUEDMATCHMAKINGGAMEHOST_SUBMITPLAYERRESULT_REQUEST = _descriptor.Descriptor( + name='CQueuedMatchmakingGameHost_SubmitPlayerResult_Request', + full_name='CQueuedMatchmakingGameHost_SubmitPlayerResult_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='appid', full_name='CQueuedMatchmakingGameHost_SubmitPlayerResult_Request.appid', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='matchid', full_name='CQueuedMatchmakingGameHost_SubmitPlayerResult_Request.matchid', index=1, + number=2, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='player_results', full_name='CQueuedMatchmakingGameHost_SubmitPlayerResult_Request.player_results', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1490, + serialized_end=1616, +) + + +_CQUEUEDMATCHMAKINGGAMEHOST_SUBMITPLAYERRESULT_RESPONSE = _descriptor.Descriptor( + name='CQueuedMatchmakingGameHost_SubmitPlayerResult_Response', + full_name='CQueuedMatchmakingGameHost_SubmitPlayerResult_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1618, + serialized_end=1674, +) + + +_CQUEUEDMATCHMAKINGGAMEHOST_ENDGAME_REQUEST = _descriptor.Descriptor( + name='CQueuedMatchmakingGameHost_EndGame_Request', + full_name='CQueuedMatchmakingGameHost_EndGame_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='appid', full_name='CQueuedMatchmakingGameHost_EndGame_Request.appid', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='matchid', full_name='CQueuedMatchmakingGameHost_EndGame_Request.matchid', index=1, + number=2, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1676, + serialized_end=1752, +) + + +_CQUEUEDMATCHMAKINGGAMEHOST_ENDGAME_RESPONSE = _descriptor.Descriptor( + name='CQueuedMatchmakingGameHost_EndGame_Response', + full_name='CQueuedMatchmakingGameHost_EndGame_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1754, + serialized_end=1799, +) + +_CQUEUEDMATCHMAKING_SEARCHFORGAME_REQUEST.fields_by_name['action'].enum_type = _EGAMESEARCHACTION +_CQUEUEDMATCHMAKING_SEARCHFORGAME_REQUEST.fields_by_name['params'].message_type = _GAMESEARCHPARAM +_CQUEUEDMATCHMAKING_SEARCHFORGAME_RESPONSE.fields_by_name['gamesearchresult'].enum_type = _EGAMESEARCHRESULT +_CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_REQUEST.fields_by_name['action'].enum_type = _EGAMESEARCHACTION +_CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_REQUEST.fields_by_name['params'].message_type = _GAMESEARCHPARAM +_PLAYERFOUND.fields_by_name['action'].enum_type = _EGAMESEARCHACTION +_PLAYERFOUND.fields_by_name['params'].message_type = _GAMESEARCHPARAM +_CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_RESPONSE.fields_by_name['gamesearchresult'].enum_type = _EGAMESEARCHRESULT +_CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_RESPONSE.fields_by_name['players'].message_type = _PLAYERFOUND +_CQUEUEDMATCHMAKINGGAMEHOST_SUBMITPLAYERRESULT_REQUEST.fields_by_name['player_results'].message_type = _PLAYERRESULT +DESCRIPTOR.message_types_by_name['GameSearchParam'] = _GAMESEARCHPARAM +DESCRIPTOR.message_types_by_name['CQueuedMatchmaking_SearchForGame_Request'] = _CQUEUEDMATCHMAKING_SEARCHFORGAME_REQUEST +DESCRIPTOR.message_types_by_name['CQueuedMatchmaking_SearchForGame_Response'] = _CQUEUEDMATCHMAKING_SEARCHFORGAME_RESPONSE +DESCRIPTOR.message_types_by_name['CQueuedMatchmakingGameHost_SearchForPlayers_Request'] = _CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_REQUEST +DESCRIPTOR.message_types_by_name['PlayerFound'] = _PLAYERFOUND +DESCRIPTOR.message_types_by_name['CQueuedMatchmakingGameHost_SearchForPlayers_Response'] = _CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_RESPONSE +DESCRIPTOR.message_types_by_name['PlayerResult'] = _PLAYERRESULT +DESCRIPTOR.message_types_by_name['CQueuedMatchmakingGameHost_SubmitPlayerResult_Request'] = _CQUEUEDMATCHMAKINGGAMEHOST_SUBMITPLAYERRESULT_REQUEST +DESCRIPTOR.message_types_by_name['CQueuedMatchmakingGameHost_SubmitPlayerResult_Response'] = _CQUEUEDMATCHMAKINGGAMEHOST_SUBMITPLAYERRESULT_RESPONSE +DESCRIPTOR.message_types_by_name['CQueuedMatchmakingGameHost_EndGame_Request'] = _CQUEUEDMATCHMAKINGGAMEHOST_ENDGAME_REQUEST +DESCRIPTOR.message_types_by_name['CQueuedMatchmakingGameHost_EndGame_Response'] = _CQUEUEDMATCHMAKINGGAMEHOST_ENDGAME_RESPONSE +DESCRIPTOR.enum_types_by_name['EGameSearchAction'] = _EGAMESEARCHACTION +DESCRIPTOR.enum_types_by_name['EGameSearchResult'] = _EGAMESEARCHRESULT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GameSearchParam = _reflection.GeneratedProtocolMessageType('GameSearchParam', (_message.Message,), dict( + DESCRIPTOR = _GAMESEARCHPARAM, + __module__ = 'steammessages_qms_pb2' + # @@protoc_insertion_point(class_scope:GameSearchParam) + )) +_sym_db.RegisterMessage(GameSearchParam) + +CQueuedMatchmaking_SearchForGame_Request = _reflection.GeneratedProtocolMessageType('CQueuedMatchmaking_SearchForGame_Request', (_message.Message,), dict( + DESCRIPTOR = _CQUEUEDMATCHMAKING_SEARCHFORGAME_REQUEST, + __module__ = 'steammessages_qms_pb2' + # @@protoc_insertion_point(class_scope:CQueuedMatchmaking_SearchForGame_Request) + )) +_sym_db.RegisterMessage(CQueuedMatchmaking_SearchForGame_Request) + +CQueuedMatchmaking_SearchForGame_Response = _reflection.GeneratedProtocolMessageType('CQueuedMatchmaking_SearchForGame_Response', (_message.Message,), dict( + DESCRIPTOR = _CQUEUEDMATCHMAKING_SEARCHFORGAME_RESPONSE, + __module__ = 'steammessages_qms_pb2' + # @@protoc_insertion_point(class_scope:CQueuedMatchmaking_SearchForGame_Response) + )) +_sym_db.RegisterMessage(CQueuedMatchmaking_SearchForGame_Response) + +CQueuedMatchmakingGameHost_SearchForPlayers_Request = _reflection.GeneratedProtocolMessageType('CQueuedMatchmakingGameHost_SearchForPlayers_Request', (_message.Message,), dict( + DESCRIPTOR = _CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_REQUEST, + __module__ = 'steammessages_qms_pb2' + # @@protoc_insertion_point(class_scope:CQueuedMatchmakingGameHost_SearchForPlayers_Request) + )) +_sym_db.RegisterMessage(CQueuedMatchmakingGameHost_SearchForPlayers_Request) + +PlayerFound = _reflection.GeneratedProtocolMessageType('PlayerFound', (_message.Message,), dict( + DESCRIPTOR = _PLAYERFOUND, + __module__ = 'steammessages_qms_pb2' + # @@protoc_insertion_point(class_scope:PlayerFound) + )) +_sym_db.RegisterMessage(PlayerFound) + +CQueuedMatchmakingGameHost_SearchForPlayers_Response = _reflection.GeneratedProtocolMessageType('CQueuedMatchmakingGameHost_SearchForPlayers_Response', (_message.Message,), dict( + DESCRIPTOR = _CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_RESPONSE, + __module__ = 'steammessages_qms_pb2' + # @@protoc_insertion_point(class_scope:CQueuedMatchmakingGameHost_SearchForPlayers_Response) + )) +_sym_db.RegisterMessage(CQueuedMatchmakingGameHost_SearchForPlayers_Response) + +PlayerResult = _reflection.GeneratedProtocolMessageType('PlayerResult', (_message.Message,), dict( + DESCRIPTOR = _PLAYERRESULT, + __module__ = 'steammessages_qms_pb2' + # @@protoc_insertion_point(class_scope:PlayerResult) + )) +_sym_db.RegisterMessage(PlayerResult) + +CQueuedMatchmakingGameHost_SubmitPlayerResult_Request = _reflection.GeneratedProtocolMessageType('CQueuedMatchmakingGameHost_SubmitPlayerResult_Request', (_message.Message,), dict( + DESCRIPTOR = _CQUEUEDMATCHMAKINGGAMEHOST_SUBMITPLAYERRESULT_REQUEST, + __module__ = 'steammessages_qms_pb2' + # @@protoc_insertion_point(class_scope:CQueuedMatchmakingGameHost_SubmitPlayerResult_Request) + )) +_sym_db.RegisterMessage(CQueuedMatchmakingGameHost_SubmitPlayerResult_Request) + +CQueuedMatchmakingGameHost_SubmitPlayerResult_Response = _reflection.GeneratedProtocolMessageType('CQueuedMatchmakingGameHost_SubmitPlayerResult_Response', (_message.Message,), dict( + DESCRIPTOR = _CQUEUEDMATCHMAKINGGAMEHOST_SUBMITPLAYERRESULT_RESPONSE, + __module__ = 'steammessages_qms_pb2' + # @@protoc_insertion_point(class_scope:CQueuedMatchmakingGameHost_SubmitPlayerResult_Response) + )) +_sym_db.RegisterMessage(CQueuedMatchmakingGameHost_SubmitPlayerResult_Response) + +CQueuedMatchmakingGameHost_EndGame_Request = _reflection.GeneratedProtocolMessageType('CQueuedMatchmakingGameHost_EndGame_Request', (_message.Message,), dict( + DESCRIPTOR = _CQUEUEDMATCHMAKINGGAMEHOST_ENDGAME_REQUEST, + __module__ = 'steammessages_qms_pb2' + # @@protoc_insertion_point(class_scope:CQueuedMatchmakingGameHost_EndGame_Request) + )) +_sym_db.RegisterMessage(CQueuedMatchmakingGameHost_EndGame_Request) + +CQueuedMatchmakingGameHost_EndGame_Response = _reflection.GeneratedProtocolMessageType('CQueuedMatchmakingGameHost_EndGame_Response', (_message.Message,), dict( + DESCRIPTOR = _CQUEUEDMATCHMAKINGGAMEHOST_ENDGAME_RESPONSE, + __module__ = 'steammessages_qms_pb2' + # @@protoc_insertion_point(class_scope:CQueuedMatchmakingGameHost_EndGame_Response) + )) +_sym_db.RegisterMessage(CQueuedMatchmakingGameHost_EndGame_Response) + + +DESCRIPTOR._options = None + +_QUEUEDMATCHMAKING = _descriptor.ServiceDescriptor( + name='QueuedMatchmaking', + full_name='QueuedMatchmaking', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\202\265\030\032Queued matchmaking service'), + serialized_start=2270, + serialized_end=2448, + methods=[ + _descriptor.MethodDescriptor( + name='SearchForGame', + full_name='QueuedMatchmaking.SearchForGame', + index=0, + containing_service=None, + input_type=_CQUEUEDMATCHMAKING_SEARCHFORGAME_REQUEST, + output_type=_CQUEUEDMATCHMAKING_SEARCHFORGAME_RESPONSE, + serialized_options=_b('\202\265\030\021Search for a game'), + ), +]) +_sym_db.RegisterServiceDescriptor(_QUEUEDMATCHMAKING) + +DESCRIPTOR.services_by_name['QueuedMatchmaking'] = _QUEUEDMATCHMAKING + + +_QUEUEDMATCHMAKINGGAMEHOST = _descriptor.ServiceDescriptor( + name='QueuedMatchmakingGameHost', + full_name='QueuedMatchmakingGameHost', + file=DESCRIPTOR, + index=1, + serialized_options=_b('\202\265\030\037Queued matchmaking host service'), + serialized_start=2451, + serialized_end=2942, + methods=[ + _descriptor.MethodDescriptor( + name='SearchForPlayers', + full_name='QueuedMatchmakingGameHost.SearchForPlayers', + index=0, + containing_service=None, + input_type=_CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_REQUEST, + output_type=_CQUEUEDMATCHMAKINGGAMEHOST_SEARCHFORPLAYERS_RESPONSE, + serialized_options=_b('\202\265\030\020SearchForPlayers'), + ), + _descriptor.MethodDescriptor( + name='SubmitPlayerResult', + full_name='QueuedMatchmakingGameHost.SubmitPlayerResult', + index=1, + containing_service=None, + input_type=_CQUEUEDMATCHMAKINGGAMEHOST_SUBMITPLAYERRESULT_REQUEST, + output_type=_CQUEUEDMATCHMAKINGGAMEHOST_SUBMITPLAYERRESULT_RESPONSE, + serialized_options=_b('\202\265\030\022SubmitPlayerResult'), + ), + _descriptor.MethodDescriptor( + name='EndGame', + full_name='QueuedMatchmakingGameHost.EndGame', + index=2, + containing_service=None, + input_type=_CQUEUEDMATCHMAKINGGAMEHOST_ENDGAME_REQUEST, + output_type=_CQUEUEDMATCHMAKINGGAMEHOST_ENDGAME_RESPONSE, + serialized_options=_b('\202\265\030\007EndGame'), + ), +]) +_sym_db.RegisterServiceDescriptor(_QUEUEDMATCHMAKINGGAMEHOST) + +DESCRIPTOR.services_by_name['QueuedMatchmakingGameHost'] = _QUEUEDMATCHMAKINGGAMEHOST + +QueuedMatchmaking = service_reflection.GeneratedServiceType('QueuedMatchmaking', (_service.Service,), dict( + DESCRIPTOR = _QUEUEDMATCHMAKING, + __module__ = 'steammessages_qms_pb2' + )) + +QueuedMatchmaking_Stub = service_reflection.GeneratedServiceStubType('QueuedMatchmaking_Stub', (QueuedMatchmaking,), dict( + DESCRIPTOR = _QUEUEDMATCHMAKING, + __module__ = 'steammessages_qms_pb2' + )) + + +QueuedMatchmakingGameHost = service_reflection.GeneratedServiceType('QueuedMatchmakingGameHost', (_service.Service,), dict( + DESCRIPTOR = _QUEUEDMATCHMAKINGGAMEHOST, + __module__ = 'steammessages_qms_pb2' + )) + +QueuedMatchmakingGameHost_Stub = service_reflection.GeneratedServiceStubType('QueuedMatchmakingGameHost_Stub', (QueuedMatchmakingGameHost,), dict( + DESCRIPTOR = _QUEUEDMATCHMAKINGGAMEHOST, + __module__ = 'steammessages_qms_pb2' + )) + + +# @@protoc_insertion_point(module_scope) diff --git a/steam/protobufs/steammessages_timedtrial_pb2.py b/steam/protobufs/steammessages_timedtrial_pb2.py new file mode 100644 index 0000000..97f7bd9 --- /dev/null +++ b/steam/protobufs/steammessages_timedtrial_pb2.py @@ -0,0 +1,365 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: steammessages_timedtrial.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import service as _service +from google.protobuf import service_reflection +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +import steam.protobufs.steammessages_unified_base_pb2 as steammessages__unified__base__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='steammessages_timedtrial.proto', + package='', + syntax='proto2', + serialized_options=_b('\220\001\001'), + serialized_pb=_b('\n\x1esteammessages_timedtrial.proto\x1a steammessages_unified_base.proto\"5\n$CTimedTrial_GetTimeRemaining_Request\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\"\x84\x01\n%CTimedTrial_GetTimeRemaining_Response\x12\x16\n\x0eseconds_played\x18\x01 \x01(\r\x12\x17\n\x0fseconds_allowed\x18\x02 \x01(\r\x12\x11\n\tpackageid\x18\x03 \x01(\r\x12\x17\n\x0fmastersub_appid\x18\x04 \x01(\r\"K\n\"CTimedTrial_RecordPlaytime_Request\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12\x16\n\x0eseconds_played\x18\x02 \x01(\r\"V\n#CTimedTrial_RecordPlaytime_Response\x12\x16\n\x0eseconds_played\x18\x01 \x01(\r\x12\x17\n\x0fseconds_allowed\x18\x02 \x01(\r\"2\n!CTimedTrial_ResetPlaytime_Request\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\"U\n\"CTimedTrial_ResetPlaytime_Response\x12\x16\n\x0eseconds_played\x18\x01 \x01(\r\x12\x17\n\x0fseconds_allowed\x18\x02 \x01(\r2\x9b\x04\n\nTimedTrial\x12\xad\x01\n\x10GetTimeRemaining\x12%.CTimedTrial_GetTimeRemaining_Request\x1a&.CTimedTrial_GetTimeRemaining_Response\"J\x82\xb5\x18\x46Returns the amount of time a user has left on a timed trial for an app\x12\x94\x01\n\x0eRecordPlaytime\x12#.CTimedTrial_RecordPlaytime_Request\x1a$.CTimedTrial_RecordPlaytime_Response\"7\x82\xb5\x18\x33Updates the user\'s remaining playtime while in game\x12\x92\x01\n\rResetPlaytime\x12\".CTimedTrial_ResetPlaytime_Request\x1a#.CTimedTrial_ResetPlaytime_Response\"8\x82\xb5\x18\x34Reset the user\'s remaining playtime (developer only)\x1a\x31\x82\xb5\x18-A service to get user timed trial informationB\x03\x90\x01\x01') + , + dependencies=[steammessages__unified__base__pb2.DESCRIPTOR,]) + + + + +_CTIMEDTRIAL_GETTIMEREMAINING_REQUEST = _descriptor.Descriptor( + name='CTimedTrial_GetTimeRemaining_Request', + full_name='CTimedTrial_GetTimeRemaining_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='appid', full_name='CTimedTrial_GetTimeRemaining_Request.appid', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=68, + serialized_end=121, +) + + +_CTIMEDTRIAL_GETTIMEREMAINING_RESPONSE = _descriptor.Descriptor( + name='CTimedTrial_GetTimeRemaining_Response', + full_name='CTimedTrial_GetTimeRemaining_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='seconds_played', full_name='CTimedTrial_GetTimeRemaining_Response.seconds_played', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='seconds_allowed', full_name='CTimedTrial_GetTimeRemaining_Response.seconds_allowed', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='packageid', full_name='CTimedTrial_GetTimeRemaining_Response.packageid', index=2, + number=3, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='mastersub_appid', full_name='CTimedTrial_GetTimeRemaining_Response.mastersub_appid', index=3, + number=4, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=256, +) + + +_CTIMEDTRIAL_RECORDPLAYTIME_REQUEST = _descriptor.Descriptor( + name='CTimedTrial_RecordPlaytime_Request', + full_name='CTimedTrial_RecordPlaytime_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='appid', full_name='CTimedTrial_RecordPlaytime_Request.appid', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='seconds_played', full_name='CTimedTrial_RecordPlaytime_Request.seconds_played', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=258, + serialized_end=333, +) + + +_CTIMEDTRIAL_RECORDPLAYTIME_RESPONSE = _descriptor.Descriptor( + name='CTimedTrial_RecordPlaytime_Response', + full_name='CTimedTrial_RecordPlaytime_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='seconds_played', full_name='CTimedTrial_RecordPlaytime_Response.seconds_played', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='seconds_allowed', full_name='CTimedTrial_RecordPlaytime_Response.seconds_allowed', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=335, + serialized_end=421, +) + + +_CTIMEDTRIAL_RESETPLAYTIME_REQUEST = _descriptor.Descriptor( + name='CTimedTrial_ResetPlaytime_Request', + full_name='CTimedTrial_ResetPlaytime_Request', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='appid', full_name='CTimedTrial_ResetPlaytime_Request.appid', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=423, + serialized_end=473, +) + + +_CTIMEDTRIAL_RESETPLAYTIME_RESPONSE = _descriptor.Descriptor( + name='CTimedTrial_ResetPlaytime_Response', + full_name='CTimedTrial_ResetPlaytime_Response', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='seconds_played', full_name='CTimedTrial_ResetPlaytime_Response.seconds_played', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='seconds_allowed', full_name='CTimedTrial_ResetPlaytime_Response.seconds_allowed', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto2', + extension_ranges=[], + oneofs=[ + ], + serialized_start=475, + serialized_end=560, +) + +DESCRIPTOR.message_types_by_name['CTimedTrial_GetTimeRemaining_Request'] = _CTIMEDTRIAL_GETTIMEREMAINING_REQUEST +DESCRIPTOR.message_types_by_name['CTimedTrial_GetTimeRemaining_Response'] = _CTIMEDTRIAL_GETTIMEREMAINING_RESPONSE +DESCRIPTOR.message_types_by_name['CTimedTrial_RecordPlaytime_Request'] = _CTIMEDTRIAL_RECORDPLAYTIME_REQUEST +DESCRIPTOR.message_types_by_name['CTimedTrial_RecordPlaytime_Response'] = _CTIMEDTRIAL_RECORDPLAYTIME_RESPONSE +DESCRIPTOR.message_types_by_name['CTimedTrial_ResetPlaytime_Request'] = _CTIMEDTRIAL_RESETPLAYTIME_REQUEST +DESCRIPTOR.message_types_by_name['CTimedTrial_ResetPlaytime_Response'] = _CTIMEDTRIAL_RESETPLAYTIME_RESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CTimedTrial_GetTimeRemaining_Request = _reflection.GeneratedProtocolMessageType('CTimedTrial_GetTimeRemaining_Request', (_message.Message,), dict( + DESCRIPTOR = _CTIMEDTRIAL_GETTIMEREMAINING_REQUEST, + __module__ = 'steammessages_timedtrial_pb2' + # @@protoc_insertion_point(class_scope:CTimedTrial_GetTimeRemaining_Request) + )) +_sym_db.RegisterMessage(CTimedTrial_GetTimeRemaining_Request) + +CTimedTrial_GetTimeRemaining_Response = _reflection.GeneratedProtocolMessageType('CTimedTrial_GetTimeRemaining_Response', (_message.Message,), dict( + DESCRIPTOR = _CTIMEDTRIAL_GETTIMEREMAINING_RESPONSE, + __module__ = 'steammessages_timedtrial_pb2' + # @@protoc_insertion_point(class_scope:CTimedTrial_GetTimeRemaining_Response) + )) +_sym_db.RegisterMessage(CTimedTrial_GetTimeRemaining_Response) + +CTimedTrial_RecordPlaytime_Request = _reflection.GeneratedProtocolMessageType('CTimedTrial_RecordPlaytime_Request', (_message.Message,), dict( + DESCRIPTOR = _CTIMEDTRIAL_RECORDPLAYTIME_REQUEST, + __module__ = 'steammessages_timedtrial_pb2' + # @@protoc_insertion_point(class_scope:CTimedTrial_RecordPlaytime_Request) + )) +_sym_db.RegisterMessage(CTimedTrial_RecordPlaytime_Request) + +CTimedTrial_RecordPlaytime_Response = _reflection.GeneratedProtocolMessageType('CTimedTrial_RecordPlaytime_Response', (_message.Message,), dict( + DESCRIPTOR = _CTIMEDTRIAL_RECORDPLAYTIME_RESPONSE, + __module__ = 'steammessages_timedtrial_pb2' + # @@protoc_insertion_point(class_scope:CTimedTrial_RecordPlaytime_Response) + )) +_sym_db.RegisterMessage(CTimedTrial_RecordPlaytime_Response) + +CTimedTrial_ResetPlaytime_Request = _reflection.GeneratedProtocolMessageType('CTimedTrial_ResetPlaytime_Request', (_message.Message,), dict( + DESCRIPTOR = _CTIMEDTRIAL_RESETPLAYTIME_REQUEST, + __module__ = 'steammessages_timedtrial_pb2' + # @@protoc_insertion_point(class_scope:CTimedTrial_ResetPlaytime_Request) + )) +_sym_db.RegisterMessage(CTimedTrial_ResetPlaytime_Request) + +CTimedTrial_ResetPlaytime_Response = _reflection.GeneratedProtocolMessageType('CTimedTrial_ResetPlaytime_Response', (_message.Message,), dict( + DESCRIPTOR = _CTIMEDTRIAL_RESETPLAYTIME_RESPONSE, + __module__ = 'steammessages_timedtrial_pb2' + # @@protoc_insertion_point(class_scope:CTimedTrial_ResetPlaytime_Response) + )) +_sym_db.RegisterMessage(CTimedTrial_ResetPlaytime_Response) + + +DESCRIPTOR._options = None + +_TIMEDTRIAL = _descriptor.ServiceDescriptor( + name='TimedTrial', + full_name='TimedTrial', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\202\265\030-A service to get user timed trial information'), + serialized_start=563, + serialized_end=1102, + methods=[ + _descriptor.MethodDescriptor( + name='GetTimeRemaining', + full_name='TimedTrial.GetTimeRemaining', + index=0, + containing_service=None, + input_type=_CTIMEDTRIAL_GETTIMEREMAINING_REQUEST, + output_type=_CTIMEDTRIAL_GETTIMEREMAINING_RESPONSE, + serialized_options=_b('\202\265\030FReturns the amount of time a user has left on a timed trial for an app'), + ), + _descriptor.MethodDescriptor( + name='RecordPlaytime', + full_name='TimedTrial.RecordPlaytime', + index=1, + containing_service=None, + input_type=_CTIMEDTRIAL_RECORDPLAYTIME_REQUEST, + output_type=_CTIMEDTRIAL_RECORDPLAYTIME_RESPONSE, + serialized_options=_b('\202\265\0303Updates the user\'s remaining playtime while in game'), + ), + _descriptor.MethodDescriptor( + name='ResetPlaytime', + full_name='TimedTrial.ResetPlaytime', + index=2, + containing_service=None, + input_type=_CTIMEDTRIAL_RESETPLAYTIME_REQUEST, + output_type=_CTIMEDTRIAL_RESETPLAYTIME_RESPONSE, + serialized_options=_b('\202\265\0304Reset the user\'s remaining playtime (developer only)'), + ), +]) +_sym_db.RegisterServiceDescriptor(_TIMEDTRIAL) + +DESCRIPTOR.services_by_name['TimedTrial'] = _TIMEDTRIAL + +TimedTrial = service_reflection.GeneratedServiceType('TimedTrial', (_service.Service,), dict( + DESCRIPTOR = _TIMEDTRIAL, + __module__ = 'steammessages_timedtrial_pb2' + )) + +TimedTrial_Stub = service_reflection.GeneratedServiceStubType('TimedTrial_Stub', (TimedTrial,), dict( + DESCRIPTOR = _TIMEDTRIAL, + __module__ = 'steammessages_timedtrial_pb2' + )) + + +# @@protoc_insertion_point(module_scope)