Browse Source

protobuf update + UMs for new chat

pull/180/head
Rossen Georgiev 6 years ago
parent
commit
146197c5f9
  1. 7
      Makefile
  2. 3
      protobuf_list.txt
  3. 41
      protobufs/gc.proto
  4. 13
      protobufs/steammessages_base.proto
  5. 191
      protobufs/steammessages_broadcast.proto
  6. 11
      protobufs/steammessages_clientserver.proto
  7. 16
      protobufs/steammessages_clientserver_2.proto
  8. 113
      protobufs/steammessages_friendmessages.proto
  9. 2
      protobufs/steammessages_publishedfile.proto
  10. 44
      protobufs/steammessages_store.proto
  11. 82
      protobufs/steammessages_useraccount.proto
  12. 70
      steam/core/msg/unified.py
  13. 150
      steam/protobufs/steammessages_base_pb2.py
  14. 1782
      steam/protobufs/steammessages_broadcast_pb2.py
  15. 592
      steam/protobufs/steammessages_clientserver_2_pb2.py
  16. 686
      steam/protobufs/steammessages_clientserver_pb2.py
  17. 864
      steam/protobufs/steammessages_friendmessages_pb2.py
  18. 172
      steam/protobufs/steammessages_publishedfile_pb2.py
  19. 384
      steam/protobufs/steammessages_store_pb2.py
  20. 633
      steam/protobufs/steammessages_useraccount_pb2.py

7
Makefile

@ -58,16 +58,15 @@ upload: dist register
pb_fetch:
wget -nv --show-progress -N -P ./protobufs/ -i protobuf_list.txt || exit 0
rename -v '.proto' '.proto.notouch' protobufs/{steammessages_physicalgoods,gc,test_messages}.proto
rename -v '.steamclient' '' protobufs/*.proto
sed -i '1d' protobufs/{steammessages_physicalgoods,test_messages}.proto
sed -i '1s/^/package foobar;\n/' protobufs/gc.proto
sed -i 's/optional \./optional foobar./' protobufs/gc.proto
sed -i '1s/^/syntax = "proto2"\;\n/' protobufs/*.proto
sed -i 's/cc_generic_services/py_generic_services/' protobufs/*.proto
sed -i 's/\.steamclient\.proto/.proto/' protobufs/*.proto
rename -v '.notouch' '' protobufs/*.proto.notouch
pb_compile:
for filepath in `ls ./protobufs/*.proto`; do \
for filepath in ./protobufs/*.proto; do \
protoc3 --python_out ./steam/protobufs/ --proto_path=./protobufs "$$filepath"; \
done;
sed -i '/^import sys/! s/^import /import steam.protobufs./' steam/protobufs/*_pb2.py

3
protobuf_list.txt

@ -1,4 +1,3 @@
https://github.com/SteamRE/SteamKit/raw/master/Resources/Protobufs/gc/gc.proto
https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/content_manifest.proto
https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/encrypted_app_ticket.proto
https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_base.proto
@ -14,6 +13,7 @@ https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/s
https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_depotbuilder.steamclient.proto
https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_deviceauth.steamclient.proto
https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_econ.steamclient.proto
https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_friendmessages.steamclient.proto
https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_gamenotifications.steamclient.proto
https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_gameservers.steamclient.proto
https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_inventory.steamclient.proto
@ -21,7 +21,6 @@ https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/s
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_partnerapps.steamclient.proto
https://raw.githubusercontent.com/SteamDatabase/SteamTracking/master/Protobufs/steammessages_physicalgoods.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_secrets.steamclient.proto

41
protobufs/gc.proto

@ -1,22 +1,23 @@
syntax = "proto2";
package foobar;
enum GCProtoBufMsgSrc {
GCProtoBufMsgSrc_Unspecified = 0;
GCProtoBufMsgSrc_FromSystem = 1;
GCProtoBufMsgSrc_FromSteamID = 2;
GCProtoBufMsgSrc_FromGC = 3;
GCProtoBufMsgSrc_ReplySystem = 4;
}
message CMsgProtoBufHeader {
optional fixed64 client_steam_id = 1;
optional int32 client_session_id = 2;
optional uint32 source_app_id = 3;
optional fixed64 job_id_source = 10 [default = 18446744073709551615];
optional fixed64 job_id_target = 11 [default = 18446744073709551615];
optional string target_job_name = 12;
optional int32 eresult = 13 [default = 2];
optional string error_message = 14;
optional foobar.GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
optional uint32 gc_dir_index_source = 201;
}
enum GCProtoBufMsgSrc {
GCProtoBufMsgSrc_Unspecified = 0;
GCProtoBufMsgSrc_FromSystem = 1;
GCProtoBufMsgSrc_FromSteamID = 2;
GCProtoBufMsgSrc_FromGC = 3;
GCProtoBufMsgSrc_ReplySystem = 4;
}
message CMsgProtoBufHeader {
optional fixed64 client_steam_id = 1;
optional int32 client_session_id = 2;
optional uint32 source_app_id = 3;
optional fixed64 job_id_source = 10 [default = 18446744073709551615];
optional fixed64 job_id_target = 11 [default = 18446744073709551615];
optional string target_job_name = 12;
optional int32 eresult = 13 [default = 2];
optional string error_message = 14;
optional foobar.GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
optional uint32 gc_dir_index_source = 201;
}

13
protobufs/steammessages_base.proto

@ -17,6 +17,13 @@ extend .google.protobuf.FieldOptions {
optional bool php_output_always_number = 50020 [default = false];
}
message CMsgIPAddress {
oneof ip {
fixed32 v4 = 1;
bytes v6 = 2;
}
}
message CMsgProtoBufHeader {
optional fixed64 steamid = 1;
optional int32 client_sessionid = 2;
@ -27,7 +34,6 @@ message CMsgProtoBufHeader {
optional int32 seq_num = 24;
optional int32 eresult = 13 [default = 2];
optional string error_message = 14;
optional uint32 ip = 15;
optional uint32 auth_account_flags = 16;
optional uint32 token_source = 22;
optional bool admin_spoofing_user = 23;
@ -40,6 +46,11 @@ message CMsgProtoBufHeader {
optional bool is_from_external_source = 26;
repeated uint32 forward_to_sysid = 27;
optional uint32 cm_sysid = 28;
optional string wg_token = 30;
oneof ip_addr {
uint32 ip = 15;
bytes ip_v6 = 29;
}
}
message CMsgMulti {

191
protobufs/steammessages_broadcast.proto

@ -12,6 +12,16 @@ enum EBroadcastWatchLocation {
k_EBroadcastWatchLocation_CommunityPage = 5;
k_EBroadcastWatchLocation_StoreAppPage = 6;
k_EBroadcastWatchLocation_InGame = 7;
k_EBroadcastWatchLocation_BigPicture = 8;
k_EBroadcastWatchLocation_SalesPage = 9;
k_EBroadcastWatchLocation_CuratorPage = 10;
k_EBroadcastWatchLocation_DeveloperPage = 11;
k_EBroadcastWatchLocation_Chat_Friends = 12;
}
enum EBroadcastChatPermission {
k_EBroadcastChatPermissionPublic = 0;
k_EBroadcastChatPermissionOwnsApp = 1;
}
message CBroadcast_BeginBroadcastSession_Request {
@ -45,6 +55,7 @@ message CBroadcast_StartBroadcastUpload_Request {
optional bool as_rtmp = 3;
optional uint32 delay_seconds = 4;
optional uint64 rtmp_token = 5 [default = 0, (description) = "Only set during RTMP uploads; secret key from the user."];
optional uint32 upload_ip_address = 6;
}
message CBroadcast_StartBroadcastUpload_Response {
@ -56,7 +67,7 @@ message CBroadcast_StartBroadcastUpload_Response {
}
message CBroadcast_NotifyBroadcastUploadStop_Notification {
optional fixed64 broadcast_relay_id = 1;
optional fixed64 broadcast_upload_id = 1;
optional uint32 upload_result = 2;
}
@ -67,6 +78,7 @@ message CBroadcast_WatchBroadcast_Request {
optional uint32 client_ip = 4;
optional uint32 client_cell = 5;
optional .EBroadcastWatchLocation watch_location = 6 [default = k_EBroadcastWatchLocation_Invalid];
optional bool is_webrtc = 7;
}
message CBroadcast_WatchBroadcast_Response {
@ -98,6 +110,10 @@ message CBroadcast_WatchBroadcast_Response {
optional string hls_m3u8_master_url = 11;
optional int32 heartbeat_interval = 12;
optional string thumbnail_url = 13;
optional bool is_webrtc = 14;
optional fixed64 webrtc_session_id = 15;
optional string webrtc_offer_sdp = 16;
optional string webrtc_turn_server = 17;
}
message CBroadcast_HeartbeatBroadcast_Notification {
@ -223,6 +239,114 @@ message CBroadcast_GetBroadcastChatUserNames_Response {
repeated .CBroadcast_GetBroadcastChatUserNames_Response.PersonaName persona_names = 1;
}
message CBroadcast_SetRTMPInfo_Request {
optional int32 broadcast_permission = 1;
optional bool update_token = 2;
optional int32 broadcast_delay = 3;
optional uint32 app_id = 4;
optional uint32 required_app_id = 5;
optional .EBroadcastChatPermission broadcast_chat_permission = 6 [default = k_EBroadcastChatPermissionPublic, (description) = "Who is permitted to send a chat message during broadcast"];
optional int32 broadcast_buffer = 7 [(description) = "Previous seconds we keep of the stream available"];
optional fixed64 steamid = 8 [(description) = "broadcaster steamID if not logged-in user"];
optional uint32 chat_rate_limit = 9 [(description) = "Seconds required between chat messages"];
}
message CBroadcast_SetRTMPInfo_Response {
}
message CBroadcast_GetRTMPInfo_Request {
optional uint32 ip = 1;
optional fixed64 steamid = 2 [(description) = "broadcaster steamID if not logged-in user"];
}
message CBroadcast_GetRTMPInfo_Response {
optional int32 broadcast_permission = 1;
optional string rtmp_host = 2;
optional string rtmp_token = 3;
optional int32 broadcast_delay = 4;
optional uint32 app_id = 5;
optional uint32 required_app_id = 6;
optional .EBroadcastChatPermission broadcast_chat_permission = 7 [default = k_EBroadcastChatPermissionPublic, (description) = "Who is permitted to send a chat message during broadcast"];
optional int32 broadcast_buffer = 8 [(description) = "Seconds we keep streams available"];
optional fixed64 steamid = 9 [(description) = "broadcaster steamID"];
optional uint32 chat_rate_limit = 10 [(description) = "Seconds required between chat messages"];
}
message CBroadcast_WebRTCHaveTURNServer_Notification {
optional fixed64 broadcast_session_id = 1;
optional string turn_server = 2;
}
message CBroadcast_WebRTCStartResult_Request {
optional fixed64 webrtc_session_id = 1;
optional bool started = 2;
optional string offer = 3;
optional uint32 resolution_x = 4;
optional uint32 resolution_y = 5;
optional uint32 fps = 6;
}
message CBroadcast_WebRTCStartResult_Response {
}
message CBroadcast_WebRTCStopped_Request {
optional fixed64 webrtc_session_id = 1;
}
message CBroadcast_WebRTCStopped_Response {
}
message CBroadcast_WebRTCSetAnswer_Request {
optional fixed64 broadcaster_steamid = 1;
optional fixed64 webrtc_session_id = 2;
optional string answer = 3;
}
message CBroadcast_WebRTCSetAnswer_Response {
}
message CBroadcast_WebRTCLookupTURNServer_Request {
optional uint32 cellid = 1;
}
message CBroadcast_WebRTCLookupTURNServer_Response {
optional string turn_server = 1;
}
message CBroadcast_WebRTC_Candidate {
optional string sdp_mid = 1;
optional int32 sdp_mline_index = 2;
optional string candidate = 3;
}
message CBroadcast_WebRTCAddHostCandidate_Request {
optional fixed64 webrtc_session_id = 1;
optional .CBroadcast_WebRTC_Candidate candidate = 2;
}
message CBroadcast_WebRTCAddHostCandidate_Response {
}
message CBroadcast_WebRTCAddViewerCandidate_Request {
optional fixed64 broadcaster_steamid = 1;
optional fixed64 webrtc_session_id = 2;
optional .CBroadcast_WebRTC_Candidate candidate = 3;
}
message CBroadcast_WebRTCAddViewerCandidate_Response {
}
message CBroadcast_WebRTCGetHostCandidates_Request {
optional fixed64 broadcaster_steamid = 1;
optional fixed64 webrtc_session_id = 2;
optional uint32 candidate_generation = 3;
}
message CBroadcast_WebRTCGetHostCandidates_Response {
optional uint32 candidate_generation = 1;
repeated .CBroadcast_WebRTC_Candidate candidates = 2;
}
message CBroadcast_BroadcastViewerState_Notification {
enum EViewerState {
k_EViewerNeedsApproval = 1;
@ -266,6 +390,29 @@ message CBroadcast_SendThumbnailToRelay_Notification {
optional uint32 thumbnail_height = 5;
}
message CBroadcast_WebRTCNeedTURNServer_Notification {
optional fixed64 broadcast_session_id = 1;
}
message CBroadcast_WebRTCStart_Notification {
optional fixed64 broadcast_session_id = 1;
optional fixed64 webrtc_session_id = 2;
optional fixed64 viewer_steamid = 3;
optional fixed64 viewer_token = 4;
}
message CBroadcast_WebRTCSetAnswer_Notification {
optional fixed64 broadcast_session_id = 1;
optional fixed64 webrtc_session_id = 2;
optional string answer = 3;
}
message CBroadcast_WebRTCAddViewerCandidate_Notification {
optional fixed64 broadcast_session_id = 1;
optional fixed64 webrtc_session_id = 2;
optional .CBroadcast_WebRTC_Candidate candidate = 3;
}
service Broadcast {
option (service_description) = "Methods for Steam broadcast operations";
rpc BeginBroadcastSession (.CBroadcast_BeginBroadcastSession_Request) returns (.CBroadcast_BeginBroadcastSession_Response) {
@ -319,6 +466,36 @@ service Broadcast {
rpc GetBroadcastChatUserNames (.CBroadcast_GetBroadcastChatUserNames_Request) returns (.CBroadcast_GetBroadcastChatUserNames_Response) {
option (method_description) = "Get names for list of users in chat";
}
rpc SetRTMPInfo (.CBroadcast_SetRTMPInfo_Request) returns (.CBroadcast_SetRTMPInfo_Response) {
option (method_description) = "Sets RTMP broadcast info";
}
rpc GetRTMPInfo (.CBroadcast_GetRTMPInfo_Request) returns (.CBroadcast_GetRTMPInfo_Response) {
option (method_description) = "Gets RTMP broadcast info";
}
rpc NotifyWebRTCHaveTURNServer (.CBroadcast_WebRTCHaveTURNServer_Notification) returns (.NoResponse) {
option (method_description) = "Notification from client to server with the client's TURN server";
}
rpc WebRTCStartResult (.CBroadcast_WebRTCStartResult_Request) returns (.CBroadcast_WebRTCStartResult_Response) {
option (method_description) = "Notify the server that a WebRTC session has been created by the host";
}
rpc WebRTCStopped (.CBroadcast_WebRTCStopped_Request) returns (.CBroadcast_WebRTCStopped_Response) {
option (method_description) = "Notify the server that a WebRTC session has been stopped by the host";
}
rpc WebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Request) returns (.CBroadcast_WebRTCSetAnswer_Response) {
option (method_description) = "Notify the server that a WebRTC session has been created by the viewer";
}
rpc WebRTCLookupTURNServer (.CBroadcast_WebRTCLookupTURNServer_Request) returns (.CBroadcast_WebRTCLookupTURNServer_Response) {
option (method_description) = "Lookup the best TURN server for this client";
}
rpc WebRTCAddHostCandidate (.CBroadcast_WebRTCAddHostCandidate_Request) returns (.CBroadcast_WebRTCAddHostCandidate_Response) {
option (method_description) = "Add an ICE candidate for the host side of a WebRTC session";
}
rpc WebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Request) returns (.CBroadcast_WebRTCAddViewerCandidate_Response) {
option (method_description) = "Add an ICE candidate for the viewer side of a WebRTC session";
}
rpc WebRTCGetHostCandidates (.CBroadcast_WebRTCGetHostCandidates_Request) returns (.CBroadcast_WebRTCGetHostCandidates_Response) {
option (method_description) = "Get the ICE candidates for the host side of a WebRTC session";
}
}
service BroadcastClient {
option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
@ -343,4 +520,16 @@ service BroadcastClient {
rpc SendThumbnailToRelay (.CBroadcast_SendThumbnailToRelay_Notification) returns (.NoResponse) {
option (method_description) = "Send thumbnails to relay";
}
rpc NotifyWebRTCNeedTURNServer (.CBroadcast_WebRTCNeedTURNServer_Notification) returns (.NoResponse) {
option (method_description) = "Notification from server to client that it needs the client's TURN server";
}
rpc NotifyWebRTCStart (.CBroadcast_WebRTCStart_Notification) returns (.NoResponse) {
option (method_description) = "Notification from server to client that it should start a WebRTC session";
}
rpc NotifyWebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Notification) returns (.NoResponse) {
option (method_description) = "Notification from server to client about the broadcast viewer WebRTC answer";
}
rpc NotifyWebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Notification) returns (.NoResponse) {
option (method_description) = "Notification from server to client about a broadcast viewer WebRTC ICE candidate";
}
}

11
protobufs/steammessages_clientserver.proto

@ -152,6 +152,7 @@ message CMsgClientGamesPlayed {
optional uint32 total_steam_controller_count = 18 [default = 0];
optional uint32 total_non_steam_controller_count = 19 [default = 0];
optional uint64 controller_workshop_file_id = 20 [default = 0];
optional uint32 launch_source = 21 [default = 0];
}
repeated .CMsgClientGamesPlayed.GamePlayed games_played = 1;
@ -1172,3 +1173,13 @@ message CMsgClientClanState {
optional bool chat_room_private = 8;
}
message CMsgClientUnsignedInstallScript {
optional uint32 app_id = 1;
optional string file_name = 2;
optional uint32 file_size = 3;
optional bool signature_broken = 4;
optional uint32 depot_id = 5;
optional uint64 manifest_id = 6;
optional uint32 file_flags = 7;
}

16
protobufs/steammessages_clientserver_2.proto

@ -458,22 +458,6 @@ message CMsgTrading_StartSession {
optional uint64 other_steamid = 1;
}
message CMsgClientEmailChange {
optional string password = 1;
optional string email = 2;
optional string code = 3;
optional bool final = 4;
optional bool newmethod = 5;
optional string twofactor_code = 6;
optional string sms_code = 7;
optional bool client_supports_sms = 8;
}
message CMsgClientEmailChangeResponse {
optional int32 eresult = 1 [default = 2];
optional bool requires_sms_code = 2;
}
message CMsgClientGetCDNAuthToken {
optional uint32 depot_id = 1;
optional string host_name = 2;

113
protobufs/steammessages_friendmessages.proto

@ -0,0 +1,113 @@
syntax = "proto2";
import "steammessages_unified_base.proto";
option py_generic_services = true;
message CFriendMessages_GetRecentMessages_Request {
optional fixed64 steamid1 = 1;
optional fixed64 steamid2 = 2;
optional uint32 count = 3 [(description) = "If non-zero, cap the number of recent messages to return."];
optional bool most_recent_conversation = 4 [(description) = "Grab the block of chat from the most recent conversation (a ~5 minute period)"];
optional fixed32 rtime32_start_time = 5 [(description) = "If non-zero, return only messages with timestamps greater or equal to this. If zero, we only return messages from a recent time cutoff."];
optional bool bbcode_format = 6 [(description) = "Return the results with bbcode formatting."];
optional uint32 start_ordinal = 7 [(description) = "Combined with start time, only messages after this ordinal are returned (dedupes messages in same second)"];
optional uint32 time_last = 8 [(description) = "if present/non-zero, return only messages before this."];
optional uint32 ordinal_last = 9;
}
message CFriendMessages_GetRecentMessages_Response {
message FriendMessage {
optional uint32 accountid = 1;
optional uint32 timestamp = 2;
optional string message = 3;
optional uint32 ordinal = 4;
}
repeated .CFriendMessages_GetRecentMessages_Response.FriendMessage messages = 1 [(description) = "Array of messages, returned newest to oldest."];
optional bool more_available = 4;
}
message CFriendsMessages_GetActiveMessageSessions_Request {
optional uint32 lastmessage_since = 1 [(description) = "return only session information where a chat message has been sent since this time (for polling)"];
}
message CFriendsMessages_GetActiveMessageSessions_Response {
message FriendMessageSession {
optional uint32 accountid_friend = 1;
optional uint32 last_message = 2;
optional uint32 last_view = 3;
optional uint32 unread_message_count = 4;
}
repeated .CFriendsMessages_GetActiveMessageSessions_Response.FriendMessageSession message_sessions = 1;
optional uint32 timestamp = 2 [(description) = "This should be passed in the next request as lastmessage_since to poll for updates"];
}
message CFriendMessages_SendMessage_Request {
optional fixed64 steamid = 1;
optional int32 chat_entry_type = 2;
optional string message = 3;
optional bool contains_bbcode = 4;
optional bool echo_to_sender = 5;
optional bool low_priority = 6;
}
message CFriendMessages_SendMessage_Response {
optional string modified_message = 1;
optional uint32 server_timestamp = 2;
optional uint32 ordinal = 3;
}
message CFriendMessages_AckMessage_Notification {
optional fixed64 steamid_partner = 1;
optional uint32 timestamp = 2;
}
message CFriendMessages_IsInFriendsUIBeta_Request {
optional fixed64 steamid = 1;
}
message CFriendMessages_IsInFriendsUIBeta_Response {
optional bool online_in_friendsui = 1;
optional bool has_used_friendsui = 2;
}
message CFriendMessages_IncomingMessage_Notification {
optional fixed64 steamid_friend = 1;
optional int32 chat_entry_type = 2;
optional bool from_limited_account = 3;
optional string message = 4;
optional fixed32 rtime32_server_timestamp = 5;
optional uint32 ordinal = 6;
optional bool local_echo = 7;
optional string message_no_bbcode = 8;
optional bool low_priority = 9;
}
service FriendMessages {
option (service_description) = "A service for relaying and logging friend messages (user-to-user chats and offline messaging)";
rpc GetRecentMessages (.CFriendMessages_GetRecentMessages_Request) returns (.CFriendMessages_GetRecentMessages_Response) {
option (method_description) = "Get a log of recent chat messages between two users";
}
rpc GetActiveMessageSessions (.CFriendsMessages_GetActiveMessageSessions_Request) returns (.CFriendsMessages_GetActiveMessageSessions_Response) {
option (method_description) = "Get information about recent offline messages and chats";
}
rpc SendMessage (.CFriendMessages_SendMessage_Request) returns (.CFriendMessages_SendMessage_Response) {
option (method_description) = "Send a chat message to a friend";
}
rpc AckMessage (.CFriendMessages_AckMessage_Notification) returns (.NoResponse) {
option (method_description) = "Acknowledge that we have seen the most recent message from a friend";
}
rpc IsInFriendsUIBeta (.CFriendMessages_IsInFriendsUIBeta_Request) returns (.CFriendMessages_IsInFriendsUIBeta_Response) {
option (method_description) = "See if a friend is in the friendsui beta.";
}
}
service FriendMessagesClient {
option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
rpc IncomingMessage (.CFriendMessages_IncomingMessage_Notification) returns (.NoResponse) {
option (method_description) = "New chat message from a friend.";
}
rpc NotifyAckMessageEcho (.CFriendMessages_AckMessage_Notification) returns (.NoResponse) {
option (method_description) = "A session acked an unread message, echo to other sessions.";
}
}

2
protobufs/steammessages_publishedfile.proto

@ -336,6 +336,7 @@ message CPublishedFile_QueryFiles_Request {
optional uint32 query_type = 1 [(description) = "enumeration EPublishedFileQueryType in clientenums.h"];
optional uint32 page = 2 [(description) = "Current page"];
optional string cursor = 39 [(description) = "Cursor to paginate through the results (set to '*' for the first request). Prefer this over using the page parameter, as it will allow you to do deep pagination. When used, the page parameter will be ignored."];
optional uint32 numperpage = 3 [default = 1, (description) = "(Optional) The number of results, per page to return."];
optional uint32 creator_appid = 4 [(description) = "App that created the files"];
optional uint32 appid = 5 [(description) = "App that consumes the files"];
@ -370,6 +371,7 @@ message CPublishedFile_QueryFiles_Request {
message CPublishedFile_QueryFiles_Response {
optional uint32 total = 1 [(description) = "Number of matches found, not necessarily number of items returned"];
repeated .PublishedFileDetails publishedfiledetails = 2 [(description) = "Each file details will be populated, depending on what return values were requested."];
optional string next_cursor = 3 [(description) = "If a paging cursor was used, then this will be the next cursor to use for paging through results"];
}
message CPublishedFile_AddAppRelationship_Request {

44
protobufs/steammessages_store.proto

@ -18,9 +18,53 @@ message CStore_GetLocalizedNameForTags_Response {
repeated .CStore_GetLocalizedNameForTags_Response.Tag tags = 1;
}
message CStore_GetStorePreferences_Request {
}
message CStore_UserPreferences {
optional uint32 primary_language = 1;
optional uint32 secondary_languages = 2;
optional bool platform_windows = 3;
optional bool platform_mac = 4;
optional bool platform_linux = 5;
optional bool hide_adult_content_violence = 6;
optional bool hide_adult_content_sex = 7;
optional uint32 timestamp_updated = 8;
optional bool hide_store_broadcast = 9;
optional int32 timestamp_content_descriptor_preferences_updated = 10;
}
message CStore_UserTagPreferences {
message Tag {
optional uint32 tagid = 1;
optional string name = 2;
optional uint32 timestamp_added = 3;
}
repeated .CStore_UserTagPreferences.Tag tags_to_exclude = 1;
}
message CStore_UserContentDescriptorPreferences {
message ContentDescriptor {
optional uint32 content_descriptorid = 1;
optional uint32 timestamp_added = 2;
}
repeated .CStore_UserContentDescriptorPreferences.ContentDescriptor content_descriptors_to_exclude = 1;
}
message CStore_GetStorePreferences_Response {
optional .CStore_UserPreferences preferences = 1;
optional .CStore_UserTagPreferences tag_preferences = 2;
optional .CStore_UserContentDescriptorPreferences content_descriptor_preferences = 3;
}
service Store {
option (service_description) = "A service to access store data.";
rpc GetLocalizedNameForTags (.CStore_GetLocalizedNameForTags_Request) returns (.CStore_GetLocalizedNameForTags_Response) {
option (method_description) = "Gets tag names in a different language";
}
rpc GetStorePreferences (.CStore_GetStorePreferences_Request) returns (.CStore_GetStorePreferences_Response) {
option (method_description) = "Returns the desired ratings board and maximum rating to show on the store";
}
}

82
protobufs/steammessages_useraccount.proto

@ -3,6 +3,24 @@ import "steammessages_unified_base.proto";
option py_generic_services = true;
enum EInternalAccountType {
k_EInternalSteamAccountType = 1;
k_EInternalClanType = 2;
k_EInternalAppType = 3;
k_EInternalBroadcastChannelType = 4;
}
enum EExternalAccountType {
k_EExternalNone = 0;
k_EExternalSteamAccount = 1;
k_EExternalGoogleAccount = 2;
k_EExternalFacebookAccount = 3;
k_EExternalTwitterAccount = 4;
k_EExternalTwitchAccount = 5;
k_EExternalYouTubeChannelAccount = 6;
k_EExternalFacebookPage = 7;
}
message CUserAccount_GetAccountLinkStatus_Request {
}
@ -11,6 +29,34 @@ message CUserAccount_GetAccountLinkStatus_Response {
optional uint32 identity_verification = 2;
}
message CUserAccount_CreateFriendInviteToken_Request {
optional uint32 invite_limit = 1;
optional uint32 invite_duration = 2;
optional string invite_note = 3;
}
message CUserAccount_CreateFriendInviteToken_Response {
optional string invite_token = 1;
optional uint64 invite_limit = 2;
optional uint64 invite_duration = 3;
optional fixed32 time_created = 4;
optional bool valid = 5;
}
message CUserAccount_GetFriendInviteTokens_Request {
}
message CUserAccount_GetFriendInviteTokens_Response {
repeated .CUserAccount_CreateFriendInviteToken_Response tokens = 1;
}
message CUserAccount_RevokeFriendInviteToken_Request {
optional string invite_token = 1;
}
message CUserAccount_RevokeFriendInviteToken_Response {
}
message CUserAccount_RegisterCompatTool_Request {
optional uint32 compat_tool = 1;
}
@ -18,12 +64,48 @@ message CUserAccount_RegisterCompatTool_Request {
message CUserAccount_RegisterCompatTool_Response {
}
message CAccountLinking_GetLinkedAccountInfo_Request {
optional .EInternalAccountType account_type = 1 [default = k_EInternalSteamAccountType];
optional uint64 account_id = 2 [(description) = "Internal account ID"];
optional .EExternalAccountType filter = 3 [default = k_EExternalNone, (description) = "if specified then only return this external account type"];
optional bool return_access_token = 4 [(description) = "if provided and true, then returns valid access token if available. It may refresh the token. "];
}
message CAccountLinking_GetLinkedAccountInfo_Response {
message CExternalAccountTuple_Response {
optional .EExternalAccountType external_type = 1 [default = k_EExternalNone];
optional string external_id = 2 [(description) = "unique external account identifier"];
optional string external_user_name = 3 [(description) = "user readable; best effort"];
optional string external_url = 4 [(description) = "required for all, can be a sentinal to verify correctness"];
optional string access_token = 5 [(description) = "provided if requeest and it was valid."];
optional string access_token_secret = 6 [(description) = "required for OAuth v1 and signing the message, provided with access token."];
optional bool is_valid = 7 [(description) = "If false, it means access token no longer work (expired, disconnected) and the link is now broken. Inform user to refresh."];
}
repeated .CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response external_accounts = 1;
}
service UserAccount {
option (service_description) = "A service to get user account information";
rpc GetAccountLinkStatus (.CUserAccount_GetAccountLinkStatus_Request) returns (.CUserAccount_GetAccountLinkStatus_Response) {
option (method_description) = "Fetches account link status";
}
rpc CreateFriendInviteToken (.CUserAccount_CreateFriendInviteToken_Request) returns (.CUserAccount_CreateFriendInviteToken_Response) {
option (method_description) = "Create a limited-use token that can be used to create a friend request";
}
rpc GetFriendInviteTokens (.CUserAccount_GetFriendInviteTokens_Request) returns (.CUserAccount_GetFriendInviteTokens_Response) {
option (method_description) = "Get the set of active tokens for the user";
}
rpc RevokeFriendInviteToken (.CUserAccount_RevokeFriendInviteToken_Request) returns (.CUserAccount_RevokeFriendInviteToken_Response) {
option (method_description) = "Revoke an active friend invite token";
}
rpc RegisterCompatTool (.CUserAccount_RegisterCompatTool_Request) returns (.CUserAccount_RegisterCompatTool_Response) {
option (method_description) = "Register intended account usage of a tool";
}
}
service AccountLinking {
option (service_description) = "A service to manage and link to external accounts";
rpc GetLinkedAccountInfo (.CAccountLinking_GetLinkedAccountInfo_Request) returns (.CAccountLinking_GetLinkedAccountInfo_Response) {
option (method_description) = "List all my active linked external accounts; may be requested to return the access token";
}
}

70
steam/core/msg/unified.py

@ -2,40 +2,42 @@ import re
from importlib import import_module
service_lookup = {
'Broadcast': 'steam.protobufs.steammessages_broadcast_pb2',
'Cloud': 'steam.protobufs.steammessages_cloud_pb2',
'DNReport': 'steam.protobufs.steammessages_cloud_pb2',
'Credentials': 'steam.protobufs.steammessages_credentials_pb2',
'ContentBuilder': 'steam.protobufs.steammessages_depotbuilder_pb2',
'DeviceAuth': 'steam.protobufs.steammessages_deviceauth_pb2',
'DataPublisher': 'steam.protobufs.steammessages_datapublisher_pb2',
'ValveHWSurvey': 'steam.protobufs.steammessages_datapublisher_pb2',
'Econ': 'steam.protobufs.steammessages_econ_pb2',
'GameNotifications': 'steam.protobufs.steammessages_gamenotifications_pb2',
'GameServers': 'steam.protobufs.steammessages_gameservers_pb2',
'Inventory': 'steam.protobufs.steammessages_inventory_pb2',
'Community': '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',
'PlayerClient': 'steam.protobufs.steammessages_player_pb2',
'Player': 'steam.protobufs.steammessages_player_pb2',
'PublishedFile': 'steam.protobufs.steammessages_publishedfile_pb2',
'KeyEscrow': 'steam.protobufs.steammessages_secrets_pb2',
'Shader': 'steam.protobufs.steammessages_shader_pb2',
'SiteLicense': 'steam.protobufs.steammessages_site_license_pb2',
'Store': 'steam.protobufs.steammessages_store_pb2',
'TwoFactor': 'steam.protobufs.steammessages_twofactor_pb2',
'MsgTest': 'steam.protobufs.steammessages_unified_test_pb2',
'UserAccount': 'steam.protobufs.steammessages_useraccount_pb2',
'Video': 'steam.protobufs.steammessages_video_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',
'Broadcast': 'steam.protobufs.steammessages_broadcast_pb2',
'Cloud': 'steam.protobufs.steammessages_cloud_pb2',
'DNReport': 'steam.protobufs.steammessages_cloud_pb2',
'Credentials': 'steam.protobufs.steammessages_credentials_pb2',
'ContentBuilder': 'steam.protobufs.steammessages_depotbuilder_pb2',
'DeviceAuth': 'steam.protobufs.steammessages_deviceauth_pb2',
'DataPublisher': 'steam.protobufs.steammessages_datapublisher_pb2',
'ValveHWSurvey': 'steam.protobufs.steammessages_datapublisher_pb2',
'Econ': 'steam.protobufs.steammessages_econ_pb2',
'GameNotifications': 'steam.protobufs.steammessages_gamenotifications_pb2',
'GameServers': 'steam.protobufs.steammessages_gameservers_pb2',
'Inventory': 'steam.protobufs.steammessages_inventory_pb2',
'Community': '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',
'PlayerClient': 'steam.protobufs.steammessages_player_pb2',
'Player': 'steam.protobufs.steammessages_player_pb2',
'PublishedFile': 'steam.protobufs.steammessages_publishedfile_pb2',
'KeyEscrow': 'steam.protobufs.steammessages_secrets_pb2',
'Shader': 'steam.protobufs.steammessages_shader_pb2',
'SiteLicense': 'steam.protobufs.steammessages_site_license_pb2',
'Store': 'steam.protobufs.steammessages_store_pb2',
'TwoFactor': 'steam.protobufs.steammessages_twofactor_pb2',
'MsgTest': 'steam.protobufs.steammessages_unified_test_pb2',
'UserAccount': 'steam.protobufs.steammessages_useraccount_pb2',
'Video': 'steam.protobufs.steammessages_video_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',
'FriendMessages': 'steam.protobufs.steammessages_friendmessages_pb2',
'FriendMessagesClient': 'steam.protobufs.steammessages_friendmessages_pb2',
}
method_lookup = {}

150
steam/protobufs/steammessages_base_pb2.py

@ -20,7 +20,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name='steammessages_base.proto',
package='',
syntax='proto2',
serialized_pb=_b('\n\x18steammessages_base.proto\x1a google/protobuf/descriptor.proto\"\xc5\x04\n\x12\x43MsgProtoBufHeader\x12\x0f\n\x07steamid\x18\x01 \x01(\x06\x12\x18\n\x10\x63lient_sessionid\x18\x02 \x01(\x05\x12\x15\n\rrouting_appid\x18\x03 \x01(\r\x12*\n\x0cjobid_source\x18\n \x01(\x06:\x14\x31\x38\x34\x34\x36\x37\x34\x34\x30\x37\x33\x37\x30\x39\x35\x35\x31\x36\x31\x35\x12*\n\x0cjobid_target\x18\x0b \x01(\x06:\x14\x31\x38\x34\x34\x36\x37\x34\x34\x30\x37\x33\x37\x30\x39\x35\x35\x31\x36\x31\x35\x12\x17\n\x0ftarget_job_name\x18\x0c \x01(\t\x12\x0f\n\x07seq_num\x18\x18 \x01(\x05\x12\x12\n\x07\x65result\x18\r \x01(\x05:\x01\x32\x12\x15\n\rerror_message\x18\x0e \x01(\t\x12\n\n\x02ip\x18\x0f \x01(\r\x12\x1a\n\x12\x61uth_account_flags\x18\x10 \x01(\r\x12\x14\n\x0ctoken_source\x18\x16 \x01(\r\x12\x1b\n\x13\x61\x64min_spoofing_user\x18\x17 \x01(\x08\x12\x1a\n\x0ftransport_error\x18\x11 \x01(\x05:\x01\x31\x12\'\n\tmessageid\x18\x12 \x01(\x04:\x14\x31\x38\x34\x34\x36\x37\x34\x34\x30\x37\x33\x37\x30\x39\x35\x35\x31\x36\x31\x35\x12\x1a\n\x12publisher_group_id\x18\x13 \x01(\r\x12\r\n\x05sysid\x18\x14 \x01(\r\x12\x11\n\ttrace_tag\x18\x15 \x01(\x04\x12\x15\n\rwebapi_key_id\x18\x19 \x01(\r\x12\x1f\n\x17is_from_external_source\x18\x1a \x01(\x08\x12\x18\n\x10\x66orward_to_sysid\x18\x1b \x03(\r\x12\x10\n\x08\x63m_sysid\x18\x1c \x01(\r\"8\n\tCMsgMulti\x12\x15\n\rsize_unzipped\x18\x01 \x01(\r\x12\x14\n\x0cmessage_body\x18\x02 \x01(\x0c\"+\n\x13\x43MsgProtobufWrapped\x12\x14\n\x0cmessage_body\x18\x01 \x01(\x0c\"\x8f\x01\n\x0e\x43MsgAuthTicket\x12\x0e\n\x06\x65state\x18\x01 \x01(\r\x12\x12\n\x07\x65result\x18\x02 \x01(\r:\x01\x32\x12\x0f\n\x07steamid\x18\x03 \x01(\x06\x12\x0e\n\x06gameid\x18\x04 \x01(\x06\x12\x14\n\x0ch_steam_pipe\x18\x05 \x01(\r\x12\x12\n\nticket_crc\x18\x06 \x01(\r\x12\x0e\n\x06ticket\x18\x07 \x01(\x0c\"\xf6\x01\n\x14\x43\x43\x44\x44\x42\x41ppDetailCommon\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04icon\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x12\n\nlogo_small\x18\x05 \x01(\t\x12\x0c\n\x04tool\x18\x06 \x01(\x08\x12\x0c\n\x04\x64\x65mo\x18\x07 \x01(\x08\x12\r\n\x05media\x18\x08 \x01(\x08\x12\x1f\n\x17\x63ommunity_visible_stats\x18\t \x01(\x08\x12\x15\n\rfriendly_name\x18\n \x01(\t\x12\x13\n\x0bpropagation\x18\x0b \x01(\t\x12\x19\n\x11has_adult_content\x18\x0c \x01(\x08\"\xef\x02\n\rCMsgAppRights\x12\x11\n\tedit_info\x18\x01 \x01(\x08\x12\x0f\n\x07publish\x18\x02 \x01(\x08\x12\x17\n\x0fview_error_data\x18\x03 \x01(\x08\x12\x10\n\x08\x64ownload\x18\x04 \x01(\x08\x12\x15\n\rupload_cdkeys\x18\x05 \x01(\x08\x12\x17\n\x0fgenerate_cdkeys\x18\x06 \x01(\x08\x12\x17\n\x0fview_financials\x18\x07 \x01(\x08\x12\x12\n\nmanage_ceg\x18\x08 \x01(\x08\x12\x16\n\x0emanage_signing\x18\t \x01(\x08\x12\x15\n\rmanage_cdkeys\x18\n \x01(\x08\x12\x16\n\x0e\x65\x64it_marketing\x18\x0b \x01(\x08\x12\x17\n\x0f\x65\x63onomy_support\x18\x0c \x01(\x08\x12\"\n\x1a\x65\x63onomy_support_supervisor\x18\r \x01(\x08\x12\x16\n\x0emanage_pricing\x18\x0e \x01(\x08\x12\x16\n\x0e\x62roadcast_live\x18\x0f \x01(\x08\"\xf1\x02\n\x13\x43\x43uratorPreferences\x12\x1b\n\x13supported_languages\x18\x01 \x01(\r\x12\x18\n\x10platform_windows\x18\x02 \x01(\x08\x12\x14\n\x0cplatform_mac\x18\x03 \x01(\x08\x12\x16\n\x0eplatform_linux\x18\x04 \x01(\x08\x12\x12\n\nvr_content\x18\x05 \x01(\x08\x12\x1e\n\x16\x61\x64ult_content_violence\x18\x06 \x01(\x08\x12\x19\n\x11\x61\x64ult_content_sex\x18\x07 \x01(\x08\x12\x19\n\x11timestamp_updated\x18\x08 \x01(\r\x12\x16\n\x0etagids_curated\x18\t \x03(\r\x12\x17\n\x0ftagids_filtered\x18\n \x03(\r\x12\x15\n\rwebsite_title\x18\x0b \x01(\t\x12\x13\n\x0bwebsite_url\x18\x0c \x01(\t\x12\x16\n\x0e\x64iscussion_url\x18\r \x01(\t\x12\x16\n\x0eshow_broadcast\x18\x0e \x01(\x08\"@\n\x12\x43LocalizationToken\x12\x10\n\x08language\x18\x01 \x01(\r\x12\x18\n\x10localized_string\x18\x02 \x01(\t:A\n\x12msgpool_soft_limit\x12\x1f.google.protobuf.MessageOptions\x18\xd0\x86\x03 \x01(\x05:\x02\x33\x32:B\n\x12msgpool_hard_limit\x12\x1f.google.protobuf.MessageOptions\x18\xd1\x86\x03 \x01(\x05:\x03\x33\x38\x34:C\n\x14\x66orce_php_generation\x12\x1c.google.protobuf.FileOptions\x18\xd0\x86\x03 \x01(\x08:\x05\x66\x61lse:H\n\x18php_output_always_number\x12\x1d.google.protobuf.FieldOptions\x18\xe4\x86\x03 \x01(\x08:\x05\x66\x61lseB\x05H\x01\x90\x01\x00')
serialized_pb=_b('\n\x18steammessages_base.proto\x1a google/protobuf/descriptor.proto\"1\n\rCMsgIPAddress\x12\x0c\n\x02v4\x18\x01 \x01(\x07H\x00\x12\x0c\n\x02v6\x18\x02 \x01(\x0cH\x00\x42\x04\n\x02ip\"\xf5\x04\n\x12\x43MsgProtoBufHeader\x12\x0f\n\x07steamid\x18\x01 \x01(\x06\x12\x18\n\x10\x63lient_sessionid\x18\x02 \x01(\x05\x12\x15\n\rrouting_appid\x18\x03 \x01(\r\x12*\n\x0cjobid_source\x18\n \x01(\x06:\x14\x31\x38\x34\x34\x36\x37\x34\x34\x30\x37\x33\x37\x30\x39\x35\x35\x31\x36\x31\x35\x12*\n\x0cjobid_target\x18\x0b \x01(\x06:\x14\x31\x38\x34\x34\x36\x37\x34\x34\x30\x37\x33\x37\x30\x39\x35\x35\x31\x36\x31\x35\x12\x17\n\x0ftarget_job_name\x18\x0c \x01(\t\x12\x0f\n\x07seq_num\x18\x18 \x01(\x05\x12\x12\n\x07\x65result\x18\r \x01(\x05:\x01\x32\x12\x15\n\rerror_message\x18\x0e \x01(\t\x12\x1a\n\x12\x61uth_account_flags\x18\x10 \x01(\r\x12\x14\n\x0ctoken_source\x18\x16 \x01(\r\x12\x1b\n\x13\x61\x64min_spoofing_user\x18\x17 \x01(\x08\x12\x1a\n\x0ftransport_error\x18\x11 \x01(\x05:\x01\x31\x12\'\n\tmessageid\x18\x12 \x01(\x04:\x14\x31\x38\x34\x34\x36\x37\x34\x34\x30\x37\x33\x37\x30\x39\x35\x35\x31\x36\x31\x35\x12\x1a\n\x12publisher_group_id\x18\x13 \x01(\r\x12\r\n\x05sysid\x18\x14 \x01(\r\x12\x11\n\ttrace_tag\x18\x15 \x01(\x04\x12\x15\n\rwebapi_key_id\x18\x19 \x01(\r\x12\x1f\n\x17is_from_external_source\x18\x1a \x01(\x08\x12\x18\n\x10\x66orward_to_sysid\x18\x1b \x03(\r\x12\x10\n\x08\x63m_sysid\x18\x1c \x01(\r\x12\x10\n\x08wg_token\x18\x1e \x01(\t\x12\x0c\n\x02ip\x18\x0f \x01(\rH\x00\x12\x0f\n\x05ip_v6\x18\x1d \x01(\x0cH\x00\x42\t\n\x07ip_addr\"8\n\tCMsgMulti\x12\x15\n\rsize_unzipped\x18\x01 \x01(\r\x12\x14\n\x0cmessage_body\x18\x02 \x01(\x0c\"+\n\x13\x43MsgProtobufWrapped\x12\x14\n\x0cmessage_body\x18\x01 \x01(\x0c\"\x8f\x01\n\x0e\x43MsgAuthTicket\x12\x0e\n\x06\x65state\x18\x01 \x01(\r\x12\x12\n\x07\x65result\x18\x02 \x01(\r:\x01\x32\x12\x0f\n\x07steamid\x18\x03 \x01(\x06\x12\x0e\n\x06gameid\x18\x04 \x01(\x06\x12\x14\n\x0ch_steam_pipe\x18\x05 \x01(\r\x12\x12\n\nticket_crc\x18\x06 \x01(\r\x12\x0e\n\x06ticket\x18\x07 \x01(\x0c\"\xf6\x01\n\x14\x43\x43\x44\x44\x42\x41ppDetailCommon\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04icon\x18\x03 \x01(\t\x12\x0c\n\x04logo\x18\x04 \x01(\t\x12\x12\n\nlogo_small\x18\x05 \x01(\t\x12\x0c\n\x04tool\x18\x06 \x01(\x08\x12\x0c\n\x04\x64\x65mo\x18\x07 \x01(\x08\x12\r\n\x05media\x18\x08 \x01(\x08\x12\x1f\n\x17\x63ommunity_visible_stats\x18\t \x01(\x08\x12\x15\n\rfriendly_name\x18\n \x01(\t\x12\x13\n\x0bpropagation\x18\x0b \x01(\t\x12\x19\n\x11has_adult_content\x18\x0c \x01(\x08\"\xef\x02\n\rCMsgAppRights\x12\x11\n\tedit_info\x18\x01 \x01(\x08\x12\x0f\n\x07publish\x18\x02 \x01(\x08\x12\x17\n\x0fview_error_data\x18\x03 \x01(\x08\x12\x10\n\x08\x64ownload\x18\x04 \x01(\x08\x12\x15\n\rupload_cdkeys\x18\x05 \x01(\x08\x12\x17\n\x0fgenerate_cdkeys\x18\x06 \x01(\x08\x12\x17\n\x0fview_financials\x18\x07 \x01(\x08\x12\x12\n\nmanage_ceg\x18\x08 \x01(\x08\x12\x16\n\x0emanage_signing\x18\t \x01(\x08\x12\x15\n\rmanage_cdkeys\x18\n \x01(\x08\x12\x16\n\x0e\x65\x64it_marketing\x18\x0b \x01(\x08\x12\x17\n\x0f\x65\x63onomy_support\x18\x0c \x01(\x08\x12\"\n\x1a\x65\x63onomy_support_supervisor\x18\r \x01(\x08\x12\x16\n\x0emanage_pricing\x18\x0e \x01(\x08\x12\x16\n\x0e\x62roadcast_live\x18\x0f \x01(\x08\"\xf1\x02\n\x13\x43\x43uratorPreferences\x12\x1b\n\x13supported_languages\x18\x01 \x01(\r\x12\x18\n\x10platform_windows\x18\x02 \x01(\x08\x12\x14\n\x0cplatform_mac\x18\x03 \x01(\x08\x12\x16\n\x0eplatform_linux\x18\x04 \x01(\x08\x12\x12\n\nvr_content\x18\x05 \x01(\x08\x12\x1e\n\x16\x61\x64ult_content_violence\x18\x06 \x01(\x08\x12\x19\n\x11\x61\x64ult_content_sex\x18\x07 \x01(\x08\x12\x19\n\x11timestamp_updated\x18\x08 \x01(\r\x12\x16\n\x0etagids_curated\x18\t \x03(\r\x12\x17\n\x0ftagids_filtered\x18\n \x03(\r\x12\x15\n\rwebsite_title\x18\x0b \x01(\t\x12\x13\n\x0bwebsite_url\x18\x0c \x01(\t\x12\x16\n\x0e\x64iscussion_url\x18\r \x01(\t\x12\x16\n\x0eshow_broadcast\x18\x0e \x01(\x08\"@\n\x12\x43LocalizationToken\x12\x10\n\x08language\x18\x01 \x01(\r\x12\x18\n\x10localized_string\x18\x02 \x01(\t:A\n\x12msgpool_soft_limit\x12\x1f.google.protobuf.MessageOptions\x18\xd0\x86\x03 \x01(\x05:\x02\x33\x32:B\n\x12msgpool_hard_limit\x12\x1f.google.protobuf.MessageOptions\x18\xd1\x86\x03 \x01(\x05:\x03\x33\x38\x34:C\n\x14\x66orce_php_generation\x12\x1c.google.protobuf.FileOptions\x18\xd0\x86\x03 \x01(\x08:\x05\x66\x61lse:H\n\x18php_output_always_number\x12\x1d.google.protobuf.FieldOptions\x18\xe4\x86\x03 \x01(\x08:\x05\x66\x61lseB\x05H\x01\x90\x01\x00')
,
dependencies=[google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
@ -60,6 +60,47 @@ php_output_always_number = _descriptor.FieldDescriptor(
options=None)
_CMSGIPADDRESS = _descriptor.Descriptor(
name='CMsgIPAddress',
full_name='CMsgIPAddress',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='v4', full_name='CMsgIPAddress.v4', index=0,
number=1, type=7, 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,
options=None),
_descriptor.FieldDescriptor(
name='v6', full_name='CMsgIPAddress.v6', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='ip', full_name='CMsgIPAddress.ip',
index=0, containing_type=None, fields=[]),
],
serialized_start=62,
serialized_end=111,
)
_CMSGPROTOBUFHEADER = _descriptor.Descriptor(
name='CMsgProtoBufHeader',
full_name='CMsgProtoBufHeader',
@ -131,96 +172,110 @@ _CMSGPROTOBUFHEADER = _descriptor.Descriptor(
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='ip', full_name='CMsgProtoBufHeader.ip', index=9,
number=15, 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,
options=None),
_descriptor.FieldDescriptor(
name='auth_account_flags', full_name='CMsgProtoBufHeader.auth_account_flags', index=10,
name='auth_account_flags', full_name='CMsgProtoBufHeader.auth_account_flags', index=9,
number=16, 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,
options=None),
_descriptor.FieldDescriptor(
name='token_source', full_name='CMsgProtoBufHeader.token_source', index=11,
name='token_source', full_name='CMsgProtoBufHeader.token_source', index=10,
number=22, 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,
options=None),
_descriptor.FieldDescriptor(
name='admin_spoofing_user', full_name='CMsgProtoBufHeader.admin_spoofing_user', index=12,
name='admin_spoofing_user', full_name='CMsgProtoBufHeader.admin_spoofing_user', index=11,
number=23, 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,
options=None),
_descriptor.FieldDescriptor(
name='transport_error', full_name='CMsgProtoBufHeader.transport_error', index=13,
name='transport_error', full_name='CMsgProtoBufHeader.transport_error', index=12,
number=17, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='messageid', full_name='CMsgProtoBufHeader.messageid', index=14,
name='messageid', full_name='CMsgProtoBufHeader.messageid', index=13,
number=18, type=4, cpp_type=4, label=1,
has_default_value=True, default_value=18446744073709551615,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='publisher_group_id', full_name='CMsgProtoBufHeader.publisher_group_id', index=15,
name='publisher_group_id', full_name='CMsgProtoBufHeader.publisher_group_id', index=14,
number=19, 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,
options=None),
_descriptor.FieldDescriptor(
name='sysid', full_name='CMsgProtoBufHeader.sysid', index=16,
name='sysid', full_name='CMsgProtoBufHeader.sysid', index=15,
number=20, 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,
options=None),
_descriptor.FieldDescriptor(
name='trace_tag', full_name='CMsgProtoBufHeader.trace_tag', index=17,
name='trace_tag', full_name='CMsgProtoBufHeader.trace_tag', index=16,
number=21, 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,
options=None),
_descriptor.FieldDescriptor(
name='webapi_key_id', full_name='CMsgProtoBufHeader.webapi_key_id', index=18,
name='webapi_key_id', full_name='CMsgProtoBufHeader.webapi_key_id', index=17,
number=25, 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,
options=None),
_descriptor.FieldDescriptor(
name='is_from_external_source', full_name='CMsgProtoBufHeader.is_from_external_source', index=19,
name='is_from_external_source', full_name='CMsgProtoBufHeader.is_from_external_source', index=18,
number=26, 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,
options=None),
_descriptor.FieldDescriptor(
name='forward_to_sysid', full_name='CMsgProtoBufHeader.forward_to_sysid', index=20,
name='forward_to_sysid', full_name='CMsgProtoBufHeader.forward_to_sysid', index=19,
number=27, 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,
options=None),
_descriptor.FieldDescriptor(
name='cm_sysid', full_name='CMsgProtoBufHeader.cm_sysid', index=21,
name='cm_sysid', full_name='CMsgProtoBufHeader.cm_sysid', index=20,
number=28, 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,
options=None),
_descriptor.FieldDescriptor(
name='wg_token', full_name='CMsgProtoBufHeader.wg_token', index=21,
number=30, 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,
options=None),
_descriptor.FieldDescriptor(
name='ip', full_name='CMsgProtoBufHeader.ip', index=22,
number=15, 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,
options=None),
_descriptor.FieldDescriptor(
name='ip_v6', full_name='CMsgProtoBufHeader.ip_v6', index=23,
number=29, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
@ -232,9 +287,12 @@ _CMSGPROTOBUFHEADER = _descriptor.Descriptor(
syntax='proto2',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='ip_addr', full_name='CMsgProtoBufHeader.ip_addr',
index=0, containing_type=None, fields=[]),
],
serialized_start=63,
serialized_end=644,
serialized_start=114,
serialized_end=743,
)
@ -271,8 +329,8 @@ _CMSGMULTI = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=646,
serialized_end=702,
serialized_start=745,
serialized_end=801,
)
@ -302,8 +360,8 @@ _CMSGPROTOBUFWRAPPED = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=704,
serialized_end=747,
serialized_start=803,
serialized_end=846,
)
@ -375,8 +433,8 @@ _CMSGAUTHTICKET = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=750,
serialized_end=893,
serialized_start=849,
serialized_end=992,
)
@ -483,8 +541,8 @@ _CCDDBAPPDETAILCOMMON = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=896,
serialized_end=1142,
serialized_start=995,
serialized_end=1241,
)
@ -612,8 +670,8 @@ _CMSGAPPRIGHTS = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1145,
serialized_end=1512,
serialized_start=1244,
serialized_end=1611,
)
@ -734,8 +792,8 @@ _CCURATORPREFERENCES = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1515,
serialized_end=1884,
serialized_start=1614,
serialized_end=1983,
)
@ -772,10 +830,23 @@ _CLOCALIZATIONTOKEN = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1886,
serialized_end=1950,
serialized_start=1985,
serialized_end=2049,
)
_CMSGIPADDRESS.oneofs_by_name['ip'].fields.append(
_CMSGIPADDRESS.fields_by_name['v4'])
_CMSGIPADDRESS.fields_by_name['v4'].containing_oneof = _CMSGIPADDRESS.oneofs_by_name['ip']
_CMSGIPADDRESS.oneofs_by_name['ip'].fields.append(
_CMSGIPADDRESS.fields_by_name['v6'])
_CMSGIPADDRESS.fields_by_name['v6'].containing_oneof = _CMSGIPADDRESS.oneofs_by_name['ip']
_CMSGPROTOBUFHEADER.oneofs_by_name['ip_addr'].fields.append(
_CMSGPROTOBUFHEADER.fields_by_name['ip'])
_CMSGPROTOBUFHEADER.fields_by_name['ip'].containing_oneof = _CMSGPROTOBUFHEADER.oneofs_by_name['ip_addr']
_CMSGPROTOBUFHEADER.oneofs_by_name['ip_addr'].fields.append(
_CMSGPROTOBUFHEADER.fields_by_name['ip_v6'])
_CMSGPROTOBUFHEADER.fields_by_name['ip_v6'].containing_oneof = _CMSGPROTOBUFHEADER.oneofs_by_name['ip_addr']
DESCRIPTOR.message_types_by_name['CMsgIPAddress'] = _CMSGIPADDRESS
DESCRIPTOR.message_types_by_name['CMsgProtoBufHeader'] = _CMSGPROTOBUFHEADER
DESCRIPTOR.message_types_by_name['CMsgMulti'] = _CMSGMULTI
DESCRIPTOR.message_types_by_name['CMsgProtobufWrapped'] = _CMSGPROTOBUFWRAPPED
@ -789,6 +860,13 @@ DESCRIPTOR.extensions_by_name['msgpool_hard_limit'] = msgpool_hard_limit
DESCRIPTOR.extensions_by_name['force_php_generation'] = force_php_generation
DESCRIPTOR.extensions_by_name['php_output_always_number'] = php_output_always_number
CMsgIPAddress = _reflection.GeneratedProtocolMessageType('CMsgIPAddress', (_message.Message,), dict(
DESCRIPTOR = _CMSGIPADDRESS,
__module__ = 'steammessages_base_pb2'
# @@protoc_insertion_point(class_scope:CMsgIPAddress)
))
_sym_db.RegisterMessage(CMsgIPAddress)
CMsgProtoBufHeader = _reflection.GeneratedProtocolMessageType('CMsgProtoBufHeader', (_message.Message,), dict(
DESCRIPTOR = _CMSGPROTOBUFHEADER,
__module__ = 'steammessages_base_pb2'

1782
steam/protobufs/steammessages_broadcast_pb2.py

File diff suppressed because one or more lines are too long

592
steam/protobufs/steammessages_clientserver_2_pb2.py

File diff suppressed because one or more lines are too long

686
steam/protobufs/steammessages_clientserver_pb2.py

File diff suppressed because one or more lines are too long

864
steam/protobufs/steammessages_friendmessages_pb2.py

File diff suppressed because one or more lines are too long

172
steam/protobufs/steammessages_publishedfile_pb2.py

File diff suppressed because one or more lines are too long

384
steam/protobufs/steammessages_store_pb2.py

@ -22,7 +22,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name='steammessages_store.proto',
package='',
syntax='proto2',
serialized_pb=_b('\n\x19steammessages_store.proto\x1a steammessages_unified_base.proto\"J\n&CStore_GetLocalizedNameForTags_Request\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0e\n\x06tagids\x18\x02 \x03(\r\"\x9f\x01\n\'CStore_GetLocalizedNameForTags_Response\x12:\n\x04tags\x18\x01 \x03(\x0b\x32,.CStore_GetLocalizedNameForTags_Response.Tag\x1a\x38\n\x03Tag\x12\r\n\x05tagid\x18\x01 \x01(\r\x12\x14\n\x0c\x65nglish_name\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t2\xc7\x01\n\x05Store\x12\x98\x01\n\x17GetLocalizedNameForTags\x12\'.CStore_GetLocalizedNameForTags_Request\x1a(.CStore_GetLocalizedNameForTags_Response\"*\x82\xb5\x18&Gets tag names in a different language\x1a#\x82\xb5\x18\x1f\x41 service to access store data.B\x03\x90\x01\x01')
serialized_pb=_b('\n\x19steammessages_store.proto\x1a steammessages_unified_base.proto\"J\n&CStore_GetLocalizedNameForTags_Request\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0e\n\x06tagids\x18\x02 \x03(\r\"\x9f\x01\n\'CStore_GetLocalizedNameForTags_Response\x12:\n\x04tags\x18\x01 \x03(\x0b\x32,.CStore_GetLocalizedNameForTags_Response.Tag\x1a\x38\n\x03Tag\x12\r\n\x05tagid\x18\x01 \x01(\r\x12\x14\n\x0c\x65nglish_name\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\"$\n\"CStore_GetStorePreferences_Request\"\xcf\x02\n\x16\x43Store_UserPreferences\x12\x18\n\x10primary_language\x18\x01 \x01(\r\x12\x1b\n\x13secondary_languages\x18\x02 \x01(\r\x12\x18\n\x10platform_windows\x18\x03 \x01(\x08\x12\x14\n\x0cplatform_mac\x18\x04 \x01(\x08\x12\x16\n\x0eplatform_linux\x18\x05 \x01(\x08\x12#\n\x1bhide_adult_content_violence\x18\x06 \x01(\x08\x12\x1e\n\x16hide_adult_content_sex\x18\x07 \x01(\x08\x12\x19\n\x11timestamp_updated\x18\x08 \x01(\r\x12\x1c\n\x14hide_store_broadcast\x18\t \x01(\x08\x12\x38\n0timestamp_content_descriptor_preferences_updated\x18\n \x01(\x05\"\x91\x01\n\x19\x43Store_UserTagPreferences\x12\x37\n\x0ftags_to_exclude\x18\x01 \x03(\x0b\x32\x1e.CStore_UserTagPreferences.Tag\x1a;\n\x03Tag\x12\r\n\x05tagid\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x17\n\x0ftimestamp_added\x18\x03 \x01(\r\"\xd9\x01\n\'CStore_UserContentDescriptorPreferences\x12\x62\n\x1e\x63ontent_descriptors_to_exclude\x18\x01 \x03(\x0b\x32:.CStore_UserContentDescriptorPreferences.ContentDescriptor\x1aJ\n\x11\x43ontentDescriptor\x12\x1c\n\x14\x63ontent_descriptorid\x18\x01 \x01(\r\x12\x17\n\x0ftimestamp_added\x18\x02 \x01(\r\"\xda\x01\n#CStore_GetStorePreferences_Response\x12,\n\x0bpreferences\x18\x01 \x01(\x0b\x32\x17.CStore_UserPreferences\x12\x33\n\x0ftag_preferences\x18\x02 \x01(\x0b\x32\x1a.CStore_UserTagPreferences\x12P\n\x1e\x63ontent_descriptor_preferences\x18\x03 \x01(\x0b\x32(.CStore_UserContentDescriptorPreferences2\xf9\x02\n\x05Store\x12\x98\x01\n\x17GetLocalizedNameForTags\x12\'.CStore_GetLocalizedNameForTags_Request\x1a(.CStore_GetLocalizedNameForTags_Response\"*\x82\xb5\x18&Gets tag names in a different language\x12\xaf\x01\n\x13GetStorePreferences\x12#.CStore_GetStorePreferences_Request\x1a$.CStore_GetStorePreferences_Response\"M\x82\xb5\x18IReturns the desired ratings board and maximum rating to show on the store\x1a#\x82\xb5\x18\x1f\x41 service to access store data.B\x03\x90\x01\x01')
,
dependencies=[steammessages__unified__base__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
@ -142,10 +142,328 @@ _CSTORE_GETLOCALIZEDNAMEFORTAGS_RESPONSE = _descriptor.Descriptor(
serialized_end=299,
)
_CSTORE_GETSTOREPREFERENCES_REQUEST = _descriptor.Descriptor(
name='CStore_GetStorePreferences_Request',
full_name='CStore_GetStorePreferences_Request',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=301,
serialized_end=337,
)
_CSTORE_USERPREFERENCES = _descriptor.Descriptor(
name='CStore_UserPreferences',
full_name='CStore_UserPreferences',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='primary_language', full_name='CStore_UserPreferences.primary_language', 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,
options=None),
_descriptor.FieldDescriptor(
name='secondary_languages', full_name='CStore_UserPreferences.secondary_languages', 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,
options=None),
_descriptor.FieldDescriptor(
name='platform_windows', full_name='CStore_UserPreferences.platform_windows', 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,
options=None),
_descriptor.FieldDescriptor(
name='platform_mac', full_name='CStore_UserPreferences.platform_mac', 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,
options=None),
_descriptor.FieldDescriptor(
name='platform_linux', full_name='CStore_UserPreferences.platform_linux', index=4,
number=5, 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,
options=None),
_descriptor.FieldDescriptor(
name='hide_adult_content_violence', full_name='CStore_UserPreferences.hide_adult_content_violence', index=5,
number=6, 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,
options=None),
_descriptor.FieldDescriptor(
name='hide_adult_content_sex', full_name='CStore_UserPreferences.hide_adult_content_sex', 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,
options=None),
_descriptor.FieldDescriptor(
name='timestamp_updated', full_name='CStore_UserPreferences.timestamp_updated', index=7,
number=8, 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,
options=None),
_descriptor.FieldDescriptor(
name='hide_store_broadcast', full_name='CStore_UserPreferences.hide_store_broadcast', index=8,
number=9, 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,
options=None),
_descriptor.FieldDescriptor(
name='timestamp_content_descriptor_preferences_updated', full_name='CStore_UserPreferences.timestamp_content_descriptor_preferences_updated', index=9,
number=10, 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=340,
serialized_end=675,
)
_CSTORE_USERTAGPREFERENCES_TAG = _descriptor.Descriptor(
name='Tag',
full_name='CStore_UserTagPreferences.Tag',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='tagid', full_name='CStore_UserTagPreferences.Tag.tagid', 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,
options=None),
_descriptor.FieldDescriptor(
name='name', full_name='CStore_UserTagPreferences.Tag.name', 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,
options=None),
_descriptor.FieldDescriptor(
name='timestamp_added', full_name='CStore_UserTagPreferences.Tag.timestamp_added', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=764,
serialized_end=823,
)
_CSTORE_USERTAGPREFERENCES = _descriptor.Descriptor(
name='CStore_UserTagPreferences',
full_name='CStore_UserTagPreferences',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='tags_to_exclude', full_name='CStore_UserTagPreferences.tags_to_exclude', 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,
options=None),
],
extensions=[
],
nested_types=[_CSTORE_USERTAGPREFERENCES_TAG, ],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=678,
serialized_end=823,
)
_CSTORE_USERCONTENTDESCRIPTORPREFERENCES_CONTENTDESCRIPTOR = _descriptor.Descriptor(
name='ContentDescriptor',
full_name='CStore_UserContentDescriptorPreferences.ContentDescriptor',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='content_descriptorid', full_name='CStore_UserContentDescriptorPreferences.ContentDescriptor.content_descriptorid', 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,
options=None),
_descriptor.FieldDescriptor(
name='timestamp_added', full_name='CStore_UserContentDescriptorPreferences.ContentDescriptor.timestamp_added', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=969,
serialized_end=1043,
)
_CSTORE_USERCONTENTDESCRIPTORPREFERENCES = _descriptor.Descriptor(
name='CStore_UserContentDescriptorPreferences',
full_name='CStore_UserContentDescriptorPreferences',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='content_descriptors_to_exclude', full_name='CStore_UserContentDescriptorPreferences.content_descriptors_to_exclude', 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,
options=None),
],
extensions=[
],
nested_types=[_CSTORE_USERCONTENTDESCRIPTORPREFERENCES_CONTENTDESCRIPTOR, ],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=826,
serialized_end=1043,
)
_CSTORE_GETSTOREPREFERENCES_RESPONSE = _descriptor.Descriptor(
name='CStore_GetStorePreferences_Response',
full_name='CStore_GetStorePreferences_Response',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='preferences', full_name='CStore_GetStorePreferences_Response.preferences', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='tag_preferences', full_name='CStore_GetStorePreferences_Response.tag_preferences', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='content_descriptor_preferences', full_name='CStore_GetStorePreferences_Response.content_descriptor_preferences', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1046,
serialized_end=1264,
)
_CSTORE_GETLOCALIZEDNAMEFORTAGS_RESPONSE_TAG.containing_type = _CSTORE_GETLOCALIZEDNAMEFORTAGS_RESPONSE
_CSTORE_GETLOCALIZEDNAMEFORTAGS_RESPONSE.fields_by_name['tags'].message_type = _CSTORE_GETLOCALIZEDNAMEFORTAGS_RESPONSE_TAG
_CSTORE_USERTAGPREFERENCES_TAG.containing_type = _CSTORE_USERTAGPREFERENCES
_CSTORE_USERTAGPREFERENCES.fields_by_name['tags_to_exclude'].message_type = _CSTORE_USERTAGPREFERENCES_TAG
_CSTORE_USERCONTENTDESCRIPTORPREFERENCES_CONTENTDESCRIPTOR.containing_type = _CSTORE_USERCONTENTDESCRIPTORPREFERENCES
_CSTORE_USERCONTENTDESCRIPTORPREFERENCES.fields_by_name['content_descriptors_to_exclude'].message_type = _CSTORE_USERCONTENTDESCRIPTORPREFERENCES_CONTENTDESCRIPTOR
_CSTORE_GETSTOREPREFERENCES_RESPONSE.fields_by_name['preferences'].message_type = _CSTORE_USERPREFERENCES
_CSTORE_GETSTOREPREFERENCES_RESPONSE.fields_by_name['tag_preferences'].message_type = _CSTORE_USERTAGPREFERENCES
_CSTORE_GETSTOREPREFERENCES_RESPONSE.fields_by_name['content_descriptor_preferences'].message_type = _CSTORE_USERCONTENTDESCRIPTORPREFERENCES
DESCRIPTOR.message_types_by_name['CStore_GetLocalizedNameForTags_Request'] = _CSTORE_GETLOCALIZEDNAMEFORTAGS_REQUEST
DESCRIPTOR.message_types_by_name['CStore_GetLocalizedNameForTags_Response'] = _CSTORE_GETLOCALIZEDNAMEFORTAGS_RESPONSE
DESCRIPTOR.message_types_by_name['CStore_GetStorePreferences_Request'] = _CSTORE_GETSTOREPREFERENCES_REQUEST
DESCRIPTOR.message_types_by_name['CStore_UserPreferences'] = _CSTORE_USERPREFERENCES
DESCRIPTOR.message_types_by_name['CStore_UserTagPreferences'] = _CSTORE_USERTAGPREFERENCES
DESCRIPTOR.message_types_by_name['CStore_UserContentDescriptorPreferences'] = _CSTORE_USERCONTENTDESCRIPTORPREFERENCES
DESCRIPTOR.message_types_by_name['CStore_GetStorePreferences_Response'] = _CSTORE_GETSTOREPREFERENCES_RESPONSE
CStore_GetLocalizedNameForTags_Request = _reflection.GeneratedProtocolMessageType('CStore_GetLocalizedNameForTags_Request', (_message.Message,), dict(
DESCRIPTOR = _CSTORE_GETLOCALIZEDNAMEFORTAGS_REQUEST,
@ -169,6 +487,57 @@ CStore_GetLocalizedNameForTags_Response = _reflection.GeneratedProtocolMessageTy
_sym_db.RegisterMessage(CStore_GetLocalizedNameForTags_Response)
_sym_db.RegisterMessage(CStore_GetLocalizedNameForTags_Response.Tag)
CStore_GetStorePreferences_Request = _reflection.GeneratedProtocolMessageType('CStore_GetStorePreferences_Request', (_message.Message,), dict(
DESCRIPTOR = _CSTORE_GETSTOREPREFERENCES_REQUEST,
__module__ = 'steammessages_store_pb2'
# @@protoc_insertion_point(class_scope:CStore_GetStorePreferences_Request)
))
_sym_db.RegisterMessage(CStore_GetStorePreferences_Request)
CStore_UserPreferences = _reflection.GeneratedProtocolMessageType('CStore_UserPreferences', (_message.Message,), dict(
DESCRIPTOR = _CSTORE_USERPREFERENCES,
__module__ = 'steammessages_store_pb2'
# @@protoc_insertion_point(class_scope:CStore_UserPreferences)
))
_sym_db.RegisterMessage(CStore_UserPreferences)
CStore_UserTagPreferences = _reflection.GeneratedProtocolMessageType('CStore_UserTagPreferences', (_message.Message,), dict(
Tag = _reflection.GeneratedProtocolMessageType('Tag', (_message.Message,), dict(
DESCRIPTOR = _CSTORE_USERTAGPREFERENCES_TAG,
__module__ = 'steammessages_store_pb2'
# @@protoc_insertion_point(class_scope:CStore_UserTagPreferences.Tag)
))
,
DESCRIPTOR = _CSTORE_USERTAGPREFERENCES,
__module__ = 'steammessages_store_pb2'
# @@protoc_insertion_point(class_scope:CStore_UserTagPreferences)
))
_sym_db.RegisterMessage(CStore_UserTagPreferences)
_sym_db.RegisterMessage(CStore_UserTagPreferences.Tag)
CStore_UserContentDescriptorPreferences = _reflection.GeneratedProtocolMessageType('CStore_UserContentDescriptorPreferences', (_message.Message,), dict(
ContentDescriptor = _reflection.GeneratedProtocolMessageType('ContentDescriptor', (_message.Message,), dict(
DESCRIPTOR = _CSTORE_USERCONTENTDESCRIPTORPREFERENCES_CONTENTDESCRIPTOR,
__module__ = 'steammessages_store_pb2'
# @@protoc_insertion_point(class_scope:CStore_UserContentDescriptorPreferences.ContentDescriptor)
))
,
DESCRIPTOR = _CSTORE_USERCONTENTDESCRIPTORPREFERENCES,
__module__ = 'steammessages_store_pb2'
# @@protoc_insertion_point(class_scope:CStore_UserContentDescriptorPreferences)
))
_sym_db.RegisterMessage(CStore_UserContentDescriptorPreferences)
_sym_db.RegisterMessage(CStore_UserContentDescriptorPreferences.ContentDescriptor)
CStore_GetStorePreferences_Response = _reflection.GeneratedProtocolMessageType('CStore_GetStorePreferences_Response', (_message.Message,), dict(
DESCRIPTOR = _CSTORE_GETSTOREPREFERENCES_RESPONSE,
__module__ = 'steammessages_store_pb2'
# @@protoc_insertion_point(class_scope:CStore_GetStorePreferences_Response)
))
_sym_db.RegisterMessage(CStore_GetStorePreferences_Response)
DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\220\001\001'))
@ -179,8 +548,8 @@ _STORE = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
options=_descriptor._ParseOptions(descriptor_pb2.ServiceOptions(), _b('\202\265\030\037A service to access store data.')),
serialized_start=302,
serialized_end=501,
serialized_start=1267,
serialized_end=1644,
methods=[
_descriptor.MethodDescriptor(
name='GetLocalizedNameForTags',
@ -191,6 +560,15 @@ _STORE = _descriptor.ServiceDescriptor(
output_type=_CSTORE_GETLOCALIZEDNAMEFORTAGS_RESPONSE,
options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\265\030&Gets tag names in a different language')),
),
_descriptor.MethodDescriptor(
name='GetStorePreferences',
full_name='Store.GetStorePreferences',
index=1,
containing_service=None,
input_type=_CSTORE_GETSTOREPREFERENCES_REQUEST,
output_type=_CSTORE_GETSTOREPREFERENCES_RESPONSE,
options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\265\030IReturns the desired ratings board and maximum rating to show on the store')),
),
])
Store = service_reflection.GeneratedServiceType('Store', (_service.Service,), dict(

633
steam/protobufs/steammessages_useraccount_pb2.py

@ -3,6 +3,7 @@
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
@ -22,11 +23,101 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name='steammessages_useraccount.proto',
package='',
syntax='proto2',
serialized_pb=_b('\n\x1fsteammessages_useraccount.proto\x1a steammessages_unified_base.proto\"+\n)CUserAccount_GetAccountLinkStatus_Request\"Y\n*CUserAccount_GetAccountLinkStatus_Response\x12\x0c\n\x04pwid\x18\x01 \x01(\r\x12\x1d\n\x15identity_verification\x18\x02 \x01(\r\">\n\'CUserAccount_RegisterCompatTool_Request\x12\x13\n\x0b\x63ompat_tool\x18\x01 \x01(\r\"*\n(CUserAccount_RegisterCompatTool_Response2\xea\x02\n\x0bUserAccount\x12\x90\x01\n\x14GetAccountLinkStatus\x12*.CUserAccount_GetAccountLinkStatus_Request\x1a+.CUserAccount_GetAccountLinkStatus_Response\"\x1f\x82\xb5\x18\x1b\x46\x65tches account link status\x12\x98\x01\n\x12RegisterCompatTool\x12(.CUserAccount_RegisterCompatTool_Request\x1a).CUserAccount_RegisterCompatTool_Response\"-\x82\xb5\x18)Register intended account usage of a tool\x1a-\x82\xb5\x18)A service to get user account informationB\x03\x90\x01\x01')
serialized_pb=_b('\n\x1fsteammessages_useraccount.proto\x1a steammessages_unified_base.proto\"+\n)CUserAccount_GetAccountLinkStatus_Request\"Y\n*CUserAccount_GetAccountLinkStatus_Response\x12\x0c\n\x04pwid\x18\x01 \x01(\r\x12\x1d\n\x15identity_verification\x18\x02 \x01(\r\"r\n,CUserAccount_CreateFriendInviteToken_Request\x12\x14\n\x0cinvite_limit\x18\x01 \x01(\r\x12\x17\n\x0finvite_duration\x18\x02 \x01(\r\x12\x13\n\x0binvite_note\x18\x03 \x01(\t\"\x99\x01\n-CUserAccount_CreateFriendInviteToken_Response\x12\x14\n\x0cinvite_token\x18\x01 \x01(\t\x12\x14\n\x0cinvite_limit\x18\x02 \x01(\x04\x12\x17\n\x0finvite_duration\x18\x03 \x01(\x04\x12\x14\n\x0ctime_created\x18\x04 \x01(\x07\x12\r\n\x05valid\x18\x05 \x01(\x08\",\n*CUserAccount_GetFriendInviteTokens_Request\"m\n+CUserAccount_GetFriendInviteTokens_Response\x12>\n\x06tokens\x18\x01 \x03(\x0b\x32..CUserAccount_CreateFriendInviteToken_Response\"D\n,CUserAccount_RevokeFriendInviteToken_Request\x12\x14\n\x0cinvite_token\x18\x01 \x01(\t\"/\n-CUserAccount_RevokeFriendInviteToken_Response\">\n\'CUserAccount_RegisterCompatTool_Request\x12\x13\n\x0b\x63ompat_tool\x18\x01 \x01(\r\"*\n(CUserAccount_RegisterCompatTool_Response\"\x9c\x03\n,CAccountLinking_GetLinkedAccountInfo_Request\x12H\n\x0c\x61\x63\x63ount_type\x18\x01 \x01(\x0e\x32\x15.EInternalAccountType:\x1bk_EInternalSteamAccountType\x12+\n\naccount_id\x18\x02 \x01(\x04\x42\x17\x82\xb5\x18\x13Internal account ID\x12t\n\x06\x66ilter\x18\x03 \x01(\x0e\x32\x15.EExternalAccountType:\x0fk_EExternalNoneB<\x82\xb5\x18\x38if specified then only return this external account type\x12\x7f\n\x13return_access_token\x18\x04 \x01(\x08\x42\x62\x82\xb5\x18^if provided and true, then returns valid access token if available. It may refresh the token. \"\x8b\x06\n-CAccountLinking_GetLinkedAccountInfo_Response\x12h\n\x11\x65xternal_accounts\x18\x01 \x03(\x0b\x32M.CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response\x1a\xef\x04\n\x1e\x43\x45xternalAccountTuple_Response\x12=\n\rexternal_type\x18\x01 \x01(\x0e\x32\x15.EExternalAccountType:\x0fk_EExternalNone\x12;\n\x0b\x65xternal_id\x18\x02 \x01(\tB&\x82\xb5\x18\"unique external account identifier\x12:\n\x12\x65xternal_user_name\x18\x03 \x01(\tB\x1e\x82\xb5\x18\x1auser readable; best effort\x12S\n\x0c\x65xternal_url\x18\x04 \x01(\tB=\x82\xb5\x18\x39required for all, can be a sentinal to verify correctness\x12@\n\x0c\x61\x63\x63\x65ss_token\x18\x05 \x01(\tB*\x82\xb5\x18&provided if requeest and it was valid.\x12k\n\x13\x61\x63\x63\x65ss_token_secret\x18\x06 \x01(\tBN\x82\xb5\x18Jrequired for OAuth v1 and signing the message, provided with access token.\x12\x90\x01\n\x08is_valid\x18\x07 \x01(\x08\x42~\x82\xb5\x18zIf false, it means access token no longer work (expired, disconnected) and the link is now broken. Inform user to refresh.*\x8d\x01\n\x14\x45InternalAccountType\x12\x1f\n\x1bk_EInternalSteamAccountType\x10\x01\x12\x17\n\x13k_EInternalClanType\x10\x02\x12\x16\n\x12k_EInternalAppType\x10\x03\x12#\n\x1fk_EInternalBroadcastChannelType\x10\x04*\x86\x02\n\x14\x45\x45xternalAccountType\x12\x13\n\x0fk_EExternalNone\x10\x00\x12\x1b\n\x17k_EExternalSteamAccount\x10\x01\x12\x1c\n\x18k_EExternalGoogleAccount\x10\x02\x12\x1e\n\x1ak_EExternalFacebookAccount\x10\x03\x12\x1d\n\x19k_EExternalTwitterAccount\x10\x04\x12\x1c\n\x18k_EExternalTwitchAccount\x10\x05\x12$\n k_EExternalYouTubeChannelAccount\x10\x06\x12\x1b\n\x17k_EExternalFacebookPage\x10\x07\x32\xfa\x06\n\x0bUserAccount\x12\x90\x01\n\x14GetAccountLinkStatus\x12*.CUserAccount_GetAccountLinkStatus_Request\x1a+.CUserAccount_GetAccountLinkStatus_Response\"\x1f\x82\xb5\x18\x1b\x46\x65tches account link status\x12\xc4\x01\n\x17\x43reateFriendInviteToken\x12-.CUserAccount_CreateFriendInviteToken_Request\x1a..CUserAccount_CreateFriendInviteToken_Response\"J\x82\xb5\x18\x46\x43reate a limited-use token that can be used to create a friend request\x12\xa1\x01\n\x15GetFriendInviteTokens\x12+.CUserAccount_GetFriendInviteTokens_Request\x1a,.CUserAccount_GetFriendInviteTokens_Response\"-\x82\xb5\x18)Get the set of active tokens for the user\x12\xa2\x01\n\x17RevokeFriendInviteToken\x12-.CUserAccount_RevokeFriendInviteToken_Request\x1a..CUserAccount_RevokeFriendInviteToken_Response\"(\x82\xb5\x18$Revoke an active friend invite token\x12\x98\x01\n\x12RegisterCompatTool\x12(.CUserAccount_RegisterCompatTool_Request\x1a).CUserAccount_RegisterCompatTool_Response\"-\x82\xb5\x18)Register intended account usage of a tool\x1a-\x82\xb5\x18)A service to get user account information2\x9d\x02\n\x0e\x41\x63\x63ountLinking\x12\xd3\x01\n\x14GetLinkedAccountInfo\x12-.CAccountLinking_GetLinkedAccountInfo_Request\x1a..CAccountLinking_GetLinkedAccountInfo_Response\"\\\x82\xb5\x18XList all my active linked external accounts; may be requested to return the access token\x1a\x35\x82\xb5\x18\x31\x41 service to manage and link to external accountsB\x03\x90\x01\x01')
,
dependencies=[steammessages__unified__base__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
_EINTERNALACCOUNTTYPE = _descriptor.EnumDescriptor(
name='EInternalAccountType',
full_name='EInternalAccountType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='k_EInternalSteamAccountType', index=0, number=1,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='k_EInternalClanType', index=1, number=2,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='k_EInternalAppType', index=2, number=3,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='k_EInternalBroadcastChannelType', index=3, number=4,
options=None,
type=None),
],
containing_type=None,
options=None,
serialized_start=2059,
serialized_end=2200,
)
_sym_db.RegisterEnumDescriptor(_EINTERNALACCOUNTTYPE)
EInternalAccountType = enum_type_wrapper.EnumTypeWrapper(_EINTERNALACCOUNTTYPE)
_EEXTERNALACCOUNTTYPE = _descriptor.EnumDescriptor(
name='EExternalAccountType',
full_name='EExternalAccountType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='k_EExternalNone', index=0, number=0,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='k_EExternalSteamAccount', index=1, number=1,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='k_EExternalGoogleAccount', index=2, number=2,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='k_EExternalFacebookAccount', index=3, number=3,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='k_EExternalTwitterAccount', index=4, number=4,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='k_EExternalTwitchAccount', index=5, number=5,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='k_EExternalYouTubeChannelAccount', index=6, number=6,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='k_EExternalFacebookPage', index=7, number=7,
options=None,
type=None),
],
containing_type=None,
options=None,
serialized_start=2203,
serialized_end=2465,
)
_sym_db.RegisterEnumDescriptor(_EEXTERNALACCOUNTTYPE)
EExternalAccountType = enum_type_wrapper.EnumTypeWrapper(_EEXTERNALACCOUNTTYPE)
k_EInternalSteamAccountType = 1
k_EInternalClanType = 2
k_EInternalAppType = 3
k_EInternalBroadcastChannelType = 4
k_EExternalNone = 0
k_EExternalSteamAccount = 1
k_EExternalGoogleAccount = 2
k_EExternalFacebookAccount = 3
k_EExternalTwitterAccount = 4
k_EExternalTwitchAccount = 5
k_EExternalYouTubeChannelAccount = 6
k_EExternalFacebookPage = 7
@ -92,6 +183,220 @@ _CUSERACCOUNT_GETACCOUNTLINKSTATUS_RESPONSE = _descriptor.Descriptor(
)
_CUSERACCOUNT_CREATEFRIENDINVITETOKEN_REQUEST = _descriptor.Descriptor(
name='CUserAccount_CreateFriendInviteToken_Request',
full_name='CUserAccount_CreateFriendInviteToken_Request',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='invite_limit', full_name='CUserAccount_CreateFriendInviteToken_Request.invite_limit', 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,
options=None),
_descriptor.FieldDescriptor(
name='invite_duration', full_name='CUserAccount_CreateFriendInviteToken_Request.invite_duration', 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,
options=None),
_descriptor.FieldDescriptor(
name='invite_note', full_name='CUserAccount_CreateFriendInviteToken_Request.invite_note', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=205,
serialized_end=319,
)
_CUSERACCOUNT_CREATEFRIENDINVITETOKEN_RESPONSE = _descriptor.Descriptor(
name='CUserAccount_CreateFriendInviteToken_Response',
full_name='CUserAccount_CreateFriendInviteToken_Response',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='invite_token', full_name='CUserAccount_CreateFriendInviteToken_Response.invite_token', 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,
options=None),
_descriptor.FieldDescriptor(
name='invite_limit', full_name='CUserAccount_CreateFriendInviteToken_Response.invite_limit', 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,
options=None),
_descriptor.FieldDescriptor(
name='invite_duration', full_name='CUserAccount_CreateFriendInviteToken_Response.invite_duration', 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,
options=None),
_descriptor.FieldDescriptor(
name='time_created', full_name='CUserAccount_CreateFriendInviteToken_Response.time_created', index=3,
number=4, type=7, 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,
options=None),
_descriptor.FieldDescriptor(
name='valid', full_name='CUserAccount_CreateFriendInviteToken_Response.valid', index=4,
number=5, 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=322,
serialized_end=475,
)
_CUSERACCOUNT_GETFRIENDINVITETOKENS_REQUEST = _descriptor.Descriptor(
name='CUserAccount_GetFriendInviteTokens_Request',
full_name='CUserAccount_GetFriendInviteTokens_Request',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=477,
serialized_end=521,
)
_CUSERACCOUNT_GETFRIENDINVITETOKENS_RESPONSE = _descriptor.Descriptor(
name='CUserAccount_GetFriendInviteTokens_Response',
full_name='CUserAccount_GetFriendInviteTokens_Response',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='tokens', full_name='CUserAccount_GetFriendInviteTokens_Response.tokens', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=523,
serialized_end=632,
)
_CUSERACCOUNT_REVOKEFRIENDINVITETOKEN_REQUEST = _descriptor.Descriptor(
name='CUserAccount_RevokeFriendInviteToken_Request',
full_name='CUserAccount_RevokeFriendInviteToken_Request',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='invite_token', full_name='CUserAccount_RevokeFriendInviteToken_Request.invite_token', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=634,
serialized_end=702,
)
_CUSERACCOUNT_REVOKEFRIENDINVITETOKEN_RESPONSE = _descriptor.Descriptor(
name='CUserAccount_RevokeFriendInviteToken_Response',
full_name='CUserAccount_RevokeFriendInviteToken_Response',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=704,
serialized_end=751,
)
_CUSERACCOUNT_REGISTERCOMPATTOOL_REQUEST = _descriptor.Descriptor(
name='CUserAccount_RegisterCompatTool_Request',
full_name='CUserAccount_RegisterCompatTool_Request',
@ -118,8 +423,8 @@ _CUSERACCOUNT_REGISTERCOMPATTOOL_REQUEST = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=205,
serialized_end=267,
serialized_start=753,
serialized_end=815,
)
@ -142,14 +447,185 @@ _CUSERACCOUNT_REGISTERCOMPATTOOL_RESPONSE = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=269,
serialized_end=311,
serialized_start=817,
serialized_end=859,
)
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST = _descriptor.Descriptor(
name='CAccountLinking_GetLinkedAccountInfo_Request',
full_name='CAccountLinking_GetLinkedAccountInfo_Request',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='account_type', full_name='CAccountLinking_GetLinkedAccountInfo_Request.account_type', index=0,
number=1, type=14, cpp_type=8, label=1,
has_default_value=True, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='account_id', full_name='CAccountLinking_GetLinkedAccountInfo_Request.account_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,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030\023Internal account ID'))),
_descriptor.FieldDescriptor(
name='filter', full_name='CAccountLinking_GetLinkedAccountInfo_Request.filter', 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,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\0308if specified then only return this external account type'))),
_descriptor.FieldDescriptor(
name='return_access_token', full_name='CAccountLinking_GetLinkedAccountInfo_Request.return_access_token', 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,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030^if provided and true, then returns valid access token if available. It may refresh the token. '))),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=862,
serialized_end=1274,
)
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE = _descriptor.Descriptor(
name='CExternalAccountTuple_Response',
full_name='CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='external_type', full_name='CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.external_type', 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,
options=None),
_descriptor.FieldDescriptor(
name='external_id', full_name='CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.external_id', 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,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030\"unique external account identifier'))),
_descriptor.FieldDescriptor(
name='external_user_name', full_name='CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.external_user_name', 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,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030\032user readable; best effort'))),
_descriptor.FieldDescriptor(
name='external_url', full_name='CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.external_url', 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,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\0309required for all, can be a sentinal to verify correctness'))),
_descriptor.FieldDescriptor(
name='access_token', full_name='CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.access_token', 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,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030&provided if requeest and it was valid.'))),
_descriptor.FieldDescriptor(
name='access_token_secret', full_name='CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.access_token_secret', index=5,
number=6, 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,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030Jrequired for OAuth v1 and signing the message, provided with access token.'))),
_descriptor.FieldDescriptor(
name='is_valid', full_name='CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response.is_valid', 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,
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030zIf false, it means access token no longer work (expired, disconnected) and the link is now broken. Inform user to refresh.'))),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1433,
serialized_end=2056,
)
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE = _descriptor.Descriptor(
name='CAccountLinking_GetLinkedAccountInfo_Response',
full_name='CAccountLinking_GetLinkedAccountInfo_Response',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='external_accounts', full_name='CAccountLinking_GetLinkedAccountInfo_Response.external_accounts', 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,
options=None),
],
extensions=[
],
nested_types=[_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE, ],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1277,
serialized_end=2056,
)
_CUSERACCOUNT_GETFRIENDINVITETOKENS_RESPONSE.fields_by_name['tokens'].message_type = _CUSERACCOUNT_CREATEFRIENDINVITETOKEN_RESPONSE
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST.fields_by_name['account_type'].enum_type = _EINTERNALACCOUNTTYPE
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST.fields_by_name['filter'].enum_type = _EEXTERNALACCOUNTTYPE
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['external_type'].enum_type = _EEXTERNALACCOUNTTYPE
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.containing_type = _CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE.fields_by_name['external_accounts'].message_type = _CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE
DESCRIPTOR.message_types_by_name['CUserAccount_GetAccountLinkStatus_Request'] = _CUSERACCOUNT_GETACCOUNTLINKSTATUS_REQUEST
DESCRIPTOR.message_types_by_name['CUserAccount_GetAccountLinkStatus_Response'] = _CUSERACCOUNT_GETACCOUNTLINKSTATUS_RESPONSE
DESCRIPTOR.message_types_by_name['CUserAccount_CreateFriendInviteToken_Request'] = _CUSERACCOUNT_CREATEFRIENDINVITETOKEN_REQUEST
DESCRIPTOR.message_types_by_name['CUserAccount_CreateFriendInviteToken_Response'] = _CUSERACCOUNT_CREATEFRIENDINVITETOKEN_RESPONSE
DESCRIPTOR.message_types_by_name['CUserAccount_GetFriendInviteTokens_Request'] = _CUSERACCOUNT_GETFRIENDINVITETOKENS_REQUEST
DESCRIPTOR.message_types_by_name['CUserAccount_GetFriendInviteTokens_Response'] = _CUSERACCOUNT_GETFRIENDINVITETOKENS_RESPONSE
DESCRIPTOR.message_types_by_name['CUserAccount_RevokeFriendInviteToken_Request'] = _CUSERACCOUNT_REVOKEFRIENDINVITETOKEN_REQUEST
DESCRIPTOR.message_types_by_name['CUserAccount_RevokeFriendInviteToken_Response'] = _CUSERACCOUNT_REVOKEFRIENDINVITETOKEN_RESPONSE
DESCRIPTOR.message_types_by_name['CUserAccount_RegisterCompatTool_Request'] = _CUSERACCOUNT_REGISTERCOMPATTOOL_REQUEST
DESCRIPTOR.message_types_by_name['CUserAccount_RegisterCompatTool_Response'] = _CUSERACCOUNT_REGISTERCOMPATTOOL_RESPONSE
DESCRIPTOR.message_types_by_name['CAccountLinking_GetLinkedAccountInfo_Request'] = _CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST
DESCRIPTOR.message_types_by_name['CAccountLinking_GetLinkedAccountInfo_Response'] = _CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE
DESCRIPTOR.enum_types_by_name['EInternalAccountType'] = _EINTERNALACCOUNTTYPE
DESCRIPTOR.enum_types_by_name['EExternalAccountType'] = _EEXTERNALACCOUNTTYPE
CUserAccount_GetAccountLinkStatus_Request = _reflection.GeneratedProtocolMessageType('CUserAccount_GetAccountLinkStatus_Request', (_message.Message,), dict(
DESCRIPTOR = _CUSERACCOUNT_GETACCOUNTLINKSTATUS_REQUEST,
@ -165,6 +641,48 @@ CUserAccount_GetAccountLinkStatus_Response = _reflection.GeneratedProtocolMessag
))
_sym_db.RegisterMessage(CUserAccount_GetAccountLinkStatus_Response)
CUserAccount_CreateFriendInviteToken_Request = _reflection.GeneratedProtocolMessageType('CUserAccount_CreateFriendInviteToken_Request', (_message.Message,), dict(
DESCRIPTOR = _CUSERACCOUNT_CREATEFRIENDINVITETOKEN_REQUEST,
__module__ = 'steammessages_useraccount_pb2'
# @@protoc_insertion_point(class_scope:CUserAccount_CreateFriendInviteToken_Request)
))
_sym_db.RegisterMessage(CUserAccount_CreateFriendInviteToken_Request)
CUserAccount_CreateFriendInviteToken_Response = _reflection.GeneratedProtocolMessageType('CUserAccount_CreateFriendInviteToken_Response', (_message.Message,), dict(
DESCRIPTOR = _CUSERACCOUNT_CREATEFRIENDINVITETOKEN_RESPONSE,
__module__ = 'steammessages_useraccount_pb2'
# @@protoc_insertion_point(class_scope:CUserAccount_CreateFriendInviteToken_Response)
))
_sym_db.RegisterMessage(CUserAccount_CreateFriendInviteToken_Response)
CUserAccount_GetFriendInviteTokens_Request = _reflection.GeneratedProtocolMessageType('CUserAccount_GetFriendInviteTokens_Request', (_message.Message,), dict(
DESCRIPTOR = _CUSERACCOUNT_GETFRIENDINVITETOKENS_REQUEST,
__module__ = 'steammessages_useraccount_pb2'
# @@protoc_insertion_point(class_scope:CUserAccount_GetFriendInviteTokens_Request)
))
_sym_db.RegisterMessage(CUserAccount_GetFriendInviteTokens_Request)
CUserAccount_GetFriendInviteTokens_Response = _reflection.GeneratedProtocolMessageType('CUserAccount_GetFriendInviteTokens_Response', (_message.Message,), dict(
DESCRIPTOR = _CUSERACCOUNT_GETFRIENDINVITETOKENS_RESPONSE,
__module__ = 'steammessages_useraccount_pb2'
# @@protoc_insertion_point(class_scope:CUserAccount_GetFriendInviteTokens_Response)
))
_sym_db.RegisterMessage(CUserAccount_GetFriendInviteTokens_Response)
CUserAccount_RevokeFriendInviteToken_Request = _reflection.GeneratedProtocolMessageType('CUserAccount_RevokeFriendInviteToken_Request', (_message.Message,), dict(
DESCRIPTOR = _CUSERACCOUNT_REVOKEFRIENDINVITETOKEN_REQUEST,
__module__ = 'steammessages_useraccount_pb2'
# @@protoc_insertion_point(class_scope:CUserAccount_RevokeFriendInviteToken_Request)
))
_sym_db.RegisterMessage(CUserAccount_RevokeFriendInviteToken_Request)
CUserAccount_RevokeFriendInviteToken_Response = _reflection.GeneratedProtocolMessageType('CUserAccount_RevokeFriendInviteToken_Response', (_message.Message,), dict(
DESCRIPTOR = _CUSERACCOUNT_REVOKEFRIENDINVITETOKEN_RESPONSE,
__module__ = 'steammessages_useraccount_pb2'
# @@protoc_insertion_point(class_scope:CUserAccount_RevokeFriendInviteToken_Response)
))
_sym_db.RegisterMessage(CUserAccount_RevokeFriendInviteToken_Response)
CUserAccount_RegisterCompatTool_Request = _reflection.GeneratedProtocolMessageType('CUserAccount_RegisterCompatTool_Request', (_message.Message,), dict(
DESCRIPTOR = _CUSERACCOUNT_REGISTERCOMPATTOOL_REQUEST,
__module__ = 'steammessages_useraccount_pb2'
@ -179,9 +697,49 @@ CUserAccount_RegisterCompatTool_Response = _reflection.GeneratedProtocolMessageT
))
_sym_db.RegisterMessage(CUserAccount_RegisterCompatTool_Response)
CAccountLinking_GetLinkedAccountInfo_Request = _reflection.GeneratedProtocolMessageType('CAccountLinking_GetLinkedAccountInfo_Request', (_message.Message,), dict(
DESCRIPTOR = _CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST,
__module__ = 'steammessages_useraccount_pb2'
# @@protoc_insertion_point(class_scope:CAccountLinking_GetLinkedAccountInfo_Request)
))
_sym_db.RegisterMessage(CAccountLinking_GetLinkedAccountInfo_Request)
CAccountLinking_GetLinkedAccountInfo_Response = _reflection.GeneratedProtocolMessageType('CAccountLinking_GetLinkedAccountInfo_Response', (_message.Message,), dict(
CExternalAccountTuple_Response = _reflection.GeneratedProtocolMessageType('CExternalAccountTuple_Response', (_message.Message,), dict(
DESCRIPTOR = _CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE,
__module__ = 'steammessages_useraccount_pb2'
# @@protoc_insertion_point(class_scope:CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response)
))
,
DESCRIPTOR = _CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE,
__module__ = 'steammessages_useraccount_pb2'
# @@protoc_insertion_point(class_scope:CAccountLinking_GetLinkedAccountInfo_Response)
))
_sym_db.RegisterMessage(CAccountLinking_GetLinkedAccountInfo_Response)
_sym_db.RegisterMessage(CAccountLinking_GetLinkedAccountInfo_Response.CExternalAccountTuple_Response)
DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\220\001\001'))
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST.fields_by_name['account_id'].has_options = True
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST.fields_by_name['account_id']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030\023Internal account ID'))
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST.fields_by_name['filter'].has_options = True
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST.fields_by_name['filter']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\0308if specified then only return this external account type'))
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST.fields_by_name['return_access_token'].has_options = True
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST.fields_by_name['return_access_token']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030^if provided and true, then returns valid access token if available. It may refresh the token. '))
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['external_id'].has_options = True
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['external_id']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030\"unique external account identifier'))
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['external_user_name'].has_options = True
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['external_user_name']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030\032user readable; best effort'))
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['external_url'].has_options = True
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['external_url']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\0309required for all, can be a sentinal to verify correctness'))
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['access_token'].has_options = True
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['access_token']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030&provided if requeest and it was valid.'))
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['access_token_secret'].has_options = True
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['access_token_secret']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030Jrequired for OAuth v1 and signing the message, provided with access token.'))
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['is_valid'].has_options = True
_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE_CEXTERNALACCOUNTTUPLE_RESPONSE.fields_by_name['is_valid']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\202\265\030zIf false, it means access token no longer work (expired, disconnected) and the link is now broken. Inform user to refresh.'))
_USERACCOUNT = _descriptor.ServiceDescriptor(
name='UserAccount',
@ -189,8 +747,8 @@ _USERACCOUNT = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
options=_descriptor._ParseOptions(descriptor_pb2.ServiceOptions(), _b('\202\265\030)A service to get user account information')),
serialized_start=314,
serialized_end=676,
serialized_start=2468,
serialized_end=3358,
methods=[
_descriptor.MethodDescriptor(
name='GetAccountLinkStatus',
@ -201,10 +759,37 @@ _USERACCOUNT = _descriptor.ServiceDescriptor(
output_type=_CUSERACCOUNT_GETACCOUNTLINKSTATUS_RESPONSE,
options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\265\030\033Fetches account link status')),
),
_descriptor.MethodDescriptor(
name='CreateFriendInviteToken',
full_name='UserAccount.CreateFriendInviteToken',
index=1,
containing_service=None,
input_type=_CUSERACCOUNT_CREATEFRIENDINVITETOKEN_REQUEST,
output_type=_CUSERACCOUNT_CREATEFRIENDINVITETOKEN_RESPONSE,
options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\265\030FCreate a limited-use token that can be used to create a friend request')),
),
_descriptor.MethodDescriptor(
name='GetFriendInviteTokens',
full_name='UserAccount.GetFriendInviteTokens',
index=2,
containing_service=None,
input_type=_CUSERACCOUNT_GETFRIENDINVITETOKENS_REQUEST,
output_type=_CUSERACCOUNT_GETFRIENDINVITETOKENS_RESPONSE,
options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\265\030)Get the set of active tokens for the user')),
),
_descriptor.MethodDescriptor(
name='RevokeFriendInviteToken',
full_name='UserAccount.RevokeFriendInviteToken',
index=3,
containing_service=None,
input_type=_CUSERACCOUNT_REVOKEFRIENDINVITETOKEN_REQUEST,
output_type=_CUSERACCOUNT_REVOKEFRIENDINVITETOKEN_RESPONSE,
options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\265\030$Revoke an active friend invite token')),
),
_descriptor.MethodDescriptor(
name='RegisterCompatTool',
full_name='UserAccount.RegisterCompatTool',
index=1,
index=4,
containing_service=None,
input_type=_CUSERACCOUNT_REGISTERCOMPATTOOL_REQUEST,
output_type=_CUSERACCOUNT_REGISTERCOMPATTOOL_RESPONSE,
@ -223,4 +808,36 @@ UserAccount_Stub = service_reflection.GeneratedServiceStubType('UserAccount_Stub
))
_ACCOUNTLINKING = _descriptor.ServiceDescriptor(
name='AccountLinking',
full_name='AccountLinking',
file=DESCRIPTOR,
index=1,
options=_descriptor._ParseOptions(descriptor_pb2.ServiceOptions(), _b('\202\265\0301A service to manage and link to external accounts')),
serialized_start=3361,
serialized_end=3646,
methods=[
_descriptor.MethodDescriptor(
name='GetLinkedAccountInfo',
full_name='AccountLinking.GetLinkedAccountInfo',
index=0,
containing_service=None,
input_type=_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_REQUEST,
output_type=_CACCOUNTLINKING_GETLINKEDACCOUNTINFO_RESPONSE,
options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\265\030XList all my active linked external accounts; may be requested to return the access token')),
),
])
AccountLinking = service_reflection.GeneratedServiceType('AccountLinking', (_service.Service,), dict(
DESCRIPTOR = _ACCOUNTLINKING,
__module__ = 'steammessages_useraccount_pb2'
))
AccountLinking_Stub = service_reflection.GeneratedServiceStubType('AccountLinking_Stub', (AccountLinking,), dict(
DESCRIPTOR = _ACCOUNTLINKING,
__module__ = 'steammessages_useraccount_pb2'
))
# @@protoc_insertion_point(module_scope)

Loading…
Cancel
Save