Initial version

This commit is contained in:
Lol3rrr
2024-09-15 05:09:15 +02:00
commit c7aa4dbe8c
489 changed files with 124650 additions and 0 deletions

5778
Protobufs/webui/common.proto Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,27 @@
import "google/protobuf/descriptor.proto";
extend .google.protobuf.FieldOptions {
optional string description = 50000;
}
extend .google.protobuf.ServiceOptions {
optional string service_description = 50000;
}
extend .google.protobuf.MethodOptions {
optional string method_description = 50000;
}
extend .google.protobuf.EnumOptions {
optional string enum_description = 50000;
}
extend .google.protobuf.EnumValueOptions {
optional string enum_value_description = 50000;
}
message NoResponse {
}
message NotImplemented {
}

View File

@@ -0,0 +1,141 @@
import "common_base.proto";
import "common.proto";
message AccountCartContents {
repeated .AccountCartLineItem line_items = 1;
optional .CartAmount subtotal = 2;
optional bool is_valid = 3;
optional .AccountCartValidationDetails validation_details = 4;
}
message AccountCartLineItem {
optional uint64 line_item_id = 1;
optional int32 type = 2 [(.description) = "enum"];
optional uint32 packageid = 3;
optional uint32 bundleid = 4;
optional bool is_valid = 8;
optional .AccountCartValidationDetails validation_details = 9;
optional uint32 time_added = 10;
optional .CartAmount price_when_added = 11;
optional .CartGiftInfo gift_info = 12;
optional .AccountCartLineItemFlags flags = 13;
optional uint64 gidcoupon_applied = 14;
}
message AccountCartLineItemFlags {
optional bool is_gift = 1;
optional bool is_private = 2;
}
message AccountCartValidationDetails {
optional int32 validation_failure = 1 [default = 0, (.description) = "enum"];
}
message CAccountCart_AddItemsToCart_Request {
optional string user_country = 1;
repeated .CAccountCart_AddItemsToCart_Request_ItemToAdd items = 2;
optional .CUserInterface_NavData navdata = 3;
}
message CAccountCart_AddItemsToCart_Request_ItemToAdd {
optional uint32 packageid = 1;
optional uint32 bundleid = 2;
optional .CartGiftInfo gift_info = 10;
optional .AccountCartLineItemFlags flags = 11;
}
message CAccountCart_AddItemsToCart_Response {
repeated uint64 line_item_ids = 1;
optional .AccountCartContents cart = 2;
repeated uint32 replaced_packages = 3;
optional uint64 existing_billing_agreementid = 4;
optional uint32 new_billing_agreement_recurring_packageid = 5;
}
message CAccountCart_DeleteCart_Request {
}
message CAccountCart_DeleteCart_Response {
}
message CAccountCart_GetCart_Request {
optional string user_country = 1;
}
message CAccountCart_GetCart_Response {
optional .AccountCartContents cart = 1;
}
message CAccountCart_GetRelevantCoupons_Request {
optional uint32 language = 1;
}
message CAccountCart_GetRelevantCoupons_Response {
repeated .CAccountCart_GetRelevantCoupons_Response_LineItemCoupons line_items = 1;
}
message CAccountCart_GetRelevantCoupons_Response_LineItemCoupons {
optional uint64 line_item_id = 1;
repeated .CartCoupon coupons = 2;
}
message CAccountCart_MergeShoppingCartContents_Request {
optional fixed64 gidshoppingcart = 1;
optional string user_country = 2;
}
message CAccountCart_MergeShoppingCartContents_Response {
optional .AccountCartContents cart = 1;
}
message CAccountCart_ModifyLineItem_Request {
optional uint64 line_item_id = 1;
optional string user_country = 2;
optional .CartGiftInfo gift_info = 10;
optional .AccountCartLineItemFlags flags = 11;
optional uint64 apply_gidcoupon = 12;
}
message CAccountCart_ModifyLineItem_Response {
optional .AccountCartContents cart = 1;
}
message CAccountCart_RemoveItemFromCart_Request {
optional uint64 line_item_id = 1;
optional string user_country = 2;
}
message CAccountCart_RemoveItemFromCart_Response {
optional .AccountCartContents cart = 1;
}
message CUserInterface_CuratorData {
optional uint32 clanid = 1;
optional uint64 listid = 2;
}
message CUserInterface_NavData {
optional string domain = 1;
optional string controller = 2;
optional string method = 3;
optional string submethod = 4;
optional string feature = 5;
optional uint32 depth = 6;
optional string countrycode = 7;
optional uint64 webkey = 8;
optional bool is_client = 9;
optional .CUserInterface_CuratorData curator_data = 10;
optional bool is_likely_bot = 11;
optional bool is_utm = 12;
}
service AccountCart {
rpc AddItemsToCart (.CAccountCart_AddItemsToCart_Request) returns (.CAccountCart_AddItemsToCart_Response);
rpc DeleteCart (.CAccountCart_DeleteCart_Request) returns (.CAccountCart_DeleteCart_Response);
rpc GetCart (.CAccountCart_GetCart_Request) returns (.CAccountCart_GetCart_Response);
rpc GetRelevantCoupons (.CAccountCart_GetRelevantCoupons_Request) returns (.CAccountCart_GetRelevantCoupons_Response);
rpc MergeShoppingCartContents (.CAccountCart_MergeShoppingCartContents_Request) returns (.CAccountCart_MergeShoppingCartContents_Response);
rpc ModifyLineItem (.CAccountCart_ModifyLineItem_Request) returns (.CAccountCart_ModifyLineItem_Response);
rpc RemoveItemFromCart (.CAccountCart_RemoveItemFromCart_Request) returns (.CAccountCart_RemoveItemFromCart_Response);
}

View File

@@ -0,0 +1,27 @@
import "common_base.proto";
message CAccountLinking_GetLinkedAccountInfo_Request {
optional int32 account_type = 1 [(.description) = "enum"];
optional uint64 account_id = 2;
optional int32 filter = 3 [(.description) = "enum"];
optional bool return_access_token = 4;
}
message CAccountLinking_GetLinkedAccountInfo_Response {
repeated .CAccountLinking_GetLinkedAccountInfo_Response_CExternalAccountTuple_Response external_accounts = 1;
}
message CAccountLinking_GetLinkedAccountInfo_Response_CExternalAccountTuple_Response {
optional int32 external_type = 1 [(.description) = "enum"];
optional string external_id = 2;
optional string external_user_name = 3;
optional string external_url = 4;
optional string access_token = 5;
optional string access_token_secret = 6;
optional bool is_valid = 7;
}
service AccountLinking {
rpc GetLinkedAccountInfo (.CAccountLinking_GetLinkedAccountInfo_Request) returns (.CAccountLinking_GetLinkedAccountInfo_Response);
}

View File

@@ -0,0 +1,42 @@
import "common_base.proto";
message CAccountPrivacy_GetCookiePreferences_Request {
}
message CAccountPrivacy_GetCookiePreferences_Response {
optional .CAccountPrivacyCookiePreferences preferences = 1;
}
message CAccountPrivacyCookiePreferences {
optional int32 version = 1 [(.description) = "enum"];
optional int32 preference_state = 2 [(.description) = "enum"];
optional .CAccountPrivacyCookiePreferences_ContentCustomization content_customization = 3;
optional .CAccountPrivacyCookiePreferences_ValveAnalytics valve_analytics = 4;
optional .CAccountPrivacyCookiePreferences_ThirdPartyAnalytics third_party_analytics = 5;
optional .CAccountPrivacyCookiePreferences_ThirdPartyContent third_party_content = 6;
optional bool utm_enabled = 7 [default = true];
}
message CAccountPrivacyCookiePreferences_ContentCustomization {
optional bool recentapps = 1;
}
message CAccountPrivacyCookiePreferences_ThirdPartyAnalytics {
optional bool google_analytics = 1;
}
message CAccountPrivacyCookiePreferences_ThirdPartyContent {
optional bool youtube = 1;
optional bool vimeo = 2;
optional bool sketchfab = 3;
optional bool twitter = 4;
}
message CAccountPrivacyCookiePreferences_ValveAnalytics {
optional bool product_impressions_tracking = 1;
}
service AccountPrivacy {
rpc GetCookiePreferences (.CAccountPrivacy_GetCookiePreferences_Request) returns (.CAccountPrivacy_GetCookiePreferences_Response);
}

View File

@@ -0,0 +1,34 @@
import "common_base.proto";
message CAccountPrivateAppList {
repeated int32 appids = 1;
}
message CAccountPrivateApps_GetPrivateAppList_Request {
}
message CAccountPrivateApps_GetPrivateAppList_Response {
optional .CAccountPrivateAppList private_apps = 1;
}
message CAccountPrivateApps_ToggleAppPrivacy_Request {
repeated int32 appids = 1;
optional bool private = 2;
}
message CAccountPrivateApps_ToggleAppPrivacy_Response {
}
message CAccountPrivateApsClient_NotifyPrivateAppListChanged_Notification {
optional .CAccountPrivateAppList private_apps = 1;
}
service AccountPrivateApps {
rpc GetPrivateAppList (.CAccountPrivateApps_GetPrivateAppList_Request) returns (.CAccountPrivateApps_GetPrivateAppList_Response);
rpc ToggleAppPrivacy (.CAccountPrivateApps_ToggleAppPrivacy_Request) returns (.CAccountPrivateApps_ToggleAppPrivacy_Response);
}
service AccountPrivateAppsClient {
rpc NotifyPrivateAppListChanged (.CAccountPrivateApsClient_NotifyPrivateAppListChanged_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,23 @@
message CAchievements_GetInfo_Request {
optional uint64 gameid = 1;
}
message CAchievements_GetInfo_Response {
repeated .CAchievements_GetInfo_Response_Info achievements = 1;
}
message CAchievements_GetInfo_Response_Info {
optional string id = 1;
optional string name = 2;
optional string desc = 3;
optional string image_url_achieved = 4;
optional string image_url_not_achieved = 5;
optional bool achieved = 6;
optional uint32 unlock_time = 7;
}
service Achievements {
rpc GetInfo (.CAchievements_GetInfo_Request) returns (.CAchievements_GetInfo_Response);
}

View File

@@ -0,0 +1,96 @@
message CAssetSet {
optional uint32 appid = 1;
optional fixed64 assetset_id = 2;
optional string name = 3;
optional string desc = 4;
repeated string branches = 5;
optional uint32 last_update_rtime = 6;
optional uint32 priority = 7;
optional uint32 last_publish_rtime = 8;
}
message CAssetSetPublishing_AddBranchToAssetSet_Request {
optional uint32 appid = 1;
optional fixed64 assetset_id = 2;
optional string branch = 3;
}
message CAssetSetPublishing_AddBranchToAssetSet_Response {
optional .CAssetSet updated = 1;
}
message CAssetSetPublishing_CreateAssetSet_Request {
optional uint32 appid = 1;
optional .CAssetSet assetset = 2;
}
message CAssetSetPublishing_CreateAssetSet_Response {
optional .CAssetSet assetset = 1;
}
message CAssetSetPublishing_DeleteAssetSet_Request {
optional uint32 appid = 1;
optional fixed64 assetset_id = 2;
}
message CAssetSetPublishing_DeleteAssetSet_Response {
}
message CAssetSetPublishing_GetAllAssetSets_Request {
optional uint32 appid = 1;
}
message CAssetSetPublishing_GetAllAssetSets_Response {
repeated .CAssetSet assetset = 2;
}
message CAssetSetPublishing_RemoseBranchFromAssetSet_Response {
optional .CAssetSet updated = 1;
}
message CAssetSetPublishing_RemoveBranchFromAssetSet_Request {
optional uint32 appid = 1;
optional fixed64 assetset_id = 2;
optional string branch = 3;
}
message CAssetSetPublishing_SwapAssetSetPriority_Request {
optional uint32 appid = 1;
optional fixed64 first_assetset_id = 2;
optional fixed64 second_assetset_id = 3;
}
message CAssetSetPublishing_SwapAssetSetPriority_Response {
optional .CAssetSet updated_first = 1;
optional .CAssetSet updated_second = 2;
}
message CAssetSetPublishing_UpdateAssetSet_Request {
optional uint32 appid = 1;
optional .CAssetSet assetset = 2;
}
message CAssetSetPublishing_UpdateAssetSet_Response {
}
message CAssetSetPublishing_UpdatePublishTime_Request {
optional uint32 appid = 1;
optional fixed64 assetset_id = 2;
}
message CAssetSetPublishing_UpdatePublishTime_Response {
optional .CAssetSet updated = 1;
}
service AssetSetPublishing {
rpc AddBranchToAssetSet (.CAssetSetPublishing_AddBranchToAssetSet_Request) returns (.CAssetSetPublishing_AddBranchToAssetSet_Response);
rpc CreateAssetSet (.CAssetSetPublishing_CreateAssetSet_Request) returns (.CAssetSetPublishing_CreateAssetSet_Response);
rpc DeleteAssetSet (.CAssetSetPublishing_DeleteAssetSet_Request) returns (.CAssetSetPublishing_DeleteAssetSet_Response);
rpc GetAllAssetSets (.CAssetSetPublishing_GetAllAssetSets_Request) returns (.CAssetSetPublishing_GetAllAssetSets_Response);
rpc RemoveBranchFromAssetSet (.CAssetSetPublishing_RemoveBranchFromAssetSet_Request) returns (.CAssetSetPublishing_RemoseBranchFromAssetSet_Response);
rpc SwapAssetSetPriority (.CAssetSetPublishing_SwapAssetSetPriority_Request) returns (.CAssetSetPublishing_SwapAssetSetPriority_Response);
rpc UpdateAssetSet (.CAssetSetPublishing_UpdateAssetSet_Request) returns (.CAssetSetPublishing_UpdateAssetSet_Response);
rpc UpdatePublishTime (.CAssetSetPublishing_UpdatePublishTime_Request) returns (.CAssetSetPublishing_UpdatePublishTime_Response);
}

View File

@@ -0,0 +1,97 @@
import "common_base.proto";
message CAuction_Bid {
optional uint32 accountid = 1;
optional uint64 auctiondescriptionid = 2;
optional int32 state = 3 [(.description) = "enum"];
optional uint32 time_created = 4;
optional uint32 time_updated = 5;
optional int64 amount_bid = 6;
optional int64 amount_paid = 7;
optional int64 auctionbidid = 8;
}
message CAuction_CancelBid_Request {
optional uint64 auctiondescriptionid = 1;
}
message CAuction_CancelBid_Response {
optional int64 amount_returned = 1;
}
message CAuction_GetAllItems_Request {
}
message CAuction_GetAllItems_Response {
repeated .CAuction_Item items = 1;
}
message CAuction_GetBidsForItem_Request {
optional uint64 auctiondescriptionid = 1;
}
message CAuction_GetBidsForItem_Response {
optional .CAuction_Item item = 1;
optional int32 count_total = 2;
optional int32 current_user_position = 3;
repeated .CAuction_Bid winning_bids = 4;
}
message CAuction_GetBidsForUser_Request {
optional fixed64 steamid = 1;
}
message CAuction_GetBidsForUser_Response {
repeated .CAuction_Bid bids = 1;
}
message CAuction_GetItemDetails_Request {
optional uint64 auctiondescriptionid = 1;
}
message CAuction_GetItemDetails_Response {
optional .CAuction_Item item = 1;
}
message CAuction_GetUserBidForItem_Request {
optional uint64 auctiondescriptionid = 1;
}
message CAuction_GetUserBidForItem_Response {
optional .CAuction_Bid bid = 1;
}
message CAuction_Item {
optional uint64 auctiondescriptionid = 1;
optional uint32 time_start = 2;
optional uint32 time_end = 3;
optional int64 amount_total = 5;
optional int64 amount_remaining = 6;
optional int64 highest_amount = 7;
optional uint32 highest_bidder_accountid = 8;
optional uint32 community_item_appid = 9;
optional uint32 community_item_type = 10;
optional uint32 store_appid = 11;
repeated uint32 store_packageids = 12;
optional int64 reserve_price = 13;
}
message CAuction_PlaceBid_Request {
optional uint64 auctiondescriptionid = 1;
optional int64 amount_bid = 2;
optional int32 expected_amount_remaining = 3;
}
message CAuction_PlaceBid_Response {
}
service Auction {
rpc CancelBid (.CAuction_CancelBid_Request) returns (.CAuction_CancelBid_Response);
rpc GetAllItems (.CAuction_GetAllItems_Request) returns (.CAuction_GetAllItems_Response);
rpc GetBidsForItem (.CAuction_GetBidsForItem_Request) returns (.CAuction_GetBidsForItem_Response);
rpc GetBidsForUser (.CAuction_GetBidsForUser_Request) returns (.CAuction_GetBidsForUser_Response);
rpc GetItemDetails (.CAuction_GetItemDetails_Request) returns (.CAuction_GetItemDetails_Response);
rpc GetUserBidForItem (.CAuction_GetUserBidForItem_Request) returns (.CAuction_GetUserBidForItem_Response);
rpc PlaceBid (.CAuction_PlaceBid_Request) returns (.CAuction_PlaceBid_Response);
}

View File

@@ -0,0 +1,223 @@
import "common_base.proto";
import "common.proto";
message CAuthentication_AccessToken_GenerateForApp_Request {
optional string refresh_token = 1;
optional fixed64 steamid = 2;
optional int32 renewal_type = 3 [(.description) = "enum"];
}
message CAuthentication_AccessToken_GenerateForApp_Response {
optional string access_token = 1;
optional string refresh_token = 2;
}
message CAuthentication_AllowedConfirmation {
optional int32 confirmation_type = 1 [(.description) = "enum"];
optional string associated_message = 2;
}
message CAuthentication_BeginAuthSessionViaCredentials_Request {
optional string device_friendly_name = 1;
optional string account_name = 2;
optional string encrypted_password = 3;
optional uint64 encryption_timestamp = 4;
optional bool remember_login = 5;
optional int32 platform_type = 6 [(.description) = "enum"];
optional int32 persistence = 7 [default = 1, (.description) = "enum"];
optional string website_id = 8 [default = "Unknown"];
optional .CAuthentication_DeviceDetails device_details = 9;
optional string guard_data = 10;
optional uint32 language = 11;
optional int32 qos_level = 12 [default = 2];
}
message CAuthentication_BeginAuthSessionViaCredentials_Response {
optional uint64 client_id = 1;
optional bytes request_id = 2;
optional float interval = 3;
repeated .CAuthentication_AllowedConfirmation allowed_confirmations = 4;
optional uint64 steamid = 5;
optional string weak_token = 6;
optional string agreement_session_url = 7;
optional string extended_error_message = 8;
}
message CAuthentication_BeginAuthSessionViaQR_Request {
optional string device_friendly_name = 1;
optional int32 platform_type = 2 [(.description) = "enum"];
optional .CAuthentication_DeviceDetails device_details = 3;
optional string website_id = 4 [default = "Unknown"];
}
message CAuthentication_BeginAuthSessionViaQR_Response {
optional uint64 client_id = 1;
optional string challenge_url = 2;
optional bytes request_id = 3;
optional float interval = 4;
repeated .CAuthentication_AllowedConfirmation allowed_confirmations = 5;
optional int32 version = 6;
}
message CAuthentication_DeviceDetails {
optional string device_friendly_name = 1;
optional int32 platform_type = 2 [(.description) = "enum"];
optional int32 os_type = 3;
optional uint32 gaming_device_type = 4;
optional uint32 client_count = 5;
optional bytes machine_id = 6;
}
message CAuthentication_GetAuthSessionInfo_Request {
optional uint64 client_id = 1;
}
message CAuthentication_GetAuthSessionInfo_Response {
optional string ip = 1;
optional string geoloc = 2;
optional string city = 3;
optional string state = 4;
optional string country = 5;
optional int32 platform_type = 6 [(.description) = "enum"];
optional string device_friendly_name = 7;
optional int32 version = 8;
optional int32 login_history = 9 [(.description) = "enum"];
optional bool requestor_location_mismatch = 10;
optional bool high_usage_login = 11;
optional int32 requested_persistence = 12 [(.description) = "enum"];
}
message CAuthentication_GetAuthSessionsForAccount_Request {
}
message CAuthentication_GetAuthSessionsForAccount_Response {
repeated uint64 client_ids = 1;
}
message CAuthentication_GetPasswordRSAPublicKey_Request {
optional string account_name = 1;
}
message CAuthentication_GetPasswordRSAPublicKey_Response {
optional string publickey_mod = 1;
optional string publickey_exp = 2;
optional uint64 timestamp = 3;
}
message CAuthentication_MigrateMobileSession_Request {
optional fixed64 steamid = 1;
optional string token = 2;
optional string signature = 3;
}
message CAuthentication_MigrateMobileSession_Response {
optional string refresh_token = 1;
optional string access_token = 2;
}
message CAuthentication_PollAuthSessionStatus_Request {
optional uint64 client_id = 1;
optional bytes request_id = 2;
optional fixed64 token_to_revoke = 3;
}
message CAuthentication_PollAuthSessionStatus_Response {
optional uint64 new_client_id = 1;
optional string new_challenge_url = 2;
optional string refresh_token = 3;
optional string access_token = 4;
optional bool had_remote_interaction = 5;
optional string account_name = 6;
optional string new_guard_data = 7;
optional string agreement_session_url = 8;
}
message CAuthentication_RefreshToken_Enumerate_Request {
}
message CAuthentication_RefreshToken_Enumerate_Response {
repeated .CAuthentication_RefreshToken_Enumerate_Response_RefreshTokenDescription refresh_tokens = 1;
optional fixed64 requesting_token = 2;
}
message CAuthentication_RefreshToken_Enumerate_Response_RefreshTokenDescription {
optional fixed64 token_id = 1;
optional string token_description = 2;
optional uint32 time_updated = 3;
optional int32 platform_type = 4 [(.description) = "enum"];
optional bool logged_in = 5;
optional uint32 os_platform = 6;
optional uint32 auth_type = 7;
optional uint32 gaming_device_type = 8;
optional .CAuthentication_RefreshToken_Enumerate_Response_TokenUsageEvent first_seen = 9;
optional .CAuthentication_RefreshToken_Enumerate_Response_TokenUsageEvent last_seen = 10;
optional int32 os_type = 11;
optional int32 authentication_type = 12 [(.description) = "enum"];
}
message CAuthentication_RefreshToken_Enumerate_Response_TokenUsageEvent {
optional uint32 time = 1;
optional .CMsgIPAddress ip = 2;
optional string locale = 3;
optional string country = 4;
optional string state = 5;
optional string city = 6;
}
message CAuthentication_RefreshToken_Revoke_Request {
optional fixed64 token_id = 1;
optional fixed64 steamid = 2;
optional int32 revoke_action = 3 [default = 1, (.description) = "enum"];
optional bytes signature = 4;
}
message CAuthentication_RefreshToken_Revoke_Response {
}
message CAuthentication_Token_Revoke_Request {
optional string token = 1;
optional int32 revoke_action = 2 [default = 1, (.description) = "enum"];
}
message CAuthentication_Token_Revoke_Response {
}
message CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
optional int32 version = 1;
optional uint64 client_id = 2;
optional fixed64 steamid = 3;
optional bytes signature = 4;
optional bool confirm = 5 [default = false];
optional int32 persistence = 6 [default = 1, (.description) = "enum"];
}
message CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
}
message CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
optional uint64 client_id = 1;
optional fixed64 steamid = 2;
optional string code = 3;
optional int32 code_type = 4 [(.description) = "enum"];
}
message CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
optional string agreement_session_url = 7;
}
service Authentication {
rpc BeginAuthSessionViaCredentials (.CAuthentication_BeginAuthSessionViaCredentials_Request) returns (.CAuthentication_BeginAuthSessionViaCredentials_Response);
rpc BeginAuthSessionViaQR (.CAuthentication_BeginAuthSessionViaQR_Request) returns (.CAuthentication_BeginAuthSessionViaQR_Response);
rpc EnumerateTokens (.CAuthentication_RefreshToken_Enumerate_Request) returns (.CAuthentication_RefreshToken_Enumerate_Response);
rpc GenerateAccessTokenForApp (.CAuthentication_AccessToken_GenerateForApp_Request) returns (.CAuthentication_AccessToken_GenerateForApp_Response);
rpc GetAuthSessionInfo (.CAuthentication_GetAuthSessionInfo_Request) returns (.CAuthentication_GetAuthSessionInfo_Response);
rpc GetAuthSessionsForAccount (.CAuthentication_GetAuthSessionsForAccount_Request) returns (.CAuthentication_GetAuthSessionsForAccount_Response);
rpc GetPasswordRSAPublicKey (.CAuthentication_GetPasswordRSAPublicKey_Request) returns (.CAuthentication_GetPasswordRSAPublicKey_Response);
rpc MigrateMobileSession (.CAuthentication_MigrateMobileSession_Request) returns (.CAuthentication_MigrateMobileSession_Response);
rpc PollAuthSessionStatus (.CAuthentication_PollAuthSessionStatus_Request) returns (.CAuthentication_PollAuthSessionStatus_Response);
rpc RevokeRefreshToken (.CAuthentication_RefreshToken_Revoke_Request) returns (.CAuthentication_RefreshToken_Revoke_Response);
rpc RevokeToken (.CAuthentication_Token_Revoke_Request) returns (.CAuthentication_Token_Revoke_Response);
rpc UpdateAuthSessionWithMobileConfirmation (.CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request) returns (.CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response);
rpc UpdateAuthSessionWithSteamGuardCode (.CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request) returns (.CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response);
}

View File

@@ -0,0 +1,83 @@
import "common.proto";
import "common_base.proto";
message CAuthenticationSupport_GetTokenHistory_Request {
optional fixed64 token_id = 1;
}
message CAuthenticationSupport_GetTokenHistory_Response {
repeated .CSupportRefreshTokenAudit history = 1;
}
message CAuthenticationSupport_MarkTokenCompromised_Request {
optional fixed64 steamid = 1;
optional fixed64 token_id = 2;
}
message CAuthenticationSupport_MarkTokenCompromised_Response {
}
message CAuthenticationSupport_QueryRefreshTokenByID_Request {
optional fixed64 token_id = 1;
}
message CAuthenticationSupport_QueryRefreshTokenByID_Response {
repeated .CSupportRefreshTokenDescription refresh_tokens = 1;
}
message CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
optional fixed64 steamid = 1;
optional bool include_revoked_tokens = 2;
}
message CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
repeated .CSupportRefreshTokenDescription refresh_tokens = 1;
optional int32 last_token_reset = 2;
}
message CAuthenticationSupport_RevokeToken_Request {
optional fixed64 token_id = 1;
optional fixed64 steamid = 2;
}
message CAuthenticationSupport_RevokeToken_Response {
}
message CSupportRefreshTokenAudit {
optional int32 action = 1;
optional uint32 time = 2;
optional .CMsgIPAddress ip = 3;
optional fixed64 actor = 4;
}
message CSupportRefreshTokenDescription {
optional fixed64 token_id = 1;
optional string token_description = 2;
optional uint32 time_updated = 3;
optional int32 platform_type = 4 [(.description) = "enum"];
optional int32 token_state = 5 [(.description) = "enum"];
optional fixed64 owner_steamid = 6;
optional uint32 os_platform = 7;
optional int32 os_type = 8;
optional uint32 auth_type = 9;
optional uint32 gaming_device_type = 10;
optional .CSupportRefreshTokenDescription_TokenUsageEvent first_seen = 11;
optional .CSupportRefreshTokenDescription_TokenUsageEvent last_seen = 12;
}
message CSupportRefreshTokenDescription_TokenUsageEvent {
optional uint32 time = 1;
optional .CMsgIPAddress ip = 2;
optional string country = 3;
optional string state = 4;
optional string city = 5;
}
service AuthenticationSupport {
rpc GetTokenHistory (.CAuthenticationSupport_GetTokenHistory_Request) returns (.CAuthenticationSupport_GetTokenHistory_Response);
rpc MarkTokenCompromised (.CAuthenticationSupport_MarkTokenCompromised_Request) returns (.CAuthenticationSupport_MarkTokenCompromised_Response);
rpc QueryRefreshTokenByID (.CAuthenticationSupport_QueryRefreshTokenByID_Request) returns (.CAuthenticationSupport_QueryRefreshTokenByID_Response);
rpc QueryRefreshTokensByAccount (.CAuthenticationSupport_QueryRefreshTokensByAccount_Request) returns (.CAuthenticationSupport_QueryRefreshTokensByAccount_Response);
rpc RevokeToken (.CAuthenticationSupport_RevokeToken_Request) returns (.CAuthenticationSupport_RevokeToken_Response);
}

View File

@@ -0,0 +1,132 @@
import "common_base.proto";
message CBluetoothManager_CancelPair_Request {
optional uint32 device = 1;
}
message CBluetoothManager_CancelPair_Response {
}
message CBluetoothManager_Connect_Request {
optional uint32 device = 1;
}
message CBluetoothManager_Connect_Response {
}
message CBluetoothManager_Disconnect_Request {
optional uint32 device = 1;
}
message CBluetoothManager_Disconnect_Response {
}
message CBluetoothManager_Forget_Request {
optional uint32 device = 1;
}
message CBluetoothManager_Forget_Response {
}
message CBluetoothManager_GetAdapterDetails_Request {
optional uint32 id = 1;
}
message CBluetoothManager_GetAdapterDetails_Response {
optional .CMsgBluetoothManagerAdapterDetails adapter = 1;
}
message CBluetoothManager_GetDeviceDetails_Request {
optional uint32 id = 1;
}
message CBluetoothManager_GetDeviceDetails_Response {
optional .CMsgBluetoothManagerDeviceDetails device = 1;
}
message CBluetoothManager_GetState_Request {
}
message CBluetoothManager_GetState_Response {
optional bool is_service_available = 1;
optional bool is_enabled = 2;
optional bool is_discovering = 3;
repeated .CMsgBluetoothManagerAdapterInfo adapters = 4;
repeated .CMsgBluetoothManagerDeviceInfo devices = 5;
}
message CBluetoothManager_Pair_Request {
optional uint32 device = 1;
}
message CBluetoothManager_Pair_Response {
}
message CBluetoothManager_SetDiscovering_Request {
optional bool enabled = 1;
}
message CBluetoothManager_SetDiscovering_Response {
}
message CBluetoothManager_SetWakeAllowed_Request {
optional uint32 device = 1;
optional bool allowed = 2;
}
message CBluetoothManager_SetWakeAllowed_Response {
}
message CBluetoothManager_StateChanged_Notification {
}
message CMsgBluetoothManagerAdapterDetails {
optional uint32 id = 1 [default = 0];
optional string mac = 2;
optional string name = 3;
optional bool is_enabled = 4;
optional bool is_discovering = 5;
}
message CMsgBluetoothManagerAdapterInfo {
optional uint32 id = 1;
}
message CMsgBluetoothManagerDeviceDetails {
optional uint32 id = 1 [default = 0];
optional uint32 adapter_id = 2 [default = 0];
optional int32 etype = 3 [(.description) = "enum"];
optional string mac = 4;
optional string name = 5;
optional bool is_connected = 6;
optional bool is_paired = 7;
optional bool is_pairing = 8;
optional bool wake_allowed = 9;
optional bool wake_allowed_supported = 10;
optional int32 battery_percent = 11;
optional bool operation_in_progress = 12;
}
message CMsgBluetoothManagerDeviceInfo {
optional uint32 id = 1;
optional bool should_hide_hint = 2;
optional int32 etype = 3 [(.description) = "enum"];
optional bool is_connected = 4;
optional bool is_paired = 5;
optional int32 strength_raw = 6;
}
service BluetoothManager {
rpc CancelPair (.CBluetoothManager_CancelPair_Request) returns (.CBluetoothManager_CancelPair_Response);
rpc Connect (.CBluetoothManager_Connect_Request) returns (.CBluetoothManager_Connect_Response);
rpc Disconnect (.CBluetoothManager_Disconnect_Request) returns (.CBluetoothManager_Disconnect_Response);
rpc Forget (.CBluetoothManager_Forget_Request) returns (.CBluetoothManager_Forget_Response);
rpc GetAdapterDetails (.CBluetoothManager_GetAdapterDetails_Request) returns (.CBluetoothManager_GetAdapterDetails_Response);
rpc GetDeviceDetails (.CBluetoothManager_GetDeviceDetails_Request) returns (.CBluetoothManager_GetDeviceDetails_Response);
rpc GetState (.CBluetoothManager_GetState_Request) returns (.CBluetoothManager_GetState_Response);
rpc NotifyStateChanged (.CBluetoothManager_StateChanged_Notification) returns (.NoResponse);
rpc Pair (.CBluetoothManager_Pair_Request) returns (.CBluetoothManager_Pair_Response);
rpc SetDiscovering (.CBluetoothManager_SetDiscovering_Request) returns (.CBluetoothManager_SetDiscovering_Response);
rpc SetWakeAllowed (.CBluetoothManager_SetWakeAllowed_Request) returns (.CBluetoothManager_SetWakeAllowed_Response);
}

View File

@@ -0,0 +1,562 @@
import "common_base.proto";
message CBroadcast_BeginBroadcastSession_Request {
optional int32 permission = 1;
optional uint64 gameid = 2;
optional uint64 client_instance_id = 3;
optional string title = 4;
optional uint32 cellid = 5;
optional uint64 rtmp_token = 6;
optional bool thumbnail_upload = 7;
optional string client_beta = 8;
optional uint32 sysid = 9;
optional bool allow_webrtc = 10;
}
message CBroadcast_BeginBroadcastSession_Response {
optional fixed64 broadcast_id = 1;
optional string thumbnail_upload_address = 2;
optional string thumbnail_upload_token = 3;
optional uint32 thumbnail_interval_seconds = 4;
optional uint32 heartbeat_interval_seconds = 5;
}
message CBroadcast_BroadcastChannelLive_Notification {
optional fixed64 broadcast_channel_id = 1;
optional string broadcast_channel_name = 2;
optional string broadcast_channel_avatar = 3;
}
message CBroadcast_BroadcastStatus_Notification {
optional fixed64 broadcast_id = 1;
optional int32 num_viewers = 2;
}
message CBroadcast_BroadcastUploadStarted_Notification {
optional fixed64 broadcast_id = 1;
optional string upload_token = 2;
optional string upload_address = 3;
optional string http_address = 4;
optional fixed64 broadcast_upload_id = 5;
optional uint32 heartbeat_interval_seconds = 6;
optional bool is_rtmp = 7;
}
message CBroadcast_BroadcastViewerState_Notification {
optional fixed64 steamid = 1;
optional int32 state = 2 [(.description) = "enum"];
}
message CBroadcast_EndBroadcastSession_Request {
optional fixed64 broadcast_id = 1;
}
message CBroadcast_EndBroadcastSession_Response {
}
message CBroadcast_GetBroadcastChatInfo_Request {
optional fixed64 steamid = 1;
optional fixed64 broadcast_id = 2;
optional uint32 client_ip = 3;
optional uint32 client_cell = 4;
}
message CBroadcast_GetBroadcastChatInfo_Response {
optional fixed64 chat_id = 1;
optional string view_url_template = 3;
repeated uint32 flair_group_ids = 4;
}
message CBroadcast_GetBroadcastChatUserNames_Request {
optional fixed64 chat_id = 1;
repeated fixed64 user_steamid = 2;
}
message CBroadcast_GetBroadcastChatUserNames_Response {
repeated .CBroadcast_GetBroadcastChatUserNames_Response_PersonaName persona_names = 1;
}
message CBroadcast_GetBroadcastChatUserNames_Response_PersonaName {
optional fixed64 steam_id = 1;
optional string persona = 2;
}
message CBroadcast_GetBroadcastStatus_Request {
optional fixed64 steamid = 1;
optional fixed64 broadcast_id = 2;
}
message CBroadcast_GetBroadcastStatus_Response {
optional uint64 gameid = 1;
optional string title = 2;
optional uint32 num_viewers = 3;
optional int32 permission = 4;
optional bool is_rtmp = 5;
optional int32 seconds_delay = 6;
optional bool is_publisher = 7;
optional string thumbnail_url = 8;
optional int32 update_interval = 9;
optional bool is_uploading = 10;
optional uint32 duration = 11;
optional bool is_replay = 12;
optional bool is_capturing_vod = 13;
optional bool is_store_whitelisted = 14;
}
message CBroadcast_GetBroadcastThumbnail_Request {
optional fixed64 steamid = 1;
optional fixed64 broadcast_id = 2;
}
message CBroadcast_GetBroadcastThumbnail_Response {
optional string thumbnail_url = 1;
optional int32 update_interval = 2;
optional int32 num_viewers = 3;
optional int32 duration = 4;
}
message CBroadcast_GetBroadcastUploadStats_Request {
optional uint32 row_limit = 1 [default = 100];
optional uint32 start_time = 2 [default = 0];
optional uint64 upload_id = 3;
optional fixed64 steamid = 4;
optional uint64 session_id = 5;
}
message CBroadcast_GetBroadcastUploadStats_Response {
repeated .CBroadcast_GetBroadcastUploadStats_Response_UploadStats upload_stats = 1;
}
message CBroadcast_GetBroadcastUploadStats_Response_UploadStats {
optional uint32 upload_result = 1;
optional uint32 time_stopped = 2;
optional uint32 seconds_uploaded = 3;
optional uint32 max_viewers = 4;
optional uint32 resolution_x = 5;
optional uint32 resolution_y = 6;
optional uint32 avg_bandwidth = 7;
optional uint64 total_bytes = 8;
optional uint32 app_id = 9;
optional uint32 total_unique_viewers = 10;
optional uint64 total_seconds_watched = 11;
optional uint32 time_started = 12;
optional uint64 upload_id = 13;
optional string local_address = 14;
optional string remote_address = 15;
optional uint32 frames_per_second = 16;
optional uint32 num_representations = 17;
optional string app_name = 18;
optional bool is_replay = 19;
optional uint64 session_id = 20;
}
message CBroadcast_GetBroadcastViewerStats_Request {
optional uint64 upload_id = 1;
optional fixed64 steamid = 2;
}
message CBroadcast_GetBroadcastViewerStats_Response {
repeated .CBroadcast_GetBroadcastViewerStats_Response_ViewerStats viewer_stats = 1;
repeated .CBroadcast_GetBroadcastViewerStats_Response_CountryStats country_stats = 2;
}
message CBroadcast_GetBroadcastViewerStats_Response_CountryStats {
optional string country_code = 1;
optional uint32 num_viewers = 2;
}
message CBroadcast_GetBroadcastViewerStats_Response_ViewerStats {
optional uint32 time = 1;
optional uint32 num_viewers = 2;
}
message CBroadcast_GetBuildClipStatus_Request {
optional fixed64 broadcast_clip_id = 1;
}
message CBroadcast_GetBuildClipStatus_Response {
}
message CBroadcast_GetClipDetails_Request {
optional uint64 broadcast_clip_id = 1;
}
message CBroadcast_GetClipDetails_Response {
optional uint64 broadcast_clip_id = 1;
optional uint64 video_id = 2;
optional uint64 channel_id = 3;
optional uint32 app_id = 4;
optional uint32 accountid_broadcaster = 5;
optional uint32 accountid_clipmaker = 6;
optional string video_description = 7;
optional uint32 start_time = 8;
optional uint32 length_milliseconds = 9;
optional string thumbnail_path = 10;
}
message CBroadcast_GetRTMPInfo_Request {
optional uint32 ip = 1;
optional fixed64 steamid = 2;
}
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 int32 broadcast_chat_permission = 7 [(.description) = "enum"];
optional int32 broadcast_buffer = 8;
optional fixed64 steamid = 9;
optional uint32 chat_rate_limit = 10;
optional bool enable_replay = 11;
optional bool is_partner_chat_only = 12;
optional string wordban_list = 13;
}
message CBroadcast_HeartbeatBroadcast_Notification {
optional fixed64 steamid = 1;
optional fixed64 broadcast_id = 2;
optional fixed64 viewer_token = 3;
optional uint32 representation = 4;
}
message CBroadcast_InviteToBroadcast_Request {
optional fixed64 steamid = 1;
optional bool approval_response = 2;
}
message CBroadcast_InviteToBroadcast_Response {
optional bool success = 1;
}
message CBroadcast_MuteBroadcastChatUser_Request {
optional fixed64 chat_id = 1;
optional fixed64 user_steamid = 2;
optional bool muted = 3;
}
message CBroadcast_MuteBroadcastChatUser_Response {
}
message CBroadcast_PostChatMessage_Request {
optional fixed64 chat_id = 1;
optional string message = 2;
optional uint32 instance_id = 3;
optional uint32 language = 4 [default = 0];
optional string country_code = 5;
}
message CBroadcast_PostChatMessage_Response {
optional string persona_name = 1;
optional bool in_game = 2;
optional int32 result = 3;
optional int32 cooldown_time_seconds = 4;
}
message CBroadcast_RemoveUserChatText_Request {
optional fixed64 chat_id = 1;
optional fixed64 user_steamid = 2;
}
message CBroadcast_RemoveUserChatText_Response {
}
message CBroadcast_SendBroadcastStateToServer_Request {
optional int32 permission = 1;
optional uint64 gameid = 2;
optional string title = 3;
optional string game_data_config = 4;
}
message CBroadcast_SendBroadcastStateToServer_Response {
}
message CBroadcast_SendThumbnailToRelay_Notification {
optional string thumbnail_upload_token = 1;
optional fixed64 thumbnail_broadcast_session_id = 2;
optional bytes thumbnail_data = 3;
optional uint32 thumbnail_width = 4;
optional uint32 thumbnail_height = 5;
}
message CBroadcast_SessionClosed_Notification {
optional fixed64 broadcast_id = 1;
}
message CBroadcast_SetClipDetails_Request {
optional uint64 broadcast_clip_id = 1;
optional uint32 start_time = 2;
optional uint32 end_time = 3;
optional string video_description = 4;
}
message CBroadcast_SetClipDetails_Response {
}
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 int32 broadcast_chat_permission = 6 [default = 0, (.description) = "enum"];
optional int32 broadcast_buffer = 7;
optional fixed64 steamid = 8;
optional uint32 chat_rate_limit = 9;
optional bool enable_replay = 10;
optional bool is_partner_chat_only = 11;
optional string wordban_list = 12;
}
message CBroadcast_SetRTMPInfo_Response {
}
message CBroadcast_StartBroadcastUpload_Request {
optional fixed64 broadcast_id = 1;
optional uint32 cellid = 2;
optional bool as_rtmp = 3;
optional uint32 delay_seconds = 4;
optional uint64 rtmp_token = 5 [default = 0];
optional uint32 upload_ip_address = 6;
optional bool is_replay = 7;
optional uint32 sysid = 8;
}
message CBroadcast_StartBroadcastUpload_Response {
optional string upload_token = 1;
optional string upload_address = 2;
optional fixed64 broadcast_upload_id = 3;
optional bool enable_replay = 6;
optional string http_address = 7;
}
message CBroadcast_StartBuildClip_Request {
optional fixed64 steamid = 1;
optional fixed64 broadcast_session_id = 2;
optional int32 first_segment = 3;
optional int32 num_segments = 4;
optional string clip_description = 5;
}
message CBroadcast_StartBuildClip_Response {
optional fixed64 broadcast_clip_id = 1;
}
message CBroadcast_StopBroadcastUpload_Notification {
optional fixed64 broadcast_id = 1;
optional fixed64 broadcast_relay_id = 2;
optional uint32 upload_result = 3;
optional bool too_many_poor_uploads = 4;
}
message CBroadcast_StopWatchingBroadcast_Notification {
optional fixed64 steamid = 1;
optional fixed64 broadcast_id = 2;
optional fixed64 viewer_token = 3;
}
message CBroadcast_UpdateChatMessageFlair_Request {
optional fixed64 chat_id = 1;
optional string flair = 2;
}
message CBroadcast_UpdateChatMessageFlair_Response {
optional int32 result = 1;
optional fixed64 chat_id = 2;
optional string flair = 3;
}
message CBroadcast_ViewerBroadcastInvite_Notification {
optional fixed64 broadcaster_steamid = 1;
}
message CBroadcast_WaitingBroadcastViewer_Notification {
optional fixed64 broadcast_id = 1;
}
message CBroadcast_WatchBroadcast_Request {
optional fixed64 steamid = 1;
optional fixed64 existing_broadcast_id = 2;
optional fixed64 viewer_token = 3;
optional uint32 client_ip = 4;
optional uint32 client_cell = 5;
optional int32 watch_location = 6 [(.description) = "enum"];
optional bool is_webrtc = 7;
}
message CBroadcast_WatchBroadcast_Response {
optional int32 response = 1 [(.description) = "enum"];
optional string mpd_url = 2;
optional fixed64 broadcast_id = 3;
optional uint64 gameid = 4;
optional string title = 5;
optional uint32 num_viewers = 6;
optional int32 permission = 7;
optional bool is_rtmp = 8;
optional int32 seconds_delay = 9;
optional fixed64 viewer_token = 10;
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;
optional bool is_replay = 18;
optional int32 duration = 19;
optional string cdn_auth_url_parameters = 20;
}
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_Notification {
optional fixed64 broadcast_session_id = 1;
optional fixed64 webrtc_session_id = 2;
optional .CBroadcast_WebRTC_Candidate candidate = 3;
}
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_WebRTCHaveTURNServer_Notification {
optional fixed64 broadcast_session_id = 1;
optional string turn_server = 2;
}
message CBroadcast_WebRTCLookupTURNServer_Request {
optional uint32 cellid = 1;
}
message CBroadcast_WebRTCLookupTURNServer_Response {
optional string turn_server = 1;
}
message CBroadcast_WebRTCNeedTURNServer_Notification {
optional fixed64 broadcast_session_id = 1;
}
message CBroadcast_WebRTCSetAnswer_Notification {
optional fixed64 broadcast_session_id = 1;
optional fixed64 webrtc_session_id = 2;
optional string answer = 3;
}
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_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_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 {
}
service Broadcast {
rpc BeginBroadcastSession (.CBroadcast_BeginBroadcastSession_Request) returns (.CBroadcast_BeginBroadcastSession_Response);
rpc EndBroadcastSession (.CBroadcast_EndBroadcastSession_Request) returns (.CBroadcast_EndBroadcastSession_Response);
rpc GetBroadcastChatInfo (.CBroadcast_GetBroadcastChatInfo_Request) returns (.CBroadcast_GetBroadcastChatInfo_Response);
rpc GetBroadcastChatUserNames (.CBroadcast_GetBroadcastChatUserNames_Request) returns (.CBroadcast_GetBroadcastChatUserNames_Response);
rpc GetBroadcastStatus (.CBroadcast_GetBroadcastStatus_Request) returns (.CBroadcast_GetBroadcastStatus_Response);
rpc GetBroadcastThumbnail (.CBroadcast_GetBroadcastThumbnail_Request) returns (.CBroadcast_GetBroadcastThumbnail_Response);
rpc GetBroadcastUploadStats (.CBroadcast_GetBroadcastUploadStats_Request) returns (.CBroadcast_GetBroadcastUploadStats_Response);
rpc GetBroadcastViewerStats (.CBroadcast_GetBroadcastViewerStats_Request) returns (.CBroadcast_GetBroadcastViewerStats_Response);
rpc GetBuildClipStatus (.CBroadcast_GetBuildClipStatus_Request) returns (.CBroadcast_GetBuildClipStatus_Response);
rpc GetClipDetails (.CBroadcast_GetClipDetails_Request) returns (.CBroadcast_GetClipDetails_Response);
rpc GetRTMPInfo (.CBroadcast_GetRTMPInfo_Request) returns (.CBroadcast_GetRTMPInfo_Response);
rpc HeartbeatBroadcast (.CBroadcast_HeartbeatBroadcast_Notification) returns (.NoResponse);
rpc InviteToBroadcast (.CBroadcast_InviteToBroadcast_Request) returns (.CBroadcast_InviteToBroadcast_Response);
rpc MuteBroadcastChatUser (.CBroadcast_MuteBroadcastChatUser_Request) returns (.CBroadcast_MuteBroadcastChatUser_Response);
rpc NotifyBroadcastSessionHeartbeat (.NotImplemented) returns (.NoResponse);
rpc NotifyBroadcastUploadStop (.NotImplemented) returns (.NoResponse);
rpc NotifyWebRTCHaveTURNServer (.CBroadcast_WebRTCHaveTURNServer_Notification) returns (.NoResponse);
rpc PostChatMessage (.CBroadcast_PostChatMessage_Request) returns (.CBroadcast_PostChatMessage_Response);
rpc RemoveUserChatText (.CBroadcast_RemoveUserChatText_Request) returns (.CBroadcast_RemoveUserChatText_Response);
rpc SendBroadcastStateToServer (.CBroadcast_SendBroadcastStateToServer_Request) returns (.CBroadcast_SendBroadcastStateToServer_Response);
rpc SetClipDetails (.CBroadcast_SetClipDetails_Request) returns (.CBroadcast_SetClipDetails_Response);
rpc SetRTMPInfo (.CBroadcast_SetRTMPInfo_Request) returns (.CBroadcast_SetRTMPInfo_Response);
rpc StartBroadcastUpload (.CBroadcast_StartBroadcastUpload_Request) returns (.CBroadcast_StartBroadcastUpload_Response);
rpc StartBuildClip (.CBroadcast_StartBuildClip_Request) returns (.CBroadcast_StartBuildClip_Response);
rpc StopWatchingBroadcast (.CBroadcast_StopWatchingBroadcast_Notification) returns (.NoResponse);
rpc UpdateChatMessageFlair (.CBroadcast_UpdateChatMessageFlair_Request) returns (.CBroadcast_UpdateChatMessageFlair_Response);
rpc WatchBroadcast (.CBroadcast_WatchBroadcast_Request) returns (.CBroadcast_WatchBroadcast_Response);
rpc WebRTCAddHostCandidate (.CBroadcast_WebRTCAddHostCandidate_Request) returns (.CBroadcast_WebRTCAddHostCandidate_Response);
rpc WebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Request) returns (.CBroadcast_WebRTCAddViewerCandidate_Response);
rpc WebRTCGetHostCandidates (.CBroadcast_WebRTCGetHostCandidates_Request) returns (.CBroadcast_WebRTCGetHostCandidates_Response);
rpc WebRTCLookupTURNServer (.CBroadcast_WebRTCLookupTURNServer_Request) returns (.CBroadcast_WebRTCLookupTURNServer_Response);
rpc WebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Request) returns (.CBroadcast_WebRTCSetAnswer_Response);
rpc WebRTCStartResult (.CBroadcast_WebRTCStartResult_Request) returns (.CBroadcast_WebRTCStartResult_Response);
rpc WebRTCStopped (.CBroadcast_WebRTCStopped_Request) returns (.CBroadcast_WebRTCStopped_Response);
}
service BroadcastClient {
rpc NotifyBroadcastChannelLive (.CBroadcast_BroadcastChannelLive_Notification) returns (.NoResponse);
rpc NotifyBroadcastStatus (.CBroadcast_BroadcastStatus_Notification) returns (.NoResponse);
rpc NotifyBroadcastUploadStarted (.CBroadcast_BroadcastUploadStarted_Notification) returns (.NoResponse);
rpc NotifyBroadcastViewerState (.CBroadcast_BroadcastViewerState_Notification) returns (.NoResponse);
rpc NotifySessionClosed (.CBroadcast_SessionClosed_Notification) returns (.NoResponse);
rpc NotifyStopBroadcastUpload (.CBroadcast_StopBroadcastUpload_Notification) returns (.NoResponse);
rpc NotifyViewerBroadcastInvite (.CBroadcast_ViewerBroadcastInvite_Notification) returns (.NoResponse);
rpc NotifyWaitingBroadcastViewer (.CBroadcast_WaitingBroadcastViewer_Notification) returns (.NoResponse);
rpc NotifyWebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Notification) returns (.NoResponse);
rpc NotifyWebRTCNeedTURNServer (.CBroadcast_WebRTCNeedTURNServer_Notification) returns (.NoResponse);
rpc NotifyWebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Notification) returns (.NoResponse);
rpc NotifyWebRTCStart (.CBroadcast_WebRTCStart_Notification) returns (.NoResponse);
rpc SendThumbnailToRelay (.CBroadcast_SendThumbnailToRelay_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,11 @@
message CChat_RequestFriendPersonaStates_Request {
}
message CChat_RequestFriendPersonaStates_Response {
}
service Chat {
rpc RequestFriendPersonaStates (.CChat_RequestFriendPersonaStates_Request) returns (.CChat_RequestFriendPersonaStates_Response);
}

View File

@@ -0,0 +1,811 @@
import "common.proto";
import "common_base.proto";
message CChatMentions {
optional bool mention_all = 1;
optional bool mention_here = 2;
repeated uint32 mention_accountids = 3;
}
message CChatRole {
optional uint64 role_id = 1;
optional string name = 2;
optional uint32 ordinal = 3;
}
message CChatRoom_AckChatMessage_Notification {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
optional uint32 timestamp = 3;
}
message CChatRoom_AddRoleToUser_Request {
optional uint64 chat_group_id = 1;
optional uint64 role_id = 3;
optional fixed64 steamid = 4;
}
message CChatRoom_AddRoleToUser_Response {
}
message CChatRoom_ChatMessageModified_Notification {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
repeated .CChatRoom_ChatMessageModified_Notification_ChatMessage messages = 3;
}
message CChatRoom_ChatMessageModified_Notification_ChatMessage {
optional uint32 server_timestamp = 1;
optional uint32 ordinal = 2;
optional bool deleted = 3;
}
message CChatRoom_ChatRoomGroupRoomsChange_Notification {
optional uint64 chat_group_id = 1;
optional uint64 default_chat_id = 2;
repeated .CChatRoomState chat_rooms = 3;
}
message CChatRoom_ChatRoomHeaderState_Notification {
optional .CChatRoomGroupHeaderState header_state = 1;
}
message CChatRoom_CreateChatRoom_Request {
optional uint64 chat_group_id = 1;
optional string name = 2;
optional bool allow_voice = 3;
}
message CChatRoom_CreateChatRoom_Response {
optional .CChatRoomState chat_room = 1;
}
message CChatRoom_CreateChatRoomGroup_Request {
optional fixed64 steamid_partner = 1;
optional fixed64 steamid_invited = 2;
optional string name = 3;
repeated fixed64 steamid_invitees = 4;
optional uint32 watching_broadcast_accountid = 6;
optional uint64 watching_broadcast_channel_id = 7;
}
message CChatRoom_CreateChatRoomGroup_Response {
optional uint64 chat_group_id = 1;
optional .CChatRoomGroupState state = 2;
optional .CUserChatRoomGroupState user_chat_state = 3;
}
message CChatRoom_CreateInviteLink_Request {
optional uint64 chat_group_id = 1;
optional uint32 seconds_valid = 2;
optional uint64 chat_id = 3;
}
message CChatRoom_CreateInviteLink_Response {
optional string invite_code = 1;
optional uint32 seconds_valid = 2;
}
message CChatRoom_CreateRole_Request {
optional uint64 chat_group_id = 1;
optional string name = 2;
}
message CChatRoom_CreateRole_Response {
optional .CChatRoleActions actions = 2;
}
message CChatRoom_DeleteChatMessages_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
repeated .CChatRoom_DeleteChatMessages_Request_Message messages = 3;
}
message CChatRoom_DeleteChatMessages_Request_Message {
optional uint32 server_timestamp = 1;
optional uint32 ordinal = 2;
}
message CChatRoom_DeleteChatMessages_Response {
}
message CChatRoom_DeleteChatRoom_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
}
message CChatRoom_DeleteChatRoom_Response {
}
message CChatRoom_DeleteInviteLink_Request {
optional uint64 chat_group_id = 1;
optional string invite_code = 2;
}
message CChatRoom_DeleteInviteLink_Response {
}
message CChatRoom_DeleteRole_Request {
optional uint64 chat_group_id = 1;
optional uint64 role_id = 2;
}
message CChatRoom_DeleteRole_Response {
}
message CChatRoom_DeleteRoleFromUser_Request {
optional uint64 chat_group_id = 1;
optional uint64 role_id = 3;
optional fixed64 steamid = 4;
}
message CChatRoom_DeleteRoleFromUser_Response {
}
message CChatRoom_EndMiniGameForChatRoomGroup_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
optional uint64 minigame_id = 3;
}
message CChatRoom_EndMiniGameForChatRoomGroup_Response {
}
message CChatRoom_GetBanList_Request {
optional uint64 chat_group_id = 1;
}
message CChatRoom_GetBanList_Response {
repeated .CChatRoom_GetBanList_Response_BanInfo bans = 1;
}
message CChatRoom_GetBanList_Response_BanInfo {
optional uint32 accountid = 1;
optional uint32 accountid_actor = 2;
optional uint32 time_banned = 3;
optional string ban_reason = 4;
}
message CChatRoom_GetChatRoomGroupState_Request {
optional uint64 chat_group_id = 1;
}
message CChatRoom_GetChatRoomGroupState_Response {
optional .CChatRoomGroupState state = 1;
}
message CChatRoom_GetChatRoomGroupSummary_Request {
optional uint64 chat_group_id = 1;
}
message CChatRoom_GetInviteInfo_Request {
optional fixed64 steamid_invitee = 1;
optional uint64 chat_group_id = 2;
optional uint64 chat_id = 3;
optional string invite_code = 4;
}
message CChatRoom_GetInviteInfo_Response {
optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 1;
optional uint32 time_kick_expire = 2;
optional bool banned = 3;
}
message CChatRoom_GetInviteLinkInfo_Request {
optional string invite_code = 1;
}
message CChatRoom_GetInviteLinkInfo_Response {
optional fixed64 steamid_sender = 3;
optional uint32 time_expires = 4;
optional uint64 chat_id = 6;
optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 8;
optional .CUserChatRoomGroupState user_chat_group_state = 9;
optional uint32 time_kick_expire = 10;
optional bool banned = 11;
}
message CChatRoom_GetInviteLinksForGroup_Request {
optional uint64 chat_group_id = 1;
}
message CChatRoom_GetInviteLinksForGroup_Response {
repeated .CChatRoom_GetInviteLinksForGroup_Response_LinkInfo invite_links = 1;
}
message CChatRoom_GetInviteLinksForGroup_Response_LinkInfo {
optional string invite_code = 1;
optional fixed64 steamid_creator = 2;
optional uint32 time_expires = 3;
optional uint64 chat_id = 4;
}
message CChatRoom_GetInviteList_Request {
optional uint64 chat_group_id = 1;
}
message CChatRoom_GetInviteList_Response {
repeated .CChatRoomGroupInvite invites = 1;
}
message CChatRoom_GetMessageHistory_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
optional uint32 last_time = 3;
optional uint32 last_ordinal = 4;
optional uint32 start_time = 5;
optional uint32 start_ordinal = 6;
optional uint32 max_count = 7;
}
message CChatRoom_GetMessageHistory_Response {
repeated .CChatRoom_GetMessageHistory_Response_ChatMessage messages = 1;
optional bool more_available = 4;
}
message CChatRoom_GetMessageHistory_Response_ChatMessage {
optional uint32 sender = 1;
optional uint32 server_timestamp = 2;
optional string message = 3;
optional uint32 ordinal = 4;
optional .ServerMessage server_message = 5;
optional bool deleted = 6;
repeated .CChatRoom_GetMessageHistory_Response_ChatMessage_MessageReaction reactions = 7;
}
message CChatRoom_GetMessageHistory_Response_ChatMessage_MessageReaction {
optional int32 reaction_type = 1 [(.description) = "enum"];
optional string reaction = 2;
optional uint32 num_reactors = 3;
optional bool has_user_reacted = 4;
}
message CChatRoom_GetMessageReactionReactors_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
optional uint32 server_timestamp = 3;
optional uint32 ordinal = 4;
optional int32 reaction_type = 5 [(.description) = "enum"];
optional string reaction = 6;
optional uint32 limit = 7;
}
message CChatRoom_GetMessageReactionReactors_Response {
repeated uint32 reactors = 1;
}
message CChatRoom_GetMyChatRoomGroups_Request {
}
message CChatRoom_GetMyChatRoomGroups_Response {
repeated .CChatRoomSummaryPair chat_room_groups = 1;
}
message CChatRoom_GetRoleActions_Request {
optional uint64 chat_group_id = 1;
optional uint64 role_id = 2;
}
message CChatRoom_GetRoleActions_Response {
repeated .CChatRoleActions actions = 1;
}
message CChatRoom_GetRoles_Request {
optional uint64 chat_group_id = 1;
}
message CChatRoom_GetRoles_Response {
repeated .CChatRole roles = 1;
}
message CChatRoom_GetRolesForUser_Request {
optional uint64 chat_group_id = 1;
optional fixed64 steamid = 3;
}
message CChatRoom_GetRolesForUser_Response {
repeated uint64 role_ids = 1;
}
message CChatRoom_IncomingChatMessage_Notification {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
optional fixed64 steamid_sender = 3;
optional string message = 4;
optional uint32 timestamp = 5;
optional .CChatMentions mentions = 6;
optional uint32 ordinal = 7;
optional .ServerMessage server_message = 8;
optional string message_no_bbcode = 9;
optional string chat_name = 10;
optional string notification_key = 11;
}
message CChatRoom_InviteFriendToChatRoomGroup_Request {
optional uint64 chat_group_id = 1;
optional fixed64 steamid = 2;
optional uint64 chat_id = 3;
optional bool skip_friendsui_check = 4;
}
message CChatRoom_InviteFriendToChatRoomGroup_Response {
}
message CChatRoom_JoinChatRoomGroup_Request {
optional uint64 chat_group_id = 1;
optional string invite_code = 2;
optional uint64 chat_id = 3;
}
message CChatRoom_JoinChatRoomGroup_Response {
optional .CChatRoomGroupState state = 1;
optional .CUserChatRoomGroupState user_chat_state = 3;
optional uint64 join_chat_id = 4;
optional uint32 time_expire = 5;
}
message CChatRoom_JoinMiniGameForChatRoomGroup_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
}
message CChatRoom_JoinMiniGameForChatRoomGroup_Response {
optional uint64 minigame_id = 1;
}
message CChatRoom_JoinVoiceChat_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
}
message CChatRoom_JoinVoiceChat_Response {
optional uint64 voice_chatid = 1;
}
message CChatRoom_KickUser_Request {
optional uint64 chat_group_id = 1;
optional fixed64 steamid = 2;
optional int32 expiration = 3;
}
message CChatRoom_KickUser_Response {
}
message CChatRoom_LeaveChatRoomGroup_Request {
optional uint64 chat_group_id = 1;
}
message CChatRoom_LeaveChatRoomGroup_Response {
}
message CChatRoom_LeaveVoiceChat_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
}
message CChatRoom_LeaveVoiceChat_Response {
}
message CChatRoom_MemberStateChange_Notification {
optional uint64 chat_group_id = 1;
optional .CChatRoomMember member = 2;
optional int32 change = 3 [(.description) = "enum"];
}
message CChatRoom_MessageReaction_Notification {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
optional uint32 server_timestamp = 3;
optional uint32 ordinal = 4;
optional fixed64 reactor = 5;
optional int32 reaction_type = 6 [(.description) = "enum"];
optional string reaction = 7;
optional bool is_add = 8;
}
message CChatRoom_MuteUser_Request {
optional uint64 chat_group_id = 1;
optional fixed64 steamid = 2;
optional int32 expiration = 3;
}
message CChatRoom_MuteUser_Response {
}
message CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification {
optional uint64 chat_id = 1;
optional uint64 chat_group_id = 2;
}
message CChatRoom_RenameChatRoom_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
optional string name = 3;
}
message CChatRoom_RenameChatRoom_Response {
}
message CChatRoom_RenameChatRoomGroup_Request {
optional uint64 chat_group_id = 1;
optional string name = 2;
}
message CChatRoom_RenameChatRoomGroup_Response {
optional string name = 1;
}
message CChatRoom_RenameRole_Request {
optional uint64 chat_group_id = 1;
optional uint64 role_id = 2;
optional string name = 3;
}
message CChatRoom_RenameRole_Response {
}
message CChatRoom_ReorderChatRoom_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
optional uint64 move_after_chat_id = 3;
}
message CChatRoom_ReorderChatRoom_Response {
}
message CChatRoom_ReorderRole_Request {
optional uint64 chat_group_id = 1;
optional uint64 role_id = 2;
optional uint32 ordinal = 3;
}
message CChatRoom_ReorderRole_Response {
}
message CChatRoom_ReplaceRoleActions_Request {
optional uint64 chat_group_id = 1;
optional uint64 role_id = 2;
optional .CChatRoleActions actions = 4;
}
message CChatRoom_ReplaceRoleActions_Response {
}
message CChatRoom_RevokeInvite_Request {
optional uint64 chat_group_id = 1;
optional fixed64 steamid = 2;
}
message CChatRoom_RevokeInvite_Response {
}
message CChatRoom_SaveChatRoomGroup_Request {
optional uint64 chat_group_id = 1;
optional string name = 2;
}
message CChatRoom_SaveChatRoomGroup_Response {
}
message CChatRoom_SearchMembers_Request {
optional uint64 chat_group_id = 1;
optional uint64 search_id = 2;
optional string search_text = 3;
optional int32 max_results = 4;
}
message CChatRoom_SearchMembers_Response {
repeated .CChatRoom_SearchMembers_Response_MemberMatch matching_members = 1;
optional uint32 status_flags = 2;
}
message CChatRoom_SearchMembers_Response_MemberMatch {
optional int32 accountid = 1;
optional .CMsgClientPersonaState_Friend persona = 2;
}
message CChatRoom_SendChatMessage_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
optional string message = 3;
optional bool echo_to_sender = 4;
}
message CChatRoom_SendChatMessage_Response {
optional string modified_message = 1;
optional uint32 server_timestamp = 2;
optional uint32 ordinal = 3;
optional string message_without_bb_code = 4;
}
message CChatRoom_SetAppChatRoomGroupForceActive_Request {
optional uint64 chat_group_id = 1;
optional uint32 requesting_app_id = 2;
}
message CChatRoom_SetAppChatRoomGroupForceActive_Response {
optional uint32 result = 1;
repeated uint32 accounts_in_channel = 2;
}
message CChatRoom_SetAppChatRoomGroupStopForceActive_Notification {
optional uint64 chat_group_id = 1;
optional uint32 requesting_app_id = 2;
}
message CChatRoom_SetChatRoomGroupAvatar_Request {
optional uint64 chat_group_id = 1;
optional bytes avatar_sha = 2;
}
message CChatRoom_SetChatRoomGroupAvatar_Response {
}
message CChatRoom_SetChatRoomGroupTagline_Request {
optional uint64 chat_group_id = 1;
optional string tagline = 2;
}
message CChatRoom_SetChatRoomGroupTagline_Response {
}
message CChatRoom_SetChatRoomGroupWatchingBroadcast_Request {
optional uint64 chat_group_id = 1;
optional uint32 watching_broadcast_accountid = 2;
optional uint64 watching_broadcast_channel_id = 3;
}
message CChatRoom_SetChatRoomGroupWatchingBroadcast_Response {
}
message CChatRoom_SetSessionActiveChatRoomGroups_Request {
repeated uint64 chat_group_ids = 1;
repeated uint64 chat_groups_data_requested = 2;
optional int32 virtualize_members_threshold = 3;
}
message CChatRoom_SetSessionActiveChatRoomGroups_Response {
repeated .CChatRoomGroupState chat_states = 1;
repeated uint64 virtualize_members_chat_group_ids = 2;
}
message CChatRoom_SetUserBanState_Request {
optional uint64 chat_group_id = 1;
optional fixed64 steamid = 2;
optional bool ban_state = 3;
}
message CChatRoom_SetUserBanState_Response {
}
message CChatRoom_SetUserChatGroupPreferences_Request {
optional uint64 chat_group_id = 1;
optional .CChatRoom_SetUserChatGroupPreferences_Request_ChatGroupPreferences chat_group_preferences = 2;
repeated .CChatRoom_SetUserChatGroupPreferences_Request_ChatRoomPreferences chat_room_preferences = 3;
}
message CChatRoom_SetUserChatGroupPreferences_Request_ChatGroupPreferences {
optional int32 desktop_notification_level = 1 [(.description) = "enum"];
optional int32 mobile_notification_level = 2 [(.description) = "enum"];
optional bool unread_indicator_muted = 3;
}
message CChatRoom_SetUserChatGroupPreferences_Request_ChatRoomPreferences {
optional uint64 chat_id = 1;
optional int32 desktop_notification_level = 2 [(.description) = "enum"];
optional int32 mobile_notification_level = 3 [(.description) = "enum"];
optional bool unread_indicator_muted = 4;
}
message CChatRoom_SetUserChatGroupPreferences_Response {
}
message CChatRoom_UpdateMemberListView_Notification {
optional uint64 chat_group_id = 1;
optional uint64 view_id = 2;
optional int32 start = 3;
optional int32 end = 4;
optional int32 client_changenumber = 5;
optional bool delete_view = 6;
repeated int32 persona_subscribe_accountids = 7;
repeated int32 persona_unsubscribe_accountids = 8;
}
message CChatRoom_UpdateMessageReaction_Request {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
optional uint32 server_timestamp = 3;
optional uint32 ordinal = 4;
optional int32 reaction_type = 5 [(.description) = "enum"];
optional string reaction = 6;
optional bool is_add = 7;
}
message CChatRoom_UpdateMessageReaction_Response {
optional uint32 num_reactors = 1;
}
message CChatRoomClient_MemberListViewUpdated_Notification {
optional uint64 chat_group_id = 1;
optional uint64 view_id = 2;
optional .CChatRoomMemberListView view = 3;
repeated .CChatRoomClient_MemberListViewUpdated_Notification_MemberListViewEntry members = 4;
optional uint32 status_flags = 5;
optional .CChatRoomMemberSummaryCounts member_summary = 6;
repeated .CMsgClientPersonaState_Friend subscribed_personas = 7;
}
message CChatRoomClient_MemberListViewUpdated_Notification_MemberListViewEntry {
optional int32 rank = 1;
optional uint32 accountid = 2;
optional .CMsgClientPersonaState_Friend persona = 3;
}
message CChatRoomGroupHeaderState {
optional uint64 chat_group_id = 1;
optional string chat_name = 2;
optional uint32 clanid = 13;
optional uint32 accountid_owner = 14;
optional string tagline = 15;
optional bytes avatar_sha = 16;
optional uint64 default_role_id = 17;
repeated .CChatRole roles = 18;
repeated .CChatRoleActions role_actions = 19;
optional uint32 watching_broadcast_accountid = 20;
optional uint32 appid = 21;
repeated .CChatPartyBeacon party_beacons = 22;
optional uint64 watching_broadcast_channel_id = 23;
optional uint64 active_minigame_id = 24;
optional string avatar_ugc_url = 25;
optional bool disabled = 26;
}
message CChatRoomGroupInvite {
optional uint32 accountid = 1;
optional uint32 accountid_actor = 2;
optional uint32 time_invited = 3;
}
message CChatRoomGroupState {
optional .CChatRoomGroupHeaderState header_state = 1;
repeated .CChatRoomMember members = 2;
optional uint64 default_chat_id = 4;
repeated .CChatRoomState chat_rooms = 5;
repeated .CChatRoomMember kicked = 7;
}
message CChatRoomMember {
optional uint32 accountid = 1;
optional int32 state = 3 [(.description) = "enum"];
optional int32 rank = 4 [(.description) = "enum"];
optional uint32 time_kick_expire = 6;
repeated uint64 role_ids = 7;
}
message CChatRoomMemberListView {
optional int32 start = 3;
optional int32 end = 4;
optional int32 total_count = 5;
optional int32 client_changenumber = 6;
optional int32 server_changenumber = 7;
}
message CChatRoomMemberSummaryCounts {
optional int32 ingame = 1;
optional int32 online = 2;
optional int32 offline = 3;
}
message CChatRoomSummaryPair {
optional .CUserChatRoomGroupState user_chat_group_state = 1;
optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 2;
}
message ChatRoomClient_NotifyChatGroupUserStateChanged_Notification {
optional uint64 chat_group_id = 1;
optional .CUserChatRoomGroupState user_chat_group_state = 2;
optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 3;
optional int32 user_action = 4 [(.description) = "enum"];
}
message ChatRoomClient_NotifyChatRoomDisconnect_Notification {
repeated uint64 chat_group_ids = 1;
}
message CUserChatRoomGroupState {
optional uint64 chat_group_id = 1;
optional uint32 time_joined = 2;
repeated .CUserChatRoomState user_chat_room_state = 3;
optional int32 desktop_notification_level = 4 [default = 0, (.description) = "enum"];
optional int32 mobile_notification_level = 5 [default = 0, (.description) = "enum"];
optional uint32 time_last_group_ack = 6;
optional bool unread_indicator_muted = 7 [default = false];
}
message CUserChatRoomState {
optional uint64 chat_id = 1;
optional uint32 time_joined = 2;
optional uint32 time_last_ack = 3;
optional int32 desktop_notification_level = 4 [default = 0, (.description) = "enum"];
optional int32 mobile_notification_level = 5 [default = 0, (.description) = "enum"];
optional uint32 time_last_mention = 6;
optional bool unread_indicator_muted = 7 [default = false];
optional uint32 time_first_unread = 8;
}
message ServerMessage {
optional int32 message = 1 [(.description) = "enum"];
optional string string_param = 2;
optional uint32 accountid_param = 3;
}
service ChatRoom {
rpc AckChatMessage (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse);
rpc AddRoleToUser (.CChatRoom_AddRoleToUser_Request) returns (.CChatRoom_AddRoleToUser_Response);
rpc CreateChatRoom (.CChatRoom_CreateChatRoom_Request) returns (.CChatRoom_CreateChatRoom_Response);
rpc CreateChatRoomGroup (.CChatRoom_CreateChatRoomGroup_Request) returns (.CChatRoom_CreateChatRoomGroup_Response);
rpc CreateInviteLink (.CChatRoom_CreateInviteLink_Request) returns (.CChatRoom_CreateInviteLink_Response);
rpc CreateRole (.CChatRoom_CreateRole_Request) returns (.CChatRoom_CreateRole_Response);
rpc DeleteChatMessages (.CChatRoom_DeleteChatMessages_Request) returns (.CChatRoom_DeleteChatMessages_Response);
rpc DeleteChatRoom (.CChatRoom_DeleteChatRoom_Request) returns (.CChatRoom_DeleteChatRoom_Response);
rpc DeleteInviteLink (.CChatRoom_DeleteInviteLink_Request) returns (.CChatRoom_DeleteInviteLink_Response);
rpc DeleteRole (.CChatRoom_DeleteRole_Request) returns (.CChatRoom_DeleteRole_Response);
rpc DeleteRoleFromUser (.CChatRoom_DeleteRoleFromUser_Request) returns (.CChatRoom_DeleteRoleFromUser_Response);
rpc EndMiniGameForChatRoomGroup (.CChatRoom_EndMiniGameForChatRoomGroup_Request) returns (.CChatRoom_EndMiniGameForChatRoomGroup_Response);
rpc GetBanList (.CChatRoom_GetBanList_Request) returns (.CChatRoom_GetBanList_Response);
rpc GetChatRoomGroupState (.CChatRoom_GetChatRoomGroupState_Request) returns (.CChatRoom_GetChatRoomGroupState_Response);
rpc GetChatRoomGroupSummary (.CChatRoom_GetChatRoomGroupSummary_Request) returns (.CChatRoom_GetChatRoomGroupSummary_Response);
rpc GetInviteInfo (.CChatRoom_GetInviteInfo_Request) returns (.CChatRoom_GetInviteInfo_Response);
rpc GetInviteLinkInfo (.CChatRoom_GetInviteLinkInfo_Request) returns (.CChatRoom_GetInviteLinkInfo_Response);
rpc GetInviteLinksForGroup (.CChatRoom_GetInviteLinksForGroup_Request) returns (.CChatRoom_GetInviteLinksForGroup_Response);
rpc GetInviteList (.CChatRoom_GetInviteList_Request) returns (.CChatRoom_GetInviteList_Response);
rpc GetMessageHistory (.CChatRoom_GetMessageHistory_Request) returns (.CChatRoom_GetMessageHistory_Response);
rpc GetMessageReactionReactors (.CChatRoom_GetMessageReactionReactors_Request) returns (.CChatRoom_GetMessageReactionReactors_Response);
rpc GetMyChatRoomGroups (.CChatRoom_GetMyChatRoomGroups_Request) returns (.CChatRoom_GetMyChatRoomGroups_Response);
rpc GetRoleActions (.CChatRoom_GetRoleActions_Request) returns (.CChatRoom_GetRoleActions_Response);
rpc GetRoles (.CChatRoom_GetRoles_Request) returns (.CChatRoom_GetRoles_Response);
rpc GetRolesForUser (.CChatRoom_GetRolesForUser_Request) returns (.CChatRoom_GetRolesForUser_Response);
rpc InviteFriendToChatRoomGroup (.CChatRoom_InviteFriendToChatRoomGroup_Request) returns (.CChatRoom_InviteFriendToChatRoomGroup_Response);
rpc JoinChatRoomGroup (.CChatRoom_JoinChatRoomGroup_Request) returns (.CChatRoom_JoinChatRoomGroup_Response);
rpc JoinMiniGameForChatRoomGroup (.CChatRoom_JoinMiniGameForChatRoomGroup_Request) returns (.CChatRoom_JoinMiniGameForChatRoomGroup_Response);
rpc JoinVoiceChat (.CChatRoom_JoinVoiceChat_Request) returns (.CChatRoom_JoinVoiceChat_Response);
rpc KickUserFromGroup (.CChatRoom_KickUser_Request) returns (.CChatRoom_KickUser_Response);
rpc LeaveChatRoomGroup (.CChatRoom_LeaveChatRoomGroup_Request) returns (.CChatRoom_LeaveChatRoomGroup_Response);
rpc LeaveVoiceChat (.CChatRoom_LeaveVoiceChat_Request) returns (.CChatRoom_LeaveVoiceChat_Response);
rpc MuteUserInGroup (.CChatRoom_MuteUser_Request) returns (.CChatRoom_MuteUser_Response);
rpc RenameChatRoom (.CChatRoom_RenameChatRoom_Request) returns (.CChatRoom_RenameChatRoom_Response);
rpc RenameChatRoomGroup (.CChatRoom_RenameChatRoomGroup_Request) returns (.CChatRoom_RenameChatRoomGroup_Response);
rpc RenameRole (.CChatRoom_RenameRole_Request) returns (.CChatRoom_RenameRole_Response);
rpc ReorderChatRoom (.CChatRoom_ReorderChatRoom_Request) returns (.CChatRoom_ReorderChatRoom_Response);
rpc ReorderRole (.CChatRoom_ReorderRole_Request) returns (.CChatRoom_ReorderRole_Response);
rpc ReplaceRoleActions (.CChatRoom_ReplaceRoleActions_Request) returns (.CChatRoom_ReplaceRoleActions_Response);
rpc RevokeInviteToGroup (.CChatRoom_RevokeInvite_Request) returns (.CChatRoom_RevokeInvite_Response);
rpc SaveChatRoomGroup (.CChatRoom_SaveChatRoomGroup_Request) returns (.CChatRoom_SaveChatRoomGroup_Response);
rpc SearchMembers (.CChatRoom_SearchMembers_Request) returns (.CChatRoom_SearchMembers_Response);
rpc SendChatMessage (.CChatRoom_SendChatMessage_Request) returns (.CChatRoom_SendChatMessage_Response);
rpc SetAppChatRoomGroupForceActive (.CChatRoom_SetAppChatRoomGroupForceActive_Request) returns (.CChatRoom_SetAppChatRoomGroupForceActive_Response);
rpc SetAppChatRoomGroupStopForceActive (.CChatRoom_SetAppChatRoomGroupStopForceActive_Notification) returns (.NoResponse);
rpc SetChatRoomGroupAvatar (.CChatRoom_SetChatRoomGroupAvatar_Request) returns (.CChatRoom_SetChatRoomGroupAvatar_Response);
rpc SetChatRoomGroupTagline (.CChatRoom_SetChatRoomGroupTagline_Request) returns (.CChatRoom_SetChatRoomGroupTagline_Response);
rpc SetChatRoomGroupWatchingBroadcast (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Request) returns (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Response);
rpc SetSessionActiveChatRoomGroups (.CChatRoom_SetSessionActiveChatRoomGroups_Request) returns (.CChatRoom_SetSessionActiveChatRoomGroups_Response);
rpc SetUserBanState (.CChatRoom_SetUserBanState_Request) returns (.CChatRoom_SetUserBanState_Response);
rpc SetUserChatGroupPreferences (.CChatRoom_SetUserChatGroupPreferences_Request) returns (.CChatRoom_SetUserChatGroupPreferences_Response);
rpc UpdateMemberListView (.CChatRoom_UpdateMemberListView_Notification) returns (.NoResponse);
rpc UpdateMessageReaction (.CChatRoom_UpdateMessageReaction_Request) returns (.CChatRoom_UpdateMessageReaction_Response);
}
service ChatRoomClient {
rpc NotifyAckChatMessageEcho (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse);
rpc NotifyChatGroupUserStateChanged (.ChatRoomClient_NotifyChatGroupUserStateChanged_Notification) returns (.NoResponse);
rpc NotifyChatMessageModified (.CChatRoom_ChatMessageModified_Notification) returns (.NoResponse);
rpc NotifyChatRoomDisconnect (.ChatRoomClient_NotifyChatRoomDisconnect_Notification) returns (.NoResponse);
rpc NotifyChatRoomGroupRoomsChange (.CChatRoom_ChatRoomGroupRoomsChange_Notification) returns (.NoResponse);
rpc NotifyChatRoomHeaderStateChange (.CChatRoom_ChatRoomHeaderState_Notification) returns (.NoResponse);
rpc NotifyIncomingChatMessage (.CChatRoom_IncomingChatMessage_Notification) returns (.NoResponse);
rpc NotifyMemberListViewUpdated (.CChatRoomClient_MemberListViewUpdated_Notification) returns (.NoResponse);
rpc NotifyMemberStateChange (.CChatRoom_MemberStateChange_Notification) returns (.NoResponse);
rpc NotifyMessageReaction (.CChatRoom_MessageReaction_Notification) returns (.NoResponse);
rpc NotifyShouldRejoinChatRoomVoiceChat (.CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,107 @@
import "common_base.proto";
message CChatUsability_ClientUsabilityMetrics_Notification {
optional uint32 metrics_run_id = 1;
optional uint32 client_build = 2;
optional uint32 metrics_version = 3;
optional bool in_web = 4;
optional .CChatUsability_ClientUsabilityMetrics_Notification_Settings settings = 10;
optional .CChatUsability_ClientUsabilityMetrics_Notification_VoiceSettings voice_settings = 11;
optional .CChatUsability_ClientUsabilityMetrics_Notification_UIState ui_state = 12;
optional .CChatUsability_ClientUsabilityMetrics_Notification_Metrics metrics = 13;
}
message CChatUsability_ClientUsabilityMetrics_Notification_Metrics {
optional int32 friends_count = 1;
optional int32 friends_category_count = 2;
optional int32 friends_categorized_count = 3;
optional int32 friends_online_count = 4;
optional int32 friends_in_game_count = 5;
optional int32 friends_in_game_singleton_count = 6;
optional int32 game_group_count = 7;
optional int32 friends_favorite_count = 8;
optional int32 group_chat_count = 9;
optional int32 group_chat_favorite_count = 10;
}
message CChatUsability_ClientUsabilityMetrics_Notification_Settings {
optional bool notifications_show_ingame = 1;
optional bool notifications_show_online = 2;
optional bool notifications_show_message = 3;
optional bool notifications_events_and_announcements = 4;
optional bool sounds_play_ingame = 5;
optional bool sounds_play_online = 6;
optional bool sounds_play_message = 7;
optional bool sounds_events_and_announcements = 8;
optional bool always_new_chat_window = 9;
optional bool force_alphabetic_friend_sorting = 10;
optional int32 chat_flash_mode = 11;
optional bool remember_open_chats = 12;
optional bool compact_quick_access = 13;
optional bool compact_friends_list = 14;
optional bool notifications_show_chat_room_notification = 15;
optional bool sounds_play_chat_room_notification = 16;
optional bool hide_offline_friends_in_tag_groups = 17;
optional bool hide_categorized_friends = 18;
optional bool categorize_in_game_friends_by_game = 19;
optional int32 chat_font_size = 20;
optional bool use24hour_clock = 21;
optional bool do_not_disturb_mode = 22;
optional bool disable_embed_inlining = 23;
optional bool sign_into_friends = 24;
optional bool animated_avatars = 25;
}
message CChatUsability_ClientUsabilityMetrics_Notification_UIState {
optional int32 friends_list_height = 1;
optional int32 friends_list_width = 2;
optional bool friends_list_docked = 3;
optional bool friends_list_collapsed = 4;
optional int32 friends_list_group_chats_height = 5;
optional bool friends_list_visible = 6;
optional int32 chat_popups_opened = 7;
optional int32 group_chat_tabs_opened = 8;
optional int32 friend_chat_tabs_opened = 9;
optional int32 chat_window_width = 10;
optional int32 chat_window_height = 11;
optional .CChatUsability_ClientUsabilityMetrics_Notification_UIState_CategoryCollapseState category_collapse = 12;
optional int32 group_chat_left_col_collapsed = 13;
optional int32 group_chat_right_col_collapsed = 14;
optional bool in_one_on_one_voice_chat = 15;
optional bool in_group_voice_chat = 16;
}
message CChatUsability_ClientUsabilityMetrics_Notification_UIState_CategoryCollapseState {
optional bool in_game_collapsed = 1;
optional bool online_collapsed = 2;
optional bool offline_collapsed = 3;
optional int32 game_groups_collapsed = 4;
optional int32 categories_collapsed = 5;
}
message CChatUsability_ClientUsabilityMetrics_Notification_VoiceSettings {
optional float voice_input_gain = 1;
optional float voice_output_gain = 2;
optional int32 noise_gate_level = 3;
optional bool voice_use_echo_cancellation = 4;
optional bool voice_use_noise_cancellation = 5;
optional bool voice_use_auto_gain_control = 6;
optional bool selected_non_default_mic = 7;
optional bool selected_non_default_output = 8;
optional bool push_to_talk_enabled = 9;
optional bool push_to_mute_enabled = 10;
optional bool play_ptt_sounds = 11;
}
message CChatUsability_RequestClientUsabilityMetrics_Notification {
optional uint32 metrics_run_id = 1;
}
service ChatUsability {
rpc NotifyClientUsabilityMetrics (.CChatUsability_ClientUsabilityMetrics_Notification) returns (.NoResponse);
}
service ChatUsabilityClient {
rpc NotifyRequestClientUsabilityMetrics (.CChatUsability_RequestClientUsabilityMetrics_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,92 @@
import "common.proto";
message CCheckout_GetFriendOwnershipForGifting_Request {
repeated .StoreItemID item_ids = 1;
}
message CCheckout_GetFriendOwnershipForGifting_Response {
repeated .CCheckout_GetFriendOwnershipForGifting_Response_OwnershipInfo ownership_info = 1;
}
message CCheckout_GetFriendOwnershipForGifting_Response_FriendOwnership {
optional uint32 accountid = 1;
optional bool already_owns = 2;
optional bool wishes_for = 3;
repeated uint32 partial_owns_appids = 4;
repeated uint32 partial_wishes_for = 5;
}
message CCheckout_GetFriendOwnershipForGifting_Response_OwnershipInfo {
optional .StoreItemID item_id = 1;
repeated .CCheckout_GetFriendOwnershipForGifting_Response_FriendOwnership friend_ownership = 2;
}
message CCheckout_ValidateCart_Request {
optional int64 gidshoppingcart = 1;
optional .StoreBrowseContext context = 2;
optional .StoreBrowseItemDataRequest data_request = 3;
optional .CartGiftInfo gift_info = 4;
optional fixed64 gidreplayoftransid = 5;
optional bool for_init_purchase = 6;
}
message CCheckout_ValidateCart_Response {
repeated .CCheckout_ValidateCart_Response_CartItem cart_items = 1;
optional .CCheckout_ValidateCart_Response_EstimatedTotals estimated_totals = 5;
}
message CCheckout_ValidateCart_Response_CartItem {
optional uint64 line_item_id = 1;
optional .StoreItemID item_id = 2;
optional .StoreItem store_item = 3;
optional .CartGiftInfo gift_info = 4;
optional .CCheckout_ValidateCart_Response_CartItem_Errors errors = 5;
optional .CCheckout_ValidateCart_Response_CartItem_Warnings warnings = 6;
optional .CartAmount subtotal = 7;
optional .CartAmount price_when_added = 8;
optional .CartAmount original_price = 9;
optional .CartCoupon coupon_applied = 10;
optional .CartAmount coupon_discount = 11;
optional bool can_purchase_as_gift = 12;
optional bool restrict_add_additional_to_cart = 13;
}
message CCheckout_ValidateCart_Response_CartItem_Errors {
repeated int32 owned_appids = 1;
repeated int32 duplicate_appids_in_cart = 2;
optional bool unavailable_in_country = 3;
optional bool invalid_coupon = 4;
optional bool invalid_coupon_for_item = 5;
optional bool coupon_exclusive_promo = 6;
optional bool cannot_purchase_as_gift = 7;
optional bool invalid_item = 8;
optional bool too_many_in_cart = 9;
optional bool has_existing_billing_agreement = 10;
repeated int32 missing_must_own_appids = 11;
}
message CCheckout_ValidateCart_Response_CartItem_Warnings {
repeated int32 owned_appids = 1;
repeated int32 owned_appids_extra_copy = 2;
repeated .CCheckout_ValidateCart_Response_CartItem_Warnings_AppInMasterSub appids_in_mastersub = 3;
optional bool price_has_changed = 4;
optional bool non_refundable = 5;
}
message CCheckout_ValidateCart_Response_CartItem_Warnings_AppInMasterSub {
optional uint32 cart_appid = 1;
optional uint32 mastersub_appid = 2;
}
message CCheckout_ValidateCart_Response_EstimatedTotals {
optional .CartAmount subtotal = 1;
optional .CartAmount wallet_balance = 2;
optional .CartAmount exceeding_wallet_balance = 3;
optional .CartAmount remaining_wallet_balance = 4;
}
service Checkout {
rpc GetFriendOwnershipForGifting (.CCheckout_GetFriendOwnershipForGifting_Request) returns (.CCheckout_GetFriendOwnershipForGifting_Response);
rpc ValidateCart (.CCheckout_ValidateCart_Request) returns (.CCheckout_ValidateCart_Response);
}

View File

@@ -0,0 +1,62 @@
import "common_base.proto";
message CClan_GetDraftAndRecentPartnerEventSnippet_Request {
optional fixed64 steamid = 1;
optional uint32 rtime_oldest_date = 2;
}
message CClan_GetDraftAndRecentPartnerEventSnippet_Response {
repeated .CClan_GetDraftAndRecentPartnerEventSnippet_Response_CEventSnippetData snippets = 1;
}
message CClan_GetDraftAndRecentPartnerEventSnippet_Response_CEventSnippetData {
optional fixed64 gid = 1;
optional fixed64 announcement_gid = 2;
optional bool hidden = 3;
optional bool published = 4;
optional uint32 rtime32_start_time = 5;
optional string event_name = 6;
optional int32 event_type = 7 [(.description) = "enum"];
}
message CClan_GetPartnerEventsByBuildIDRange_Request {
repeated .CClan_GetPartnerEventsByBuildIDRange_Request_PatchNoteRange requests = 1;
optional string cursor = 2;
optional uint32 count = 3 [default = 100];
}
message CClan_GetPartnerEventsByBuildIDRange_Request_PatchNoteRange {
optional uint32 appid = 1;
optional uint32 start_build_id = 2;
optional uint32 end_build_id = 3;
optional string branch = 4;
}
message CClan_GetPartnerEventsByBuildIDRange_Response {
repeated .CClan_GetPartnerEventsByBuildIDRange_Response_PatchNotesDesc matches = 1;
optional uint32 num_total_results = 2;
optional string next_cursor = 3;
}
message CClan_GetPartnerEventsByBuildIDRange_Response_PatchNotesDesc {
optional uint32 appid = 1;
optional uint32 build_id = 2;
optional string branch = 3;
optional fixed64 clan_event_gid = 4;
optional uint32 clan_account_id = 5;
}
message CClan_RespondToClanInvite_Request {
optional fixed64 steamid = 1;
optional bool accept = 2;
}
message CClan_RespondToClanInvite_Response {
}
service Clan {
rpc GetDraftAndRecentPartnerEventSnippet (.CClan_GetDraftAndRecentPartnerEventSnippet_Request) returns (.CClan_GetDraftAndRecentPartnerEventSnippet_Response);
rpc GetPartnerEventsByBuildIDRange (.CClan_GetPartnerEventsByBuildIDRange_Request) returns (.CClan_GetPartnerEventsByBuildIDRange_Response);
rpc RespondToClanInvite (.CClan_RespondToClanInvite_Request) returns (.CClan_RespondToClanInvite_Response);
}

View File

@@ -0,0 +1,25 @@
import "common.proto";
message CClanChatRooms_GetClanChatRoomInfo_Request {
optional fixed64 steamid = 1;
optional bool autocreate = 2 [default = true];
}
message CClanChatRooms_GetClanChatRoomInfo_Response {
optional .CChatRoom_GetChatRoomGroupSummary_Response chat_group_summary = 1;
}
message CClanChatRooms_SetClanChatRoomPrivate_Request {
optional fixed64 steamid = 1;
optional bool chat_room_private = 2;
}
message CClanChatRooms_SetClanChatRoomPrivate_Response {
optional bool chat_room_private = 1;
}
service ClanChatRooms {
rpc GetClanChatRoomInfo (.CClanChatRooms_GetClanChatRoomInfo_Request) returns (.CClanChatRooms_GetClanChatRoomInfo_Response);
rpc SetClanChatRoomPrivate (.CClanChatRooms_SetClanChatRoomPrivate_Request) returns (.CClanChatRooms_SetClanChatRoomPrivate_Response);
}

View File

@@ -0,0 +1,202 @@
message CClanFAQContent {
optional uint64 faq_id = 1;
optional uint32 language = 2;
optional uint64 version = 3;
optional string content = 4;
optional string title = 5;
optional fixed32 timestamp = 6;
optional uint64 author_account_id = 7;
optional string url_code = 8;
}
message CClanFAQS_CheckFAQPermissions_Request {
optional fixed64 steamid = 1;
}
message CClanFAQS_CheckFAQPermissions_Response {
}
message CClanFAQS_Create_Request {
optional uint64 steamid = 1;
optional string internal_name = 2;
optional string json_data = 3;
}
message CClanFAQS_Create_Response {
optional uint64 faq_id = 1;
}
message CClanFAQS_Delete_Request {
optional uint64 steamid = 1;
optional uint64 faq_id = 2;
}
message CClanFAQS_Delete_Response {
}
message CClanFAQS_GetAllDrafts_Request {
optional uint64 steamid = 1;
optional uint64 faq_id = 2;
}
message CClanFAQS_GetAllDrafts_Response {
optional .CClanFAQSummary summary = 1;
repeated .CClanFAQContent draft = 2;
}
message CClanFAQS_GetAllFAQsForClan_Request {
optional uint64 steamid = 1;
}
message CClanFAQS_GetAllFAQsForClan_Response {
repeated .CClanFAQSummary faq = 1;
}
message CClanFAQS_GetAllLatestVersionPublishedFAQS_Request {
optional uint64 steamid = 1;
optional uint64 faq_id = 2;
}
message CClanFAQS_GetAllLatestVersionPublishedFAQS_Response {
repeated .CClanFAQContent faqs = 1;
}
message CClanFAQS_GetFAQ_Request {
optional uint64 faq_id = 2;
optional uint32 language = 3;
}
message CClanFAQS_GetFAQ_Response {
optional .CClanFAQContent faq = 1;
optional bool faq_exists = 2 [default = false];
}
message CClanFAQS_GetFAQVersion_Request {
optional uint64 steamid = 1;
optional uint64 faq_id = 2;
optional uint32 language = 3;
optional uint64 version = 4;
}
message CClanFAQS_GetFAQVersion_Response {
optional .CClanFAQContent faq = 1;
}
message CClanFAQS_PreviewDraft_Request {
optional uint64 steamid = 1;
optional uint64 faq_id = 2;
optional uint32 language = 3;
}
message CClanFAQS_PreviewDraft_Response {
optional .CClanFAQContent faq = 1;
}
message CClanFAQS_PublishDraft_Request {
optional uint64 steamid = 1;
optional uint64 faq_id = 2;
repeated uint32 language = 3;
}
message CClanFAQS_PublishDraft_Response {
optional fixed32 last_publish_timestamp = 1;
}
message CClanFAQS_SearchFAQs_Request {
optional string search_text = 1;
repeated int32 elanguages = 2;
optional int32 count = 3;
optional string cursor = 4;
repeated uint32 filter_clanids = 5;
}
message CClanFAQS_SearchFAQs_Response {
repeated .CClanFAQS_SearchFAQs_Response_CFAQSearchResult faqs = 1;
optional int32 num_total_results = 2;
optional string next_cursor = 3;
}
message CClanFAQS_SearchFAQs_Response_CFAQSearchResult {
optional uint64 articleid = 1;
optional string name = 2;
optional string content = 3;
optional uint32 clan_accountid = 4;
optional string url_code = 5;
repeated string localized_names = 6;
}
message CClanFAQS_SetVisibility_Request {
optional uint64 steamid = 1;
optional uint64 faq_id = 2;
optional bool visible_in_global_realm = 3;
optional bool visible_in_china_realm = 4;
}
message CClanFAQS_SetVisibility_Response {
}
message CClanFAQS_UpdateDraft_Request {
optional uint64 steamid = 1;
optional uint64 faq_id = 2;
optional uint32 language = 3;
optional string content = 4;
optional string title = 5;
}
message CClanFAQS_UpdateDraft_Response {
optional fixed32 last_update_timestamp = 1;
}
message CClanFAQS_UpdateInternalName_Request {
optional uint64 steamid = 1;
optional uint64 faq_id = 2;
optional string internal_name = 3;
}
message CClanFAQS_UpdateInternalName_Response {
}
message CClanFAQS_UpdateJsonData_Request {
optional uint64 steamid = 1;
optional uint64 faq_id = 2;
optional string json_data = 3;
}
message CClanFAQS_UpdateJsonData_Response {
}
message CClanFAQSummary {
optional uint64 faq_id = 1;
optional string internal_name = 2;
optional bool visible_in_global_realm = 3;
optional bool visible_in_china_realm = 4;
optional string json_data = 5;
repeated .CClanFAQSummary_CLanguageInfo per_language_info = 6;
optional string url_code = 7;
}
message CClanFAQSummary_CLanguageInfo {
optional uint32 language = 1;
optional fixed32 last_update_timestamp = 2;
optional fixed32 last_publish_timestamp = 3;
}
service ClanFAQS {
rpc CheckFAQPermissions (.CClanFAQS_CheckFAQPermissions_Request) returns (.CClanFAQS_CheckFAQPermissions_Response);
rpc Create (.CClanFAQS_Create_Request) returns (.CClanFAQS_Create_Response);
rpc Delete (.CClanFAQS_Delete_Request) returns (.CClanFAQS_Delete_Response);
rpc GetAllDrafts (.CClanFAQS_GetAllDrafts_Request) returns (.CClanFAQS_GetAllDrafts_Response);
rpc GetAllFAQsForClan (.CClanFAQS_GetAllFAQsForClan_Request) returns (.CClanFAQS_GetAllFAQsForClan_Response);
rpc GetAllLatestVersionPublishedFAQS (.CClanFAQS_GetAllLatestVersionPublishedFAQS_Request) returns (.CClanFAQS_GetAllLatestVersionPublishedFAQS_Response);
rpc GetFAQ (.CClanFAQS_GetFAQ_Request) returns (.CClanFAQS_GetFAQ_Response);
rpc GetFAQVersion (.CClanFAQS_GetFAQVersion_Request) returns (.CClanFAQS_GetFAQVersion_Response);
rpc PreviewDraft (.CClanFAQS_PreviewDraft_Request) returns (.CClanFAQS_PreviewDraft_Response);
rpc PublishDraft (.CClanFAQS_PublishDraft_Request) returns (.CClanFAQS_PublishDraft_Response);
rpc SearchFAQs (.CClanFAQS_SearchFAQs_Request) returns (.CClanFAQS_SearchFAQs_Response);
rpc SetVisibility (.CClanFAQS_SetVisibility_Request) returns (.CClanFAQS_SetVisibility_Response);
rpc UpdateDraft (.CClanFAQS_UpdateDraft_Request) returns (.CClanFAQS_UpdateDraft_Response);
rpc UpdateInternalName (.CClanFAQS_UpdateInternalName_Request) returns (.CClanFAQS_UpdateInternalName_Response);
rpc UpdateJsonData (.CClanFAQS_UpdateJsonData_Request) returns (.CClanFAQS_UpdateJsonData_Response);
}

View File

@@ -0,0 +1,163 @@
message CClientComm_ClientData {
optional uint32 package_version = 1;
optional string os = 2;
optional string machine_name = 3;
optional string ip_public = 4;
optional string ip_private = 5;
optional uint64 bytes_available = 6;
repeated .CClientComm_ClientData_RunningGames running_games = 7;
optional uint32 protocol_version = 8;
optional uint32 clientcomm_version = 9;
repeated uint32 local_users = 10;
}
message CClientComm_ClientData_RunningGames {
optional uint32 appid = 1;
optional string extra_info = 2;
optional uint32 time_running_sec = 3;
}
message CClientComm_EnableOrDisableDownloads_Request {
optional uint64 client_instanceid = 1;
optional bool enable = 2;
}
message CClientComm_EnableOrDisableDownloads_Response {
}
message CClientComm_GetAllClientLogonInfo_Request {
}
message CClientComm_GetAllClientLogonInfo_Response {
repeated .CClientComm_GetAllClientLogonInfo_Response_Session sessions = 1;
optional uint32 refetch_interval_sec = 2;
}
message CClientComm_GetAllClientLogonInfo_Response_Session {
optional uint64 client_instanceid = 1;
optional uint32 protocol_version = 2;
optional string os_name = 3;
optional string machine_name = 4;
optional int32 os_type = 5;
optional int32 device_type = 6;
optional int32 realm = 7;
}
message CClientComm_GetClientAppList_Request {
optional string fields = 1;
optional string filters = 2;
optional uint64 client_instanceid = 3;
optional bool include_client_info = 4;
optional string language = 5;
repeated uint32 filter_appids = 6;
}
message CClientComm_GetClientAppList_Response {
optional uint64 bytes_available = 1;
repeated .CClientComm_GetClientAppList_Response_AppData apps = 2;
optional .CClientComm_ClientData client_info = 3;
optional uint32 refetch_interval_sec_full = 4;
optional uint32 refetch_interval_sec_changing = 5;
optional uint32 refetch_interval_sec_updating = 6;
}
message CClientComm_GetClientAppList_Response_AppData {
optional uint32 appid = 1;
optional string app = 2;
optional string category = 3;
optional string app_type = 4;
optional uint32 num_downloading = 8;
optional uint32 num_paused = 10;
optional uint32 bytes_download_rate = 11;
optional uint64 bytes_downloaded = 12;
optional uint64 bytes_to_download = 13;
repeated .CClientComm_GetClientAppList_Response_AppData_DLCData dlcs = 17;
optional bool favorite = 18;
optional bool auto_update = 19;
optional bool installed = 20;
optional bool download_paused = 21;
optional bool changing = 22;
optional bool available_on_platform = 23;
optional uint64 bytes_staged = 24;
optional uint64 bytes_to_stage = 25;
optional uint64 bytes_required = 26;
optional uint32 source_buildid = 27;
optional uint32 target_buildid = 28;
optional uint32 estimated_seconds_remaining = 29;
optional int32 queue_position = 30 [default = -1];
optional bool uninstalling = 31;
optional uint32 rt_time_scheduled = 32;
optional bool running = 33;
}
message CClientComm_GetClientAppList_Response_AppData_DLCData {
optional uint32 appid = 1;
optional string app = 2;
optional uint32 installed = 3;
}
message CClientComm_GetClientInfo_Request {
optional uint64 client_instanceid = 1;
}
message CClientComm_GetClientInfo_Response {
optional .CClientComm_ClientData client_info = 1;
}
message CClientComm_GetClientLogonInfo_Request {
optional uint64 client_instanceid = 1;
}
message CClientComm_GetClientLogonInfo_Response {
optional uint32 protocol_version = 1;
optional string os = 2;
optional string machine_name = 3;
}
message CClientComm_InstallClientApp_Request {
optional uint32 appid = 1;
optional uint64 client_instanceid = 2;
}
message CClientComm_InstallClientApp_Response {
}
message CClientComm_LaunchClientApp_Request {
optional uint64 client_instanceid = 1;
optional uint32 appid = 2;
optional string query_params = 3;
}
message CClientComm_LaunchClientApp_Response {
}
message CClientComm_SetClientAppUpdateState_Request {
optional uint32 appid = 1;
optional uint32 action = 2;
optional uint64 client_instanceid = 3;
}
message CClientComm_SetClientAppUpdateState_Response {
}
message CClientComm_UninstallClientApp_Request {
optional uint32 appid = 1;
optional uint64 client_instanceid = 2;
}
message CClientComm_UninstallClientApp_Response {
}
service ClientComm {
rpc EnableOrDisableDownloads (.CClientComm_EnableOrDisableDownloads_Request) returns (.CClientComm_EnableOrDisableDownloads_Response);
rpc GetAllClientLogonInfo (.CClientComm_GetAllClientLogonInfo_Request) returns (.CClientComm_GetAllClientLogonInfo_Response);
rpc GetClientAppList (.CClientComm_GetClientAppList_Request) returns (.CClientComm_GetClientAppList_Response);
rpc GetClientInfo (.CClientComm_GetClientInfo_Request) returns (.CClientComm_GetClientInfo_Response);
rpc GetClientLogonInfo (.CClientComm_GetClientLogonInfo_Request) returns (.CClientComm_GetClientLogonInfo_Response);
rpc InstallClientApp (.CClientComm_InstallClientApp_Request) returns (.CClientComm_InstallClientApp_Response);
rpc LaunchClientApp (.CClientComm_LaunchClientApp_Request) returns (.CClientComm_LaunchClientApp_Response);
rpc SetClientAppUpdateState (.CClientComm_SetClientAppUpdateState_Request) returns (.CClientComm_SetClientAppUpdateState_Response);
rpc UninstallClientApp (.CClientComm_UninstallClientApp_Request) returns (.CClientComm_UninstallClientApp_Response);
}

View File

@@ -0,0 +1,22 @@
import "common_base.proto";
message CClientMetrics_ReportClientError_Notification {
optional string product = 1;
optional string version = 2;
repeated .CClientMetrics_ReportClientError_Notification_Error errors = 3;
}
message CClientMetrics_ReportClientError_Notification_Error {
optional string identifier = 1;
optional string message = 2;
optional uint32 count = 3;
}
service ClientMetrics {
rpc ClientAppInterfaceStatsReport (.NotImplemented) returns (.NoResponse);
rpc ClientBootstrapReport (.NotImplemented) returns (.NoResponse);
rpc ClientIPv6ConnectivityReport (.NotImplemented) returns (.NoResponse);
rpc ReportClientError (.CClientMetrics_ReportClientError_Notification) returns (.NoResponse);
rpc SteamPipeWorkStatsReport (.NotImplemented) returns (.NoResponse);
}

View File

@@ -0,0 +1,222 @@
import "common_base.proto";
import "common.proto";
message CCloud_AppCloudStateChange_Notification {
optional uint32 appid = 1;
optional uint64 app_change_number = 2;
}
message CCloud_AppFileInfo {
optional string file_name = 1;
optional bytes sha_file = 2;
optional uint64 time_stamp = 3;
optional uint32 raw_file_size = 4;
optional int32 persist_state = 5 [(.description) = "enum"];
optional uint32 platforms_to_sync = 6;
optional uint32 path_prefix_index = 7;
optional uint32 machine_name_index = 8;
}
message CCloud_AppLaunchIntent_Response {
repeated .CCloud_PendingRemoteOperation pending_remote_operations = 1;
}
message CCloud_AppSessionResume_Response {
}
message CCloud_AppSessionSuspend_Response {
}
message CCloud_BeginAppUploadBatch_Response {
optional uint64 batch_id = 1;
optional uint64 app_change_number = 4;
}
message CCloud_BeginHTTPUpload_Response {
optional fixed64 ugcid = 1;
optional fixed32 timestamp = 2;
optional string url_host = 3;
optional string url_path = 4;
optional bool use_https = 5;
repeated .CCloud_BeginHTTPUpload_Response_HTTPHeaders request_headers = 6;
}
message CCloud_BeginHTTPUpload_Response_HTTPHeaders {
optional string name = 1;
optional string value = 2;
}
message CCloud_BeginUGCUpload_Response {
optional int32 storage_system = 1 [(.description) = "enum"];
optional fixed64 ugcid = 2;
optional fixed32 timestamp = 3;
optional string url_host = 4;
optional string url_path = 5;
optional bool use_https = 6;
repeated .CCloud_BeginUGCUpload_Response_HTTPHeaders request_headers = 7;
}
message CCloud_BeginUGCUpload_Response_HTTPHeaders {
optional string name = 1;
optional string value = 2;
}
message CCloud_ClientBeginFileUpload_Response {
optional bool encrypt_file = 1;
repeated .ClientCloudFileUploadBlockDetails block_requests = 2;
}
message CCloud_ClientCommitFileUpload_Response {
optional bool file_committed = 1;
}
message CCloud_ClientDeleteFile_Response {
}
message CCloud_ClientFileDownload_Response {
optional uint32 appid = 1;
optional uint32 file_size = 2;
optional uint32 raw_file_size = 3;
optional bytes sha_file = 4;
optional uint64 time_stamp = 5;
optional bool is_explicit_delete = 6;
optional string url_host = 7;
optional string url_path = 8;
optional bool use_https = 9;
repeated .CCloud_ClientFileDownload_Response_HTTPHeaders request_headers = 10;
optional bool encrypted = 11;
}
message CCloud_ClientFileDownload_Response_HTTPHeaders {
optional string name = 1;
optional string value = 2;
}
message CCloud_ClientGetAppQuotaUsage_Response {
optional uint32 existing_files = 1;
optional uint64 existing_bytes = 2;
optional uint32 max_num_files = 3;
optional uint64 max_num_bytes = 4;
}
message CCloud_ClientLogUploadRequest_Notification {
optional uint64 request_id = 1;
}
message CCloud_CommitHTTPUpload_Response {
optional bool file_committed = 1;
}
message CCloud_CommitUGCUpload_Response {
optional bool file_committed = 1;
}
message CCloud_CompleteAppUploadBatch_Response {
}
message CCloud_Delete_Response {
}
message CCloud_EnumerateUserApps_Response {
repeated .CCloud_EnumerateUserApps_Response_Apps apps = 1;
}
message CCloud_EnumerateUserApps_Response_Apps {
optional uint32 appid = 1;
optional int32 totalcount = 2;
optional int64 totalsize = 3;
}
message CCloud_EnumerateUserFiles_Response {
repeated .CCloud_UserFile files = 1;
optional uint32 total_files = 2;
}
message CCloud_GetAppFileChangelist_Response {
optional uint64 current_change_number = 1;
repeated .CCloud_AppFileInfo files = 2;
optional bool is_only_delta = 3;
repeated string path_prefixes = 4;
repeated string machine_names = 5;
optional uint64 app_buildid_hwm = 6;
}
message CCloud_GetClientEncryptionKey_Response {
optional bytes key = 1;
optional int32 crc = 2;
}
message CCloud_GetFileDetails_Response {
optional .CCloud_UserFile details = 1;
}
message CCloud_GetUploadServerInfo_Response {
optional string server_url = 1;
}
message CCloud_UserFile {
optional uint32 appid = 1;
optional uint64 ugcid = 2;
optional string filename = 3;
optional uint64 timestamp = 4;
optional uint32 file_size = 5;
optional string url = 6;
optional fixed64 steamid_creator = 7;
optional uint32 flags = 8;
repeated string platforms_to_sync = 9;
optional string file_sha = 10;
}
message ClientCloudFileUploadBlockDetails {
optional string url_host = 1;
optional string url_path = 2;
optional bool use_https = 3;
optional int32 http_method = 4;
repeated .ClientCloudFileUploadBlockDetails_HTTPHeaders request_headers = 5;
optional uint64 block_offset = 6;
optional uint32 block_length = 7;
optional bytes explicit_body_data = 8;
optional bool may_parallelize = 9;
}
message ClientCloudFileUploadBlockDetails_HTTPHeaders {
optional string name = 1;
optional string value = 2;
}
service Cloud {
rpc BeginAppUploadBatch (.NotImplemented) returns (.CCloud_BeginAppUploadBatch_Response);
rpc BeginHTTPUpload (.NotImplemented) returns (.CCloud_BeginHTTPUpload_Response);
rpc BeginUGCUpload (.NotImplemented) returns (.CCloud_BeginUGCUpload_Response);
rpc CDNReport (.NotImplemented) returns (.NoResponse);
rpc ClientBeginFileUpload (.NotImplemented) returns (.CCloud_ClientBeginFileUpload_Response);
rpc ClientCommitFileUpload (.NotImplemented) returns (.CCloud_ClientCommitFileUpload_Response);
rpc ClientConflictResolution (.NotImplemented) returns (.NoResponse);
rpc ClientDeleteFile (.NotImplemented) returns (.CCloud_ClientDeleteFile_Response);
rpc ClientFileDownload (.NotImplemented) returns (.CCloud_ClientFileDownload_Response);
rpc ClientGetAppQuotaUsage (.NotImplemented) returns (.CCloud_ClientGetAppQuotaUsage_Response);
rpc ClientLogUploadCheck (.NotImplemented) returns (.NoResponse);
rpc ClientLogUploadComplete (.NotImplemented) returns (.NoResponse);
rpc CommitHTTPUpload (.NotImplemented) returns (.CCloud_CommitHTTPUpload_Response);
rpc CommitUGCUpload (.NotImplemented) returns (.CCloud_CommitUGCUpload_Response);
rpc CompleteAppUploadBatch (.NotImplemented) returns (.NoResponse);
rpc CompleteAppUploadBatchBlocking (.NotImplemented) returns (.CCloud_CompleteAppUploadBatch_Response);
rpc Delete (.NotImplemented) returns (.CCloud_Delete_Response);
rpc EnumerateUserApps (.NotImplemented) returns (.CCloud_EnumerateUserApps_Response);
rpc EnumerateUserFiles (.NotImplemented) returns (.CCloud_EnumerateUserFiles_Response);
rpc ExternalStorageTransferReport (.NotImplemented) returns (.NoResponse);
rpc GetAppFileChangelist (.NotImplemented) returns (.CCloud_GetAppFileChangelist_Response);
rpc GetClientEncryptionKey (.NotImplemented) returns (.CCloud_GetClientEncryptionKey_Response);
rpc GetFileDetails (.NotImplemented) returns (.CCloud_GetFileDetails_Response);
rpc GetUploadServerInfo (.NotImplemented) returns (.CCloud_GetUploadServerInfo_Response);
rpc ResumeAppSession (.NotImplemented) returns (.CCloud_AppSessionResume_Response);
rpc SignalAppExitSyncDone (.NotImplemented) returns (.NoResponse);
rpc SignalAppLaunchIntent (.NotImplemented) returns (.CCloud_AppLaunchIntent_Response);
rpc SuspendAppSession (.NotImplemented) returns (.CCloud_AppSessionSuspend_Response);
}
service CloudClient {
rpc ClientLogUploadRequest (.CCloud_ClientLogUploadRequest_Notification) returns (.NoResponse);
rpc NotifyAppStateChange (.CCloud_AppCloudStateChange_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,51 @@
import "common_base.proto";
message CCloudConfigStore_Change_Notification {
repeated .CCloudConfigStore_NamespaceVersion versions = 2;
}
message CCloudConfigStore_Download_Request {
repeated .CCloudConfigStore_NamespaceVersion versions = 1;
}
message CCloudConfigStore_Download_Response {
repeated .CCloudConfigStore_NamespaceData data = 1;
}
message CCloudConfigStore_Entry {
optional string key = 1;
optional bool is_deleted = 2;
optional string value = 3;
optional fixed32 timestamp = 4;
optional uint64 version = 5;
}
message CCloudConfigStore_NamespaceData {
optional uint32 enamespace = 1;
optional uint64 version = 2;
repeated .CCloudConfigStore_Entry entries = 3;
optional uint64 horizon = 4;
}
message CCloudConfigStore_NamespaceVersion {
optional uint32 enamespace = 1;
optional uint64 version = 2;
}
message CCloudConfigStore_Upload_Request {
repeated .CCloudConfigStore_NamespaceData data = 1;
}
message CCloudConfigStore_Upload_Response {
repeated .CCloudConfigStore_NamespaceVersion versions = 1;
}
service CloudConfigStore {
rpc Download (.CCloudConfigStore_Download_Request) returns (.CCloudConfigStore_Download_Response);
rpc Upload (.CCloudConfigStore_Upload_Request) returns (.CCloudConfigStore_Upload_Response);
}
service CloudConfigStoreClient {
rpc NotifyChange (.CCloudConfigStore_Change_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,30 @@
message CCloudGaming_CreateNonce_Request {
optional string platform = 1;
optional uint32 appid = 2;
}
message CCloudGaming_CreateNonce_Response {
optional string nonce = 1;
optional uint32 expiry = 2;
}
message CCloudGaming_GetTimeRemaining_Request {
optional string platform = 1;
repeated uint32 appid_list = 2;
}
message CCloudGaming_GetTimeRemaining_Response {
repeated .CCloudGaming_TimeRemaining entries = 2;
}
message CCloudGaming_TimeRemaining {
optional uint32 appid = 1;
optional uint32 minutes_remaining = 2;
}
service CloudGaming {
rpc CreateNonce (.CCloudGaming_CreateNonce_Request) returns (.CCloudGaming_CreateNonce_Response);
rpc GetTimeRemaining (.CCloudGaming_GetTimeRemaining_Request) returns (.CCloudGaming_GetTimeRemaining_Response);
}

View File

@@ -0,0 +1,365 @@
import "common_base.proto";
import "common.proto";
message CAppPriority {
optional uint32 priority = 1;
repeated uint32 appid = 2;
}
message CCDDBAppDetailCommon {
optional uint32 appid = 1;
optional string name = 2;
optional string icon = 3;
optional string logo = 4;
optional string logo_small = 5;
optional bool tool = 6;
optional bool demo = 7;
optional bool media = 8;
optional bool community_visible_stats = 9;
optional string friendly_name = 10;
optional string propagation = 11;
optional bool has_adult_content = 12;
optional bool is_visible_in_steam_china = 13;
optional uint32 app_type = 14;
optional bool has_adult_content_sex = 15;
optional bool has_adult_content_violence = 16;
repeated uint32 content_descriptorids = 17;
}
message CClanEventUserNewsTuple {
optional uint32 clanid = 1;
optional fixed64 event_gid = 2;
optional fixed64 announcement_gid = 3;
optional uint32 rtime_start = 4;
optional uint32 rtime_end = 5;
optional uint32 priority_score = 6;
optional uint32 type = 7;
optional uint32 clamp_range_slot = 8;
optional uint32 appid = 9;
optional uint32 rtime32_last_modified = 10;
}
message CClanMatchEventByRange {
optional uint32 rtime_before = 1;
optional uint32 rtime_after = 2;
optional uint32 qualified = 3;
repeated .CClanEventUserNewsTuple events = 4;
}
message CCommunity_ClearSinglePartnerEventsAppPriority_Request {
optional uint32 appid = 1;
}
message CCommunity_ClearSinglePartnerEventsAppPriority_Response {
}
message CCommunity_ClearUserPartnerEventsAppPriorities_Request {
}
message CCommunity_ClearUserPartnerEventsAppPriorities_Response {
}
message CCommunity_Comment {
optional fixed64 gidcomment = 1;
optional fixed64 steamid = 2;
optional uint32 timestamp = 3;
optional string text = 4;
optional int32 upvotes = 5;
optional bool hidden = 6;
optional bool hidden_by_user = 7;
optional bool deleted = 8;
optional .CMsgIPAddress ipaddress = 9;
optional int32 total_hidden = 10;
optional bool upvoted_by_user = 11;
repeated .CCommunity_Comment_Reaction reactions = 12;
optional fixed64 gidparentcomment = 13;
}
message CCommunity_Comment_Reaction {
optional uint32 reactionid = 1;
optional uint32 count = 2;
}
message CCommunity_DeleteCommentFromThread_Request {
optional fixed64 steamid = 1;
optional int32 comment_thread_type = 2 [(.description) = "enum"];
//optional uint32 comment_thread_type = 2;
optional fixed64 gidfeature = 3;
optional fixed64 gidfeature2 = 4;
optional fixed64 gidcomment = 5;
optional bool undelete = 6;
}
message CCommunity_DeleteCommentFromThread_Response {
}
message CCommunity_GetAppRichPresenceLocalization_Request {
optional int32 appid = 1;
optional string language = 2;
}
message CCommunity_GetAppRichPresenceLocalization_Response {
optional int32 appid = 1;
repeated .CCommunity_GetAppRichPresenceLocalization_Response_TokenList token_lists = 2;
}
message CCommunity_GetAppRichPresenceLocalization_Response_Token {
optional string name = 1;
optional string value = 2;
}
message CCommunity_GetAppRichPresenceLocalization_Response_TokenList {
optional string language = 1;
repeated .CCommunity_GetAppRichPresenceLocalization_Response_Token tokens = 2;
}
message CCommunity_GetApps_Request {
repeated int32 appids = 1;
optional uint32 language = 2;
}
message CCommunity_GetApps_Response {
repeated .CCDDBAppDetailCommon apps = 1;
}
message CCommunity_GetAvatarHistory_Request {
optional fixed64 steamid = 1;
optional bool filter_user_uploaded_only = 2;
}
message CCommunity_GetAvatarHistory_Response {
repeated .CCommunity_GetAvatarHistory_Response_AvatarData avatars = 1;
}
message CCommunity_GetAvatarHistory_Response_AvatarData {
optional string avatar_sha1 = 1;
optional bool user_uploaded = 2;
optional uint32 timestamp = 3;
}
message CCommunity_GetBestEventsForUser_Request {
optional bool include_steam_blog = 1;
optional uint32 filter_to_played_within_days = 2;
optional bool include_only_game_updates = 3;
}
message CCommunity_GetBestEventsForUser_Response {
repeated .CCommunity_PartnerEventResult results = 1;
}
message CCommunity_GetClanAnnouncementVoteForUser_Request {
optional uint64 announcementid = 1;
}
message CCommunity_GetClanAnnouncementVoteForUser_Response {
optional bool voted_up = 1;
optional bool voted_down = 2;
}
message CCommunity_GetCommentThread_Request {
optional fixed64 steamid = 1;
optional int32 comment_thread_type = 2 [(.description) = "enum"];
//optional uint32 comment_thread_type = 2;
optional fixed64 gidfeature = 3;
optional fixed64 gidfeature2 = 4;
optional fixed64 commentthreadid = 5;
optional int32 start = 6;
optional int32 count = 7;
optional int32 upvoters = 8;
optional bool include_deleted = 9;
optional fixed64 gidcomment = 10;
optional uint32 time_oldest = 11;
optional bool oldest_first = 12;
}
message CCommunity_GetCommentThread_Response {
repeated .CCommunity_Comment comments = 1;
repeated .CCommunity_Comment deleted_comments = 2;
optional fixed64 steamid = 3;
optional fixed64 commentthreadid = 4;
optional int32 start = 5;
optional int32 count = 6;
optional int32 total_count = 7;
optional int32 upvotes = 8;
repeated uint32 upvoters = 9;
optional bool user_subscribed = 10;
optional bool user_upvoted = 11;
optional fixed64 answer_commentid = 12;
optional uint32 answer_actor = 13;
optional int32 answer_actor_rank = 14;
optional bool can_post = 15;
optional uint32 comment_thread_type = 16;
optional fixed64 gidfeature = 17;
optional fixed64 gidfeature2 = 18;
}
message CCommunity_GetCommentThreadRatings_Request {
optional string commentthreadtype = 1;
optional uint64 steamid = 2;
optional uint64 gidfeature = 3;
optional uint64 gidfeature2 = 4;
optional uint64 gidcomment = 5;
optional uint32 max_results = 6;
}
message CCommunity_GetCommentThreadRatings_Response {
optional uint64 commentthreadid = 1;
optional uint64 gidcomment = 2;
optional uint32 upvotes = 3;
optional bool has_upvoted = 4;
repeated uint32 upvoter_accountids = 5;
}
message CCommunity_GetUserPartnerEventNews_Request {
optional uint32 count = 1;
optional uint32 offset = 2;
optional uint32 rtime32_start_time = 3;
optional uint32 rtime32_end_time = 4;
repeated uint32 language_preference = 5;
repeated int32 filter_event_type = 6 [(.description) = "enum"];
optional bool filter_to_appid = 7;
repeated .CAppPriority app_list = 8;
optional uint32 count_after = 9 [default = 0];
optional uint32 count_before = 10 [default = 0];
}
message CCommunity_GetUserPartnerEventNews_Response {
repeated .CClanMatchEventByRange results = 1;
}
message CCommunity_GetUserPartnerEventsAppPriorities_Request {
}
message CCommunity_GetUserPartnerEventsAppPriorities_Response {
repeated .CCommunity_PartnerEventsAppPriority priorities = 1;
}
message CCommunity_GetUserPartnerEventViewStatus_Request {
repeated fixed64 event_gids = 1;
optional bool include_read_events_only = 2;
}
message CCommunity_GetUserPartnerEventViewStatus_Response {
repeated .CCommunity_GetUserPartnerEventViewStatus_Response_PartnerEvent events = 1;
}
message CCommunity_GetUserPartnerEventViewStatus_Response_PartnerEvent {
optional fixed64 event_gid = 1;
optional uint32 last_shown_time = 2;
optional uint32 last_read_time = 3;
optional uint32 clan_account_id = 4;
}
message CCommunity_MarkPartnerEventsForUser_Request {
repeated .CCommunity_MarkPartnerEventsForUser_Request_PartnerEventMarking markings = 1;
}
message CCommunity_MarkPartnerEventsForUser_Request_PartnerEventMarking {
optional uint32 clanid = 1;
optional fixed64 event_gid = 2;
optional int32 display_location = 3 [(.description) = "enum"];
optional bool mark_shown = 4;
optional bool mark_read = 5;
}
message CCommunity_MarkPartnerEventsForUser_Response {
}
message CCommunity_PartnerEventResult {
optional uint32 clanid = 1;
optional fixed64 event_gid = 2;
optional fixed64 announcement_gid = 3;
optional uint32 appid = 4;
optional bool possible_takeover = 5;
optional uint32 rtime32_last_modified = 6 [default = 0];
optional int32 user_app_priority = 7;
}
message CCommunity_PartnerEventsAppPriority {
optional uint32 appid = 1;
optional int32 user_app_priority = 2;
}
message CCommunity_PartnerEventsShowLessForApp_Request {
optional uint32 appid = 1;
}
message CCommunity_PartnerEventsShowLessForApp_Response {
}
message CCommunity_PartnerEventsShowMoreForApp_Request {
optional uint32 appid = 1;
}
message CCommunity_PartnerEventsShowMoreForApp_Response {
}
message CCommunity_PostCommentToThread_Request {
optional fixed64 steamid = 1;
optional int32 comment_thread_type = 2 [(.description) = "enum"];
//optional uint32 comment_thread_type = 2;
optional fixed64 gidfeature = 3;
optional fixed64 gidfeature2 = 4;
optional string text = 6;
optional fixed64 gidparentcomment = 7;
optional bool suppress_notifications = 8;
optional bool is_report = 9;
optional bool start_hidden = 10;
}
message CCommunity_PostCommentToThread_Response {
optional fixed64 gidcomment = 1;
optional fixed64 commentthreadid = 2;
optional int32 count = 3;
optional int32 upvotes = 4;
}
message CCommunity_RateClanAnnouncement_Request {
optional uint64 announcementid = 1;
optional bool vote_up = 2;
optional uint32 clan_accountid = 3;
}
message CCommunity_RateClanAnnouncement_Response {
}
message CCommunity_RateCommentThread_Request {
optional string commentthreadtype = 1;
optional uint64 steamid = 2;
optional uint64 gidfeature = 3;
optional uint64 gidfeature2 = 4;
optional uint64 gidcomment = 5;
optional bool rate_up = 6;
optional bool suppress_notifications = 7;
}
message CCommunity_RateCommentThread_Response {
optional uint64 gidcomment = 1;
optional uint64 commentthreadid = 2;
optional uint32 count = 3;
optional uint32 upvotes = 4;
optional bool has_upvoted = 5;
}
service Community {
rpc ClearSinglePartnerEventsAppPriority (.CCommunity_ClearSinglePartnerEventsAppPriority_Request) returns (.CCommunity_ClearSinglePartnerEventsAppPriority_Response);
rpc ClearUserPartnerEventsAppPriorities (.CCommunity_ClearUserPartnerEventsAppPriorities_Request) returns (.CCommunity_ClearUserPartnerEventsAppPriorities_Response);
rpc DeleteCommentFromThread (.CCommunity_DeleteCommentFromThread_Request) returns (.CCommunity_DeleteCommentFromThread_Response);
rpc GetAppRichPresenceLocalization (.CCommunity_GetAppRichPresenceLocalization_Request) returns (.CCommunity_GetAppRichPresenceLocalization_Response);
rpc GetApps (.CCommunity_GetApps_Request) returns (.CCommunity_GetApps_Response);
rpc GetAvatarHistory (.CCommunity_GetAvatarHistory_Request) returns (.CCommunity_GetAvatarHistory_Response);
rpc GetBestEventsForUser (.CCommunity_GetBestEventsForUser_Request) returns (.CCommunity_GetBestEventsForUser_Response);
rpc GetClanAnnouncementVoteForUser (.CCommunity_GetClanAnnouncementVoteForUser_Request) returns (.CCommunity_GetClanAnnouncementVoteForUser_Response);
rpc GetCommentThread (.CCommunity_GetCommentThread_Request) returns (.CCommunity_GetCommentThread_Response);
rpc GetCommentThreadRatings (.CCommunity_GetCommentThreadRatings_Request) returns (.CCommunity_GetCommentThreadRatings_Response);
rpc GetUserPartnerEventNews (.CCommunity_GetUserPartnerEventNews_Request) returns (.CCommunity_GetUserPartnerEventNews_Response);
rpc GetUserPartnerEventsAppPriorities (.CCommunity_GetUserPartnerEventsAppPriorities_Request) returns (.CCommunity_GetUserPartnerEventsAppPriorities_Response);
rpc GetUserPartnerEventViewStatus (.CCommunity_GetUserPartnerEventViewStatus_Request) returns (.CCommunity_GetUserPartnerEventViewStatus_Response);
rpc MarkPartnerEventsForUser (.CCommunity_MarkPartnerEventsForUser_Request) returns (.CCommunity_MarkPartnerEventsForUser_Response);
rpc PartnerEventsShowLessForApp (.CCommunity_PartnerEventsShowLessForApp_Request) returns (.CCommunity_PartnerEventsShowLessForApp_Response);
rpc PartnerEventsShowMoreForApp (.CCommunity_PartnerEventsShowMoreForApp_Request) returns (.CCommunity_PartnerEventsShowMoreForApp_Response);
rpc PostCommentToThread (.CCommunity_PostCommentToThread_Request) returns (.CCommunity_PostCommentToThread_Response);
rpc RateClanAnnouncement (.CCommunity_RateClanAnnouncement_Request) returns (.CCommunity_RateClanAnnouncement_Response);
rpc RateCommentThread (.CCommunity_RateCommentThread_Request) returns (.CCommunity_RateCommentThread_Response);
}

View File

@@ -0,0 +1,91 @@
import "common_base.proto";
message CDailyDeal_CancelDailyDeal_Request {
optional fixed64 gid = 1;
}
message CDailyDeal_CancelDailyDeal_Response {
}
message CDailyDeal_CreateDailyDeal_Request {
optional .CDailyDealDetails daily_deal = 1;
optional uint32 partnerid = 2;
optional fixed64 inviteid = 3;
}
message CDailyDeal_CreateDailyDeal_Response {
optional fixed64 gid = 1;
}
message CDailyDeal_DeleteDailyDeal_Request {
optional fixed64 gid = 1;
}
message CDailyDeal_DeleteDailyDeal_Response {
}
message CDailyDeal_GetDailyDeals_Request {
optional fixed64 gid = 1;
optional uint32 rtime32_start_date = 2;
optional uint32 rtime32_end_date = 3;
optional uint32 appid = 4;
optional int32 store_item_type = 5 [(.description) = "enum"];
optional string search_term = 6;
optional uint32 partnerid = 7;
}
message CDailyDeal_GetDailyDeals_Response {
repeated .CDailyDealDetails daily_deals = 1;
repeated uint32 blocked_dates = 2;
repeated uint32 scheduled_slots = 3;
repeated .CDailyDeal_GetDailyDeals_Response_DailyDealBlockedDate blocked = 4;
}
message CDailyDeal_GetDailyDeals_Response_DailyDealBlockedDate {
optional uint32 date = 1;
optional string name = 2;
}
message CDailyDeal_GetDailyDealsForApps_Request {
repeated uint32 appids = 1;
}
message CDailyDeal_GetDailyDealsForApps_Response {
repeated .CDailyDealDetails daily_deals = 1;
}
message CDailyDeal_UpdateDailyDeal_Request {
optional .CDailyDealDetails daily_deal = 1;
optional fixed64 gid = 2;
}
message CDailyDeal_UpdateDailyDeal_Response {
}
message CDailyDealDetails {
optional fixed64 gid = 1;
optional int32 store_item_type = 2 [(.description) = "enum"];
optional uint32 store_item_id = 3;
optional string store_item_name = 4;
optional uint32 discount_event_id = 5;
optional uint32 creator_id = 6;
optional uint32 rtime32_start_time = 7;
optional uint32 last_update_time = 8;
optional string template_json = 9;
optional string partner_jsondata = 10;
optional string internal_json = 11;
optional bool deleted = 12;
optional bool cancelled = 13;
optional uint32 rtime32_cancel_time = 14;
optional fixed64 asset_request_id = 15;
}
service DailyDeal {
rpc CancelDailyDeal (.CDailyDeal_CancelDailyDeal_Request) returns (.CDailyDeal_CancelDailyDeal_Response);
rpc CreateDailyDeal (.CDailyDeal_CreateDailyDeal_Request) returns (.CDailyDeal_CreateDailyDeal_Response);
rpc DeleteDailyDeal (.CDailyDeal_DeleteDailyDeal_Request) returns (.CDailyDeal_DeleteDailyDeal_Response);
rpc GetDailyDeals (.CDailyDeal_GetDailyDeals_Request) returns (.CDailyDeal_GetDailyDeals_Response);
rpc GetDailyDealsForApps (.CDailyDeal_GetDailyDealsForApps_Request) returns (.CDailyDeal_GetDailyDealsForApps_Response);
rpc UpdateDailyDeal (.CDailyDeal_UpdateDailyDeal_Request) returns (.CDailyDeal_UpdateDailyDeal_Response);
}

View File

@@ -0,0 +1,134 @@
message CEcon_Asset {
optional uint32 appid = 1;
optional uint64 contextid = 2;
optional uint64 assetid = 3;
optional uint64 classid = 4;
optional uint64 instanceid = 5;
optional uint32 currencyid = 6;
optional int64 amount = 7;
optional bool missing = 8;
optional int64 est_usd = 9;
}
message CEcon_ClientGetItemShopOverlayAuthURL_Request {
optional string return_url = 1;
}
message CEcon_ClientGetItemShopOverlayAuthURL_Response {
optional string url = 1;
}
message CEcon_GetAssetClassInfo_Request {
optional string language = 1;
optional uint32 appid = 2;
repeated .CEcon_GetAssetClassInfo_Request_Class classes = 3;
optional bool high_pri = 4;
}
message CEcon_GetAssetClassInfo_Request_Class {
optional uint64 classid = 1;
optional uint64 instanceid = 2;
}
message CEcon_GetAssetClassInfo_Response {
repeated .CEconItem_Description descriptions = 1;
}
message CEcon_GetInventoryItemsWithDescriptions_Request {
optional fixed64 steamid = 1;
optional uint32 appid = 2;
optional uint64 contextid = 3;
optional bool get_descriptions = 4;
optional string language = 5;
optional .CEcon_GetInventoryItemsWithDescriptions_Request_FilterOptions filters = 6;
optional uint64 start_assetid = 8;
optional int32 count = 9;
optional bool for_trade_offer_verification = 10;
}
message CEcon_GetInventoryItemsWithDescriptions_Request_FilterOptions {
repeated uint64 assetids = 1;
repeated uint32 currencyids = 2;
optional bool tradable_only = 3;
optional bool marketable_only = 4;
}
message CEcon_GetInventoryItemsWithDescriptions_Response {
repeated .CEcon_Asset assets = 1;
repeated .CEconItem_Description descriptions = 2;
repeated .CEcon_Asset missing_assets = 3;
optional bool more_items = 4;
optional uint64 last_assetid = 5;
optional uint32 total_inventory_count = 6;
}
message CEcon_GetTradeOfferAccessToken_Request {
optional bool generate_new_token = 1;
}
message CEcon_GetTradeOfferAccessToken_Response {
optional string trade_offer_access_token = 1;
}
message CEconItem_Action {
optional string link = 1;
optional string name = 2;
}
message CEconItem_Description {
optional int32 appid = 1;
optional uint64 classid = 2;
optional uint64 instanceid = 3;
optional bool currency = 4;
optional string background_color = 5;
optional string icon_url = 6;
optional string icon_url_large = 7;
repeated .CEconItem_DescriptionLine descriptions = 8;
optional bool tradable = 9;
repeated .CEconItem_Action actions = 10;
repeated .CEconItem_DescriptionLine owner_descriptions = 11;
repeated .CEconItem_Action owner_actions = 12;
repeated string fraudwarnings = 13;
optional string name = 14;
optional string name_color = 15;
optional string type = 16;
optional string market_name = 17;
optional string market_hash_name = 18;
optional string market_fee = 19;
optional .CEconItem_Description contained_item = 20;
repeated .CEconItem_Action market_actions = 21;
optional bool commodity = 22;
optional int32 market_tradable_restriction = 23;
optional int32 market_marketable_restriction = 24;
optional bool marketable = 25;
repeated .CEconItem_Tag tags = 26;
optional string item_expiration = 27;
optional int32 market_fee_app = 28;
optional string market_buy_country_restriction = 30;
optional string market_sell_country_restriction = 31;
}
message CEconItem_DescriptionLine {
optional string type = 1;
optional string value = 2;
optional string color = 3;
optional string label = 4;
}
message CEconItem_Tag {
optional uint32 appid = 1;
optional string category = 2;
optional string internal_name = 3;
optional string localized_category_name = 4;
optional string localized_tag_name = 5;
optional string color = 6;
}
service Econ {
rpc ClientGetItemShopOverlayAuthURL (.CEcon_ClientGetItemShopOverlayAuthURL_Request) returns (.CEcon_ClientGetItemShopOverlayAuthURL_Response);
rpc GetAssetClassInfo (.CEcon_GetAssetClassInfo_Request) returns (.CEcon_GetAssetClassInfo_Response);
rpc GetInventoryItemsWithDescriptions (.CEcon_GetInventoryItemsWithDescriptions_Request) returns (.CEcon_GetInventoryItemsWithDescriptions_Response);
rpc GetTradeOfferAccessToken (.CEcon_GetTradeOfferAccessToken_Request) returns (.CEcon_GetTradeOfferAccessToken_Response);
}

View File

@@ -0,0 +1,24 @@
message CEmbeddedClient_AuthorizeCurrentDevice_Request {
optional fixed64 steamid = 1;
optional uint32 appid = 2;
optional string device_info = 3;
optional uint32 deviceid = 4;
}
message CEmbeddedClient_AuthorizeDevice_Response {
optional uint32 result = 1;
optional .CEmbeddedClient_Token token = 2;
}
message CEmbeddedClient_Token {
optional fixed64 steamid = 1;
optional bytes client_token = 2;
optional uint32 expiry = 3;
optional uint32 deviceid = 4;
}
service EmbeddedClient {
rpc AuthorizeCurrentDevice (.CEmbeddedClient_AuthorizeCurrentDevice_Request) returns (.CEmbeddedClient_AuthorizeDevice_Response);
}

View File

@@ -0,0 +1,6 @@
import "common_base.proto";
service ExperimentService {
rpc ReportProductImpressionsFromClient (.NotImplemented) returns (.NoResponse);
}

View File

@@ -0,0 +1,386 @@
import "common_base.proto";
message CFamilyGroups_CancelFamilyGroupInvite_Request {
optional uint64 family_groupid = 1;
optional fixed64 steamid_to_cancel = 2;
}
message CFamilyGroups_CancelFamilyGroupInvite_Response {
}
message CFamilyGroups_ClearCooldownSkip_Request {
optional fixed64 steamid = 1;
optional uint64 invite_id = 2;
}
message CFamilyGroups_ClearCooldownSkip_Response {
}
message CFamilyGroups_ConfirmInviteToFamilyGroup_Request {
optional uint64 family_groupid = 1;
optional uint64 invite_id = 2;
optional uint64 nonce = 3;
}
message CFamilyGroups_ConfirmInviteToFamilyGroup_Response {
}
message CFamilyGroups_ConfirmJoinFamilyGroup_Request {
optional uint64 family_groupid = 1;
optional uint64 invite_id = 2;
optional uint64 nonce = 3;
}
message CFamilyGroups_ConfirmJoinFamilyGroup_Response {
}
message CFamilyGroups_CreateFamilyGroup_Request {
optional string name = 1;
optional fixed64 steamid = 2;
}
message CFamilyGroups_CreateFamilyGroup_Response {
optional uint64 family_groupid = 1;
optional bool cooldown_skip_granted = 2;
}
message CFamilyGroups_DeleteFamilyGroup_Request {
optional uint64 family_groupid = 1;
}
message CFamilyGroups_DeleteFamilyGroup_Response {
}
message CFamilyGroups_ForceAcceptInvite_Request {
optional uint64 family_groupid = 1;
optional fixed64 steamid = 2;
}
message CFamilyGroups_ForceAcceptInvite_Response {
}
message CFamilyGroups_GetChangeLog_Request {
optional uint64 family_groupid = 1;
}
message CFamilyGroups_GetChangeLog_Response {
repeated .CFamilyGroups_GetChangeLog_Response_Change changes = 1;
}
message CFamilyGroups_GetChangeLog_Response_Change {
optional fixed64 timestamp = 1;
optional fixed64 actor_steamid = 2;
optional int32 type = 3 [(.description) = "enum"];
optional string body = 4;
optional bool by_support = 5;
}
message CFamilyGroups_GetFamilyGroup_Request {
optional uint64 family_groupid = 1;
optional bool send_running_apps = 2;
}
message CFamilyGroups_GetFamilyGroup_Response {
optional string name = 1;
repeated .FamilyGroupMember members = 2;
repeated .FamilyGroupPendingInvite pending_invites = 3;
optional uint32 free_spots = 4;
optional string country = 5;
optional uint32 slot_cooldown_remaining_seconds = 6;
repeated .FamilyGroupFormerMember former_members = 7;
optional uint32 slot_cooldown_overrides = 8;
}
message CFamilyGroups_GetFamilyGroupForUser_Request {
optional uint64 steamid = 1;
optional bool include_family_group_response = 2;
}
message CFamilyGroups_GetFamilyGroupForUser_Response {
optional uint64 family_groupid = 1;
optional bool is_not_member_of_any_group = 2;
optional uint32 latest_time_joined = 3;
optional uint64 latest_joined_family_groupid = 4;
repeated .FamilyGroupPendingInviteForUser pending_group_invites = 5;
optional uint32 role = 6;
optional uint32 cooldown_seconds_remaining = 7;
optional .CFamilyGroups_GetFamilyGroup_Response family_group = 8;
optional bool can_undelete_last_joined_family = 9;
}
message CFamilyGroups_GetInviteCheckResults_Request {
optional uint64 family_groupid = 1;
optional fixed64 steamid = 2;
}
message CFamilyGroups_GetInviteCheckResults_Response {
optional bool wallet_country_matches = 1;
optional bool ip_match = 2;
optional uint32 join_restriction = 3;
}
message CFamilyGroups_GetPlaytimeSummary_Request {
optional fixed64 family_groupid = 1;
}
message CFamilyGroups_GetPlaytimeSummary_Response {
repeated .CFamilyGroups_PlaytimeEntry entries = 1;
repeated .CFamilyGroups_PlaytimeEntry entries_by_owner = 2;
}
message CFamilyGroups_GetPreferredLenders_Request {
optional uint64 family_groupid = 1;
}
message CFamilyGroups_GetPreferredLenders_Response {
repeated .CFamilyGroups_GetPreferredLenders_Response_FamilyMember members = 1;
}
message CFamilyGroups_GetPreferredLenders_Response_FamilyMember {
optional fixed64 steamid = 1;
repeated uint32 preferred_appids = 2;
}
message CFamilyGroups_GetPurchaseRequests_Request {
optional uint64 family_groupid = 1;
repeated uint64 request_ids = 3;
optional uint32 rt_include_completed_since = 4;
}
message CFamilyGroups_GetPurchaseRequests_Response {
repeated .PurchaseRequest requests = 1;
}
message CFamilyGroups_GetSharedLibraryApps_Request {
optional fixed64 family_groupid = 1;
optional bool include_own = 2;
optional bool include_excluded = 3;
optional string language = 5;
optional uint32 max_apps = 6;
optional bool include_non_games = 7;
optional fixed64 steamid = 8;
}
message CFamilyGroups_GetSharedLibraryApps_Response {
repeated .CFamilyGroups_GetSharedLibraryApps_Response_SharedApp apps = 1;
optional fixed64 owner_steamid = 2;
}
message CFamilyGroups_GetSharedLibraryApps_Response_SharedApp {
optional uint32 appid = 1;
repeated fixed64 owner_steamids = 2;
optional string name = 6;
optional string sort_as = 7;
optional string capsule_filename = 8;
optional string img_icon_hash = 9;
optional int32 exclude_reason = 10 [default = 0, (.description) = "enum"];
optional uint32 rt_time_acquired = 11;
optional uint32 rt_last_played = 12;
optional uint32 rt_playtime = 13;
optional int32 app_type = 14 [default = 1, (.description) = "enum"];
repeated uint32 content_descriptors = 15;
}
message CFamilyGroups_GetUsersSharingDevice_Request {
optional uint64 family_groupid = 1;
optional uint64 client_instance_id = 2;
}
message CFamilyGroups_GetUsersSharingDevice_Response {
repeated fixed64 users = 1;
}
message CFamilyGroups_InviteToFamilyGroup_Request {
optional uint64 family_groupid = 1;
optional fixed64 receiver_steamid = 2;
optional int32 receiver_role = 3 [(.description) = "enum"];
}
message CFamilyGroups_InviteToFamilyGroup_Response {
optional uint64 invite_id = 1;
optional int32 two_factor_method = 2 [(.description) = "enum"];
}
message CFamilyGroups_JoinFamilyGroup_Request {
optional uint64 family_groupid = 1;
optional uint64 nonce = 2;
}
message CFamilyGroups_JoinFamilyGroup_Response {
optional int32 two_factor_method = 2 [(.description) = "enum"];
optional bool cooldown_skip_granted = 3;
optional bool invite_already_accepted = 4;
}
message CFamilyGroups_ModifyFamilyGroupDetails_Request {
optional uint64 family_groupid = 1;
optional string name = 2;
}
message CFamilyGroups_ModifyFamilyGroupDetails_Response {
}
message CFamilyGroups_PlaytimeEntry {
optional fixed64 steamid = 1;
optional uint32 appid = 2;
optional uint32 first_played = 3;
optional uint32 latest_played = 4;
optional uint32 seconds_played = 5;
}
message CFamilyGroups_RemoveFromFamilyGroup_Request {
optional uint64 family_groupid = 1;
optional fixed64 steamid_to_remove = 2;
}
message CFamilyGroups_RemoveFromFamilyGroup_Response {
}
message CFamilyGroups_RequestPurchase_Request {
optional uint64 family_groupid = 1;
optional uint64 gidshoppingcart = 2;
optional string store_country_code = 3;
optional bool use_account_cart = 4;
}
message CFamilyGroups_RequestPurchase_Response {
optional uint64 gidshoppingcart = 1;
optional uint64 request_id = 2;
}
message CFamilyGroups_ResendInvitationToFamilyGroup_Request {
optional uint64 family_groupid = 1;
optional uint64 steamid = 2;
}
message CFamilyGroups_ResendInvitationToFamilyGroup_Response {
}
message CFamilyGroups_RespondToRequestedPurchase_Request {
optional uint64 family_groupid = 1;
optional int32 action = 3 [(.description) = "enum"];
optional uint64 request_id = 4;
}
message CFamilyGroups_RespondToRequestedPurchase_Response {
}
message CFamilyGroups_SetFamilyCooldownOverrides_Request {
optional uint64 family_groupid = 1;
optional uint32 cooldown_count = 2;
}
message CFamilyGroups_SetFamilyCooldownOverrides_Response {
}
message CFamilyGroups_SetPreferredLender_Request {
optional uint64 family_groupid = 1;
optional uint32 appid = 2;
optional fixed64 lender_steamid = 3;
}
message CFamilyGroups_SetPreferredLender_Response {
}
message CFamilyGroups_UndeleteFamilyGroup_Request {
optional uint64 family_groupid = 1;
}
message CFamilyGroups_UndeleteFamilyGroup_Response {
}
message CFamilyGroupsClient_GroupChanged_Notification {
optional uint64 family_groupid = 1;
}
message CFamilyGroupsClient_InviteStatus_Notification {
}
message CFamilyGroupsClient_NotifyRunningApps_Notification {
optional uint64 family_groupid = 1;
repeated .CFamilyGroupsClient_NotifyRunningApps_Notification_RunningApp running_apps = 2;
}
message CFamilyGroupsClient_NotifyRunningApps_Notification_PlayingMember {
optional fixed64 member_steamid = 1;
optional fixed64 owner_steamid = 2;
}
message CFamilyGroupsClient_NotifyRunningApps_Notification_RunningApp {
optional uint32 appid = 1;
repeated .CFamilyGroupsClient_NotifyRunningApps_Notification_PlayingMember playing_members = 3;
}
message FamilyGroupFormerMember {
optional fixed64 steamid = 1;
}
message FamilyGroupMember {
optional fixed64 steamid = 1;
optional int32 role = 2 [(.description) = "enum"];
optional uint32 time_joined = 3;
optional uint32 cooldown_seconds_remaining = 4;
}
message FamilyGroupPendingInvite {
optional fixed64 steamid = 1;
optional int32 role = 2 [(.description) = "enum"];
}
message FamilyGroupPendingInviteForUser {
optional uint64 family_groupid = 1;
optional int32 role = 2 [(.description) = "enum"];
optional fixed64 inviter_steamid = 3;
optional bool awaiting_2fa = 4;
}
message PurchaseRequest {
optional fixed64 requester_steamid = 1;
optional uint64 gidshoppingcart = 2;
optional uint32 time_requested = 3;
optional uint32 time_responded = 4;
optional fixed64 responder_steamid = 5;
optional int32 response_action = 6 [(.description) = "enum"];
optional bool is_completed = 7;
optional uint64 request_id = 8;
repeated uint32 requested_packageids = 9;
repeated uint32 purchased_packageids = 10;
repeated uint32 requested_bundleids = 11;
repeated uint32 purchased_bundleids = 12;
}
service FamilyGroups {
rpc CancelFamilyGroupInvite (.CFamilyGroups_CancelFamilyGroupInvite_Request) returns (.CFamilyGroups_CancelFamilyGroupInvite_Response);
rpc ClearCooldownSkip (.CFamilyGroups_ClearCooldownSkip_Request) returns (.CFamilyGroups_ClearCooldownSkip_Response);
rpc ConfirmInviteToFamilyGroup (.CFamilyGroups_ConfirmInviteToFamilyGroup_Request) returns (.CFamilyGroups_ConfirmInviteToFamilyGroup_Response);
rpc ConfirmJoinFamilyGroup (.CFamilyGroups_ConfirmJoinFamilyGroup_Request) returns (.CFamilyGroups_ConfirmJoinFamilyGroup_Response);
rpc CreateFamilyGroup (.CFamilyGroups_CreateFamilyGroup_Request) returns (.CFamilyGroups_CreateFamilyGroup_Response);
rpc DeleteFamilyGroup (.CFamilyGroups_DeleteFamilyGroup_Request) returns (.CFamilyGroups_DeleteFamilyGroup_Response);
rpc ForceAcceptInvite (.CFamilyGroups_ForceAcceptInvite_Request) returns (.CFamilyGroups_ForceAcceptInvite_Response);
rpc GetChangeLog (.CFamilyGroups_GetChangeLog_Request) returns (.CFamilyGroups_GetChangeLog_Response);
rpc GetFamilyGroup (.CFamilyGroups_GetFamilyGroup_Request) returns (.CFamilyGroups_GetFamilyGroup_Response);
rpc GetFamilyGroupForUser (.CFamilyGroups_GetFamilyGroupForUser_Request) returns (.CFamilyGroups_GetFamilyGroupForUser_Response);
rpc GetInviteCheckResults (.CFamilyGroups_GetInviteCheckResults_Request) returns (.CFamilyGroups_GetInviteCheckResults_Response);
rpc GetPlaytimeSummary (.CFamilyGroups_GetPlaytimeSummary_Request) returns (.CFamilyGroups_GetPlaytimeSummary_Response);
rpc GetPreferredLenders (.CFamilyGroups_GetPreferredLenders_Request) returns (.CFamilyGroups_GetPreferredLenders_Response);
rpc GetPurchaseRequests (.CFamilyGroups_GetPurchaseRequests_Request) returns (.CFamilyGroups_GetPurchaseRequests_Response);
rpc GetSharedLibraryApps (.CFamilyGroups_GetSharedLibraryApps_Request) returns (.CFamilyGroups_GetSharedLibraryApps_Response);
rpc GetUsersSharingDevice (.CFamilyGroups_GetUsersSharingDevice_Request) returns (.CFamilyGroups_GetUsersSharingDevice_Response);
rpc InviteToFamilyGroup (.CFamilyGroups_InviteToFamilyGroup_Request) returns (.CFamilyGroups_InviteToFamilyGroup_Response);
rpc JoinFamilyGroup (.CFamilyGroups_JoinFamilyGroup_Request) returns (.CFamilyGroups_JoinFamilyGroup_Response);
rpc ModifyFamilyGroupDetails (.CFamilyGroups_ModifyFamilyGroupDetails_Request) returns (.CFamilyGroups_ModifyFamilyGroupDetails_Response);
rpc RemoveFromFamilyGroup (.CFamilyGroups_RemoveFromFamilyGroup_Request) returns (.CFamilyGroups_RemoveFromFamilyGroup_Response);
rpc RequestPurchase (.CFamilyGroups_RequestPurchase_Request) returns (.CFamilyGroups_RequestPurchase_Response);
rpc ResendInvitationToFamilyGroup (.CFamilyGroups_ResendInvitationToFamilyGroup_Request) returns (.CFamilyGroups_ResendInvitationToFamilyGroup_Response);
rpc RespondToRequestedPurchase (.CFamilyGroups_RespondToRequestedPurchase_Request) returns (.CFamilyGroups_RespondToRequestedPurchase_Response);
rpc SetFamilyCooldownOverrides (.CFamilyGroups_SetFamilyCooldownOverrides_Request) returns (.CFamilyGroups_SetFamilyCooldownOverrides_Response);
rpc SetPreferredLender (.CFamilyGroups_SetPreferredLender_Request) returns (.CFamilyGroups_SetPreferredLender_Response);
rpc UndeleteFamilyGroup (.CFamilyGroups_UndeleteFamilyGroup_Request) returns (.CFamilyGroups_UndeleteFamilyGroup_Response);
}
service FamilyGroupsClient {
rpc NotifyGroupChanged (.CFamilyGroupsClient_GroupChanged_Notification) returns (.NoResponse);
rpc NotifyInviteStatus (.CFamilyGroupsClient_InviteStatus_Notification) returns (.NoResponse);
rpc NotifyRunningApps (.CFamilyGroupsClient_NotifyRunningApps_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,15 @@
message CFovasVideo_ClientGetOPFSettings_Request {
optional uint32 app_id = 1;
optional uint32 client_cellid = 2;
}
message CFovasVideo_ClientGetOPFSettings_Response {
optional uint32 app_id = 1;
optional string opf_settings = 2;
}
service FovasVideo {
rpc ClientGetOPFSettings (.CFovasVideo_ClientGetOPFSettings_Request) returns (.CFovasVideo_ClientGetOPFSettings_Response);
}

View File

@@ -0,0 +1,133 @@
import "common_base.proto";
message CFriendMessages_AckMessage_Notification {
optional fixed64 steamid_partner = 1;
optional uint32 timestamp = 2;
}
message CFriendMessages_GetRecentMessages_Request {
optional fixed64 steamid1 = 1;
optional fixed64 steamid2 = 2;
optional uint32 count = 3;
optional bool most_recent_conversation = 4;
optional fixed32 rtime32_start_time = 5;
optional bool bbcode_format = 6;
optional uint32 start_ordinal = 7;
optional uint32 time_last = 8;
optional uint32 ordinal_last = 9;
}
message CFriendMessages_GetRecentMessages_Response {
repeated .CFriendMessages_GetRecentMessages_Response_FriendMessage messages = 1;
optional bool more_available = 4;
}
message CFriendMessages_GetRecentMessages_Response_FriendMessage {
optional uint32 accountid = 1;
optional uint32 timestamp = 2;
optional string message = 3;
optional uint32 ordinal = 4;
repeated .CFriendMessages_GetRecentMessages_Response_FriendMessage_MessageReaction reactions = 5;
}
message CFriendMessages_GetRecentMessages_Response_FriendMessage_MessageReaction {
optional int32 reaction_type = 1 [(.description) = "enum"];
optional string reaction = 2;
repeated uint32 reactors = 3;
}
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;
}
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_MessageReaction_Notification {
optional fixed64 steamid_friend = 1;
optional uint32 server_timestamp = 2;
optional uint32 ordinal = 3;
optional fixed64 reactor = 4;
optional int32 reaction_type = 5 [(.description) = "enum"];
optional string reaction = 6;
optional bool is_add = 7;
}
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;
optional bool override_limits = 7;
optional string client_message_id = 8;
optional bool blocked_in_china = 9;
}
message CFriendMessages_SendMessage_Response {
optional string modified_message = 1;
optional uint32 server_timestamp = 2;
optional uint32 ordinal = 3;
optional string message_without_bb_code = 4;
}
message CFriendMessages_UpdateMessageReaction_Request {
optional fixed64 steamid = 1;
optional uint32 server_timestamp = 2;
optional uint32 ordinal = 3;
optional int32 reaction_type = 4 [(.description) = "enum"];
optional string reaction = 5;
optional bool is_add = 6;
}
message CFriendMessages_UpdateMessageReaction_Response {
repeated uint32 reactors = 1;
}
message CFriendsMessages_GetActiveMessageSessions_Request {
optional uint32 lastmessage_since = 1;
optional bool only_sessions_with_messages = 2;
}
message CFriendsMessages_GetActiveMessageSessions_Response {
repeated .CFriendsMessages_GetActiveMessageSessions_Response_FriendMessageSession message_sessions = 1;
optional uint32 timestamp = 2;
}
message CFriendsMessages_GetActiveMessageSessions_Response_FriendMessageSession {
optional uint32 accountid_friend = 1;
optional uint32 last_message = 2;
optional uint32 last_view = 3;
optional uint32 unread_message_count = 4;
}
service FriendMessages {
rpc AckMessage (.CFriendMessages_AckMessage_Notification) returns (.NoResponse);
rpc GetActiveMessageSessions (.CFriendsMessages_GetActiveMessageSessions_Request) returns (.CFriendsMessages_GetActiveMessageSessions_Response);
rpc GetRecentMessages (.CFriendMessages_GetRecentMessages_Request) returns (.CFriendMessages_GetRecentMessages_Response);
rpc IsInFriendsUIBeta (.CFriendMessages_IsInFriendsUIBeta_Request) returns (.CFriendMessages_IsInFriendsUIBeta_Response);
rpc SendMessage (.CFriendMessages_SendMessage_Request) returns (.CFriendMessages_SendMessage_Response);
rpc UpdateMessageReaction (.CFriendMessages_UpdateMessageReaction_Request) returns (.CFriendMessages_UpdateMessageReaction_Response);
}
service FriendMessagesClient {
rpc IncomingMessage (.CFriendMessages_IncomingMessage_Notification) returns (.NoResponse);
rpc MessageReaction (.CFriendMessages_MessageReaction_Notification) returns (.NoResponse);
rpc NotifyAckMessageEcho (.CFriendMessages_AckMessage_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,70 @@
import "common_base.proto";
message CFriendsList_FavoritesChanged_Notification {
repeated .CFriendsListFavoriteEntry favorites = 1;
}
message CFriendsList_GetCategories_Request {
}
message CFriendsList_GetCategories_Response {
repeated .CFriendsListCategory categories = 1;
}
message CFriendsList_GetFavorites_Request {
}
message CFriendsList_GetFavorites_Response {
repeated .CFriendsListFavoriteEntry favorites = 1;
}
message CFriendsList_GetFriendsList_Request {
}
message CFriendsList_GetFriendsList_Response {
optional .CMsgClientFriendsList friendslist = 1;
}
message CFriendsList_SetFavorites_Request {
repeated .CFriendsListFavoriteEntry favorites = 1;
}
message CFriendsList_SetFavorites_Response {
}
message CFriendsListCategory {
optional uint32 groupid = 1;
optional string name = 2;
repeated uint32 accountid_members = 3;
}
message CFriendsListFavoriteEntry {
optional uint32 accountid = 1;
optional uint32 clanid = 2;
optional uint64 chat_group_id = 3;
}
message CMsgClientFriendsList {
optional bool bincremental = 1;
repeated .CMsgClientFriendsList_Friend friends = 2;
optional uint32 max_friend_count = 3;
optional uint32 active_friend_count = 4;
optional bool friends_limit_hit = 5;
}
message CMsgClientFriendsList_Friend {
optional fixed64 ulfriendid = 1;
optional uint32 efriendrelationship = 2;
}
service FriendsList {
rpc GetCategories (.CFriendsList_GetCategories_Request) returns (.CFriendsList_GetCategories_Response);
rpc GetFavorites (.CFriendsList_GetFavorites_Request) returns (.CFriendsList_GetFavorites_Response);
rpc GetFriendsList (.CFriendsList_GetFriendsList_Request) returns (.CFriendsList_GetFriendsList_Response);
rpc SetFavorites (.CFriendsList_SetFavorites_Request) returns (.CFriendsList_SetFavorites_Response);
}
service FriendsListClient {
rpc FavoritesChanged (.CFriendsList_FavoritesChanged_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,15 @@
message CGameNotes_UploadImage_Request {
optional string file_prefix = 1;
optional string mime_type = 2;
optional bytes data = 3;
}
message CGameNotes_UploadImage_Response {
optional string filename = 1;
}
service GameNotes {
rpc UploadImage (.CGameNotes_UploadImage_Request) returns (.CGameNotes_UploadImage_Response);
}

View File

@@ -0,0 +1,538 @@
import "common_base.proto";
message CGameRecording_CleanupBackgroundRecordings_Request {
}
message CGameRecording_CleanupBackgroundRecordings_Response {
}
message CGameRecording_ClipCreated_Notification {
optional .CGameRecording_ClipSummary summary = 1;
}
message CGameRecording_ClipDeleted_Notification {
optional string clip_id = 1;
optional uint64 game_id = 2;
}
message CGameRecording_ClipSummary {
optional string clip_id = 1;
optional uint64 game_id = 2;
optional uint64 duration_ms = 3;
optional uint32 date_recorded = 4;
optional string start_timeline_id = 5;
optional uint64 start_offset_ms = 6;
optional uint64 published_file_id = 7;
optional uint64 file_size = 8;
optional string name = 9;
optional uint32 date_clipped = 10;
optional bool temporary = 11;
optional string original_device = 12;
optional uint32 original_gaming_device_type = 13;
optional uint32 date_downloaded = 14;
optional string thumbnail_url = 15;
optional uint32 thumbnail_width = 16;
optional uint32 thumbnail_height = 17;
}
message CGameRecording_DeleteClip_Request {
optional string clip_id = 1;
}
message CGameRecording_DeleteClip_Response {
}
message CGameRecording_DeletePerGameSettings_Request {
optional fixed64 gameid = 1;
}
message CGameRecording_DeletePerGameSettings_Response {
}
message CGameRecording_ExportClip_Request {
optional string clip_id = 1;
optional string export_mp4_path = 2;
optional .CGameRecording_ExportClip_Settings settings = 3;
}
message CGameRecording_ExportClip_Response {
}
message CGameRecording_ExportClip_Settings {
optional int32 bitrate_kbps = 1;
optional int32 width = 2;
optional int32 height = 3;
optional int32 frames_per_second = 4;
}
message CGameRecording_ExportProgress_Notification {
optional float progress = 1;
optional string clip_id = 2;
optional int32 eresult = 3;
}
message CGameRecording_GetActiveTimelineApps_Request {
}
message CGameRecording_GetActiveTimelineApps_Response {
repeated .CGameRecording_GetActiveTimelineApps_Response_App apps = 1;
}
message CGameRecording_GetActiveTimelineApps_Response_App {
optional uint64 game_id = 1;
optional uint32 most_recent_start_time = 2;
optional int32 recording_type = 3 [(.description) = "enum"];
optional double video_duration_seconds = 4;
optional double timeline_duration_seconds = 5;
optional bool is_active = 6;
optional uint64 file_size = 7;
}
message CGameRecording_GetAndTrimPostGameHighlights_Request {
optional uint64 game_id = 1;
optional uint32 created_after = 2;
}
message CGameRecording_GetAndTrimPostGameHighlights_Response {
repeated .CGameRecordingTimelineEvent events = 1;
}
message CGameRecording_GetAvailableDiskSpace_Request {
}
message CGameRecording_GetAvailableDiskSpace_Response {
optional double size = 1;
}
message CGameRecording_GetClips_Request {
optional uint64 game_id = 1;
optional uint32 created_after = 2;
optional bool include_temporary = 3;
}
message CGameRecording_GetClips_Response {
repeated .CGameRecording_ClipSummary clip = 1;
}
message CGameRecording_GetEnoughDiskSpace_Request {
}
message CGameRecording_GetEnoughDiskSpace_Response {
optional bool enough_space = 1;
}
message CGameRecording_GetPerGameSettings_Request {
}
message CGameRecording_GetPerGameSettings_Response {
repeated .CGameRecording_PerGameSettings settings = 1;
}
message CGameRecording_GetPlatformCapabilities_Request {
}
message CGameRecording_GetPlatformCapabilities_Response {
optional bool per_process_audio_capture = 1;
}
message CGameRecording_GetRecordingSize_Request {
optional uint64 game_id = 1;
}
message CGameRecording_GetRecordingSize_Response {
optional uint64 file_size = 1;
}
message CGameRecording_GetTags_Request {
optional uint64 game_id = 1;
}
message CGameRecording_GetTags_Response {
repeated .CTimelineTag tags = 1;
}
message CGameRecording_GetThumbnails_Request {
optional string recording_id = 1;
optional string clip_id = 3;
repeated int64 start_offset_us = 4;
optional uint32 major_axis = 5 [default = 512];
optional int32 time_precision = 6 [default = 0, (.description) = "enum"];
optional string timeline_id = 7;
optional int32 format = 8 [default = 1, (.description) = "enum"];
}
message CGameRecording_GetThumbnails_Response {
repeated .CGameRecording_GetThumbnails_Response_Thumbnail thumbnails = 1;
}
message CGameRecording_GetThumbnails_Response_Thumbnail {
optional bytes image_data = 1;
optional uint32 width = 2;
optional uint32 height = 3;
}
message CGameRecording_GetTimelinesForApp_Request {
optional uint64 game_id = 1;
}
message CGameRecording_GetTimelinesForApp_Response {
repeated .CGameRecordingTimelineMetadata timelines = 1;
}
message CGameRecording_GetTimelinesForClip_Request {
optional string clip_id = 1;
}
message CGameRecording_GetTimelinesForClip_Response {
optional uint64 game_id = 1;
repeated .CGameRecordingTimelineMetadata timelines = 2;
optional uint64 first_timeline_start_offset_ms = 3;
}
message CGameRecording_GetTotalDiskSpaceUsage_Request {
optional string folder_path = 1;
optional int32 type = 2 [(.description) = "enum"];
}
message CGameRecording_GetTotalDiskSpaceUsage_Response {
optional uint64 size = 1;
}
message CGameRecording_LowDiskSpace_Notification {
}
message CGameRecording_ManuallyDeleteRecordingsForApps_Request {
repeated uint64 game_ids = 1;
}
message CGameRecording_ManuallyDeleteRecordingsForApps_Response {
}
message CGameRecording_OpenOverlayToGamePhase_Notification {
optional uint64 game_id = 1;
optional string phase_id = 2;
}
message CGameRecording_OpenOverlayToTimelineEvent_Notification {
optional uint64 game_id = 1;
optional uint64 entry_id = 2;
}
message CGameRecording_PerGameSettings {
optional fixed64 gameid = 1;
optional bool enabled = 2;
optional int32 minutes = 3;
optional int32 bitrate = 4;
}
message CGameRecording_PhaseListChanged_Notification {
}
message CGameRecording_PostGameHighlightsChanged_Notification {
optional uint64 game_id = 1;
}
message CGameRecording_QueryPhases_Request {
optional uint32 page = 1;
optional uint32 count = 2;
optional uint64 filter_gameid = 10;
optional string filter_search_string = 11;
repeated .CGameRecording_QueryPhases_Request_Tag filter_tags = 12;
optional string filter_phase_id = 13;
}
message CGameRecording_QueryPhases_Request_Tag {
optional string group = 1;
optional string name = 2;
}
message CGameRecording_QueryPhases_Response {
repeated .CGameRecording_QueryPhases_Response_Phase phases = 1;
optional uint32 total_count = 2;
}
message CGameRecording_QueryPhases_Response_Phase {
optional uint64 game_id = 1;
optional uint32 date_recorded = 5;
optional uint64 duration_ms = 6;
repeated .CTimelineTag tags = 7;
repeated .CTimelineTag contained_tags = 8;
optional .CGameRecording_QueryPhases_Response_Phase_BackgroundRecording background_recording = 9;
repeated string clip_ids = 10;
optional int32 type = 11 [(.description) = "enum"];
optional uint64 start_ms = 12;
repeated uint32 screenshots = 13;
optional bool active = 14;
optional string phase_id = 15;
repeated .CTimelineEntry significant_events = 16;
repeated .CPhaseAttribute attributes = 17;
}
message CGameRecording_QueryPhases_Response_Phase_BackgroundRecording {
optional string timeline_id = 1;
optional uint64 offset = 2;
optional uint64 duration_ms = 3;
}
message CGameRecording_RecordingSessionChanged_Notification {
optional int32 notification_type = 1 [(.description) = "enum"];
optional string timeline_id = 2;
optional uint64 game_id = 4;
optional string session_id = 5;
optional uint64 start_offset = 6;
optional uint64 duration_ms = 7;
optional int32 recording_type = 8 [(.description) = "enum"];
}
message CGameRecording_SaveClip_Request {
optional uint64 game_id = 1;
optional .CGameRecording_SaveClip_Request_Position start = 2;
optional .CGameRecording_SaveClip_Request_Position end = 3;
optional string name = 4;
optional string src_clip_id = 5;
optional bool temporary = 6;
}
message CGameRecording_SaveClip_Request_Position {
optional string timeline_id = 1;
optional uint64 offset_ms = 2;
}
message CGameRecording_SaveClip_Response {
optional .CGameRecording_ClipSummary summary = 1;
}
message CGameRecording_SetPerGameSettings_Request {
optional .CGameRecording_PerGameSettings game_settings = 1;
}
message CGameRecording_SetPerGameSettings_Response {
}
message CGameRecording_StartRecording_Request {
optional uint64 game_id = 1;
}
message CGameRecording_StartRecording_Response {
}
message CGameRecording_StopRecording_Request {
optional uint64 game_id = 1;
}
message CGameRecording_StopRecording_Response {
optional .CGameRecording_ClipSummary summary = 1;
}
message CGameRecording_SwitchBackgroundRecordingGame_Request {
optional uint64 game_id = 1;
}
message CGameRecording_SwitchBackgroundRecordingGame_Response {
}
message CGameRecording_TakeScreenshot_Request {
optional fixed64 game_id = 1;
optional string timeline_id = 2;
optional uint64 timeline_offset_ms = 3;
}
message CGameRecording_TakeScreenshot_Response {
optional fixed64 screenshot_id = 1;
}
message CGameRecording_TimelineChanged_Notification {
optional int32 notification_type = 1 [(.description) = "enum"];
optional string timeline_id = 2;
optional uint64 game_id = 3;
optional uint32 start_time = 4;
optional uint64 duration_ms = 5;
}
message CGameRecording_TimelineEntryChanged_Notification {
optional .CTimelineEntry entry = 1;
optional fixed64 game_id = 2;
}
message CGameRecording_UploadClipToSteam_Request {
optional string clip_id = 1;
optional string title = 2;
optional string desc = 3;
optional int32 visibility = 4;
}
message CGameRecording_UploadClipToSteam_Response {
optional .CGameRecording_ClipSummary summary = 1;
}
message CGameRecording_UploadProgress_Notification {
optional float progress = 1;
optional string clip_id = 2;
optional int32 eresult = 3;
}
message CGameRecording_UserAddTimelineEntry_Request {
optional uint64 game_id = 1;
optional .CTimelineEntry entry = 2;
optional string clip_id = 3;
}
message CGameRecording_UserAddTimelineEntry_Response {
optional uint64 entry_id = 1;
}
message CGameRecording_UserRemoveTimelineEntry_Request {
optional uint64 game_id = 1;
optional string timeline_id = 2;
optional uint64 entry_id = 3;
optional string clip_id = 4;
}
message CGameRecording_UserRemoveTimelineEntry_Response {
}
message CGameRecording_UserUpdateTimelineEntry_Request {
optional uint64 game_id = 1;
optional .CTimelineEntry entry = 2;
optional string clip_id = 3;
}
message CGameRecording_UserUpdateTimelineEntry_Response {
}
message CGameRecording_ZipClip_Request {
optional string clip_id = 1;
}
message CGameRecording_ZipClip_Response {
optional string zip_path = 1;
}
message CGameRecordingPhase {
optional string phase_id = 4;
optional uint64 duration_ms = 5;
repeated .CGameRecordingPhase_Tag tags = 6;
repeated .CGameRecordingPhase_Tag contained_tags = 7;
optional uint64 background_timeline_offset = 8;
repeated .CPhaseAttribute attributes = 9;
}
message CGameRecordingPhase_Tag {
optional string name = 1;
optional string group = 2;
}
message CGameRecordingTimelineEvent {
optional uint64 game_id = 1;
optional uint32 rt_created = 2;
optional int32 possible_clip = 3;
optional string timeline_id = 4;
optional uint64 entry_id = 5;
optional uint64 timeline_offset_ms = 6;
optional uint64 duration_ms = 7;
optional string marker_icon = 8;
optional string marker_title = 9;
optional bool user_marker = 10;
}
message CGameRecordingTimelineMetadata {
optional string timeline_id = 1;
optional uint64 game_id = 2;
optional uint32 date_recorded = 3;
optional uint64 duration_ms = 4;
repeated .CGameRecordingTimelineMetadata_Recording recordings = 5;
repeated .CGameRecordingPhase phases = 6;
repeated .CGameRecordingTimelineEvent significant_events = 7;
}
message CGameRecordingTimelineMetadata_Recording {
optional string recording_id = 1;
optional uint64 start_offset_ms = 2;
optional uint64 duration_ms = 3;
optional int32 recording_type = 4 [(.description) = "enum"];
optional bool delete_on_cleanup = 5;
optional uint64 video_manager_clip_id = 6;
optional uint64 video_manager_video_id = 7;
optional string cdn_manifest_url = 8;
optional uint64 file_size = 9;
optional uint64 recording_zero_timeline_offset_ms = 10;
}
message CPhaseAttribute {
optional string group = 1;
optional string value = 2;
optional uint32 priority = 3;
}
message CTimelineEntry {
optional string timeline_id = 1;
optional uint64 entry_id = 2;
optional uint64 time = 3;
optional int32 type = 4 [(.description) = "enum"];
optional int32 game_mode = 5;
optional string range_title = 7;
optional uint64 range_duration = 8;
optional int32 range_possible_clip = 9;
optional string timestamp_title = 10;
optional string marker_icon = 11;
optional string marker_description = 13;
optional int32 marker_priority = 14;
optional uint32 screenshot_handle = 15;
optional string achievement_name = 16;
repeated .CTimelineTag tag = 17;
optional string phase_id = 18;
repeated .CPhaseAttribute attributes = 19;
}
message CTimelineTag {
optional string name = 1;
optional string group = 2;
optional string icon = 3;
optional uint32 priority = 4;
}
service GameRecording {
rpc CleanupBackgroundRecordings (.CGameRecording_CleanupBackgroundRecordings_Request) returns (.CGameRecording_CleanupBackgroundRecordings_Response);
rpc DeleteClip (.CGameRecording_DeleteClip_Request) returns (.CGameRecording_DeleteClip_Response);
rpc DeletePerGameSettings (.CGameRecording_DeletePerGameSettings_Request) returns (.CGameRecording_DeletePerGameSettings_Response);
rpc ExportClip (.CGameRecording_ExportClip_Request) returns (.CGameRecording_ExportClip_Response);
rpc GetActiveTimelineApps (.CGameRecording_GetActiveTimelineApps_Request) returns (.CGameRecording_GetActiveTimelineApps_Response);
rpc GetAndTrimPostGameHighlights (.CGameRecording_GetAndTrimPostGameHighlights_Request) returns (.CGameRecording_GetAndTrimPostGameHighlights_Response);
rpc GetAvailableDiskSpace (.CGameRecording_GetAvailableDiskSpace_Request) returns (.CGameRecording_GetAvailableDiskSpace_Response);
rpc GetBackgroundRecordingFileSize (.CGameRecording_GetRecordingSize_Request) returns (.CGameRecording_GetRecordingSize_Response);
rpc GetClips (.CGameRecording_GetClips_Request) returns (.CGameRecording_GetClips_Response);
rpc GetEnoughDiskSpace (.CGameRecording_GetEnoughDiskSpace_Request) returns (.CGameRecording_GetEnoughDiskSpace_Response);
rpc GetPerGameSettings (.CGameRecording_GetPerGameSettings_Request) returns (.CGameRecording_GetPerGameSettings_Response);
rpc GetPlatformCapabilities (.CGameRecording_GetPlatformCapabilities_Request) returns (.CGameRecording_GetPlatformCapabilities_Response);
rpc GetTags (.CGameRecording_GetTags_Request) returns (.CGameRecording_GetTags_Response);
rpc GetThumbnails (.CGameRecording_GetThumbnails_Request) returns (.CGameRecording_GetThumbnails_Response);
rpc GetTimelinesForApp (.CGameRecording_GetTimelinesForApp_Request) returns (.CGameRecording_GetTimelinesForApp_Response);
rpc GetTimelinesForClip (.CGameRecording_GetTimelinesForClip_Request) returns (.CGameRecording_GetTimelinesForClip_Response);
rpc GetTotalDiskSpaceUsage (.CGameRecording_GetTotalDiskSpaceUsage_Request) returns (.CGameRecording_GetTotalDiskSpaceUsage_Response);
rpc ManuallyDeleteRecordingsForApps (.CGameRecording_ManuallyDeleteRecordingsForApps_Request) returns (.CGameRecording_ManuallyDeleteRecordingsForApps_Response);
rpc NotifyClipCreated (.CGameRecording_ClipCreated_Notification) returns (.NoResponse);
rpc NotifyClipDeleted (.CGameRecording_ClipDeleted_Notification) returns (.NoResponse);
rpc NotifyExportProgress (.CGameRecording_ExportProgress_Notification) returns (.NoResponse);
rpc NotifyLowDiskSpace (.CGameRecording_LowDiskSpace_Notification) returns (.NoResponse);
rpc NotifyOpenOverlayToGamePhase (.CGameRecording_OpenOverlayToGamePhase_Notification) returns (.NoResponse);
rpc NotifyOpenOverlayToTimelineEvent (.CGameRecording_OpenOverlayToTimelineEvent_Notification) returns (.NoResponse);
rpc NotifyPhaseListChanged (.CGameRecording_PhaseListChanged_Notification) returns (.NoResponse);
rpc NotifyPostGameHighlightsChanged (.CGameRecording_PostGameHighlightsChanged_Notification) returns (.NoResponse);
rpc NotifyRecordingSessionChanged (.CGameRecording_RecordingSessionChanged_Notification) returns (.NoResponse);
rpc NotifyTimelineChanged (.CGameRecording_TimelineChanged_Notification) returns (.NoResponse);
rpc NotifyTimelineEntryChanged (.CGameRecording_TimelineEntryChanged_Notification) returns (.NoResponse);
rpc NotifyUploadProgress (.CGameRecording_UploadProgress_Notification) returns (.NoResponse);
rpc QueryPhases (.CGameRecording_QueryPhases_Request) returns (.CGameRecording_QueryPhases_Response);
rpc SaveClip (.CGameRecording_SaveClip_Request) returns (.CGameRecording_SaveClip_Response);
rpc SetPerGameSettings (.CGameRecording_SetPerGameSettings_Request) returns (.CGameRecording_SetPerGameSettings_Response);
rpc StartRecording (.CGameRecording_StartRecording_Request) returns (.CGameRecording_StartRecording_Response);
rpc StopRecording (.CGameRecording_StopRecording_Request) returns (.CGameRecording_StopRecording_Response);
rpc SwitchBackgroundRecordingGame (.CGameRecording_SwitchBackgroundRecordingGame_Request) returns (.CGameRecording_SwitchBackgroundRecordingGame_Response);
rpc TakeScreenshot (.CGameRecording_TakeScreenshot_Request) returns (.CGameRecording_TakeScreenshot_Response);
rpc UploadClipToSteam (.CGameRecording_UploadClipToSteam_Request) returns (.CGameRecording_UploadClipToSteam_Response);
rpc UserAddTimelineEntry (.CGameRecording_UserAddTimelineEntry_Request) returns (.CGameRecording_UserAddTimelineEntry_Response);
rpc UserRemoveTimelineEntry (.CGameRecording_UserRemoveTimelineEntry_Request) returns (.CGameRecording_UserRemoveTimelineEntry_Response);
rpc UserUpdateTimelineEntry (.CGameRecording_UserUpdateTimelineEntry_Request) returns (.CGameRecording_UserUpdateTimelineEntry_Response);
rpc ZipClip (.CGameRecording_ZipClip_Request) returns (.CGameRecording_ZipClip_Response);
}

View File

@@ -0,0 +1,85 @@
import "common.proto";
message CGameRecording_CreateShareClip_Request {
optional .CGameRecordingClip clip = 2;
repeated .CMsgVideoGameRecordingDef video_def = 3;
}
message CGameRecording_CreateShareClip_Response {
optional .CGameRecordingClip clip = 1;
}
message CGameRecording_DeleteSharedClip_Request {
optional fixed64 clip_id = 2;
}
message CGameRecording_DeleteSharedClip_Response {
}
message CGameRecording_GetSingleSharedClip_Request {
optional fixed64 clip_id = 2;
}
message CGameRecording_GetSingleSharedClip_Response {
optional .CGameRecordingClip clip = 1;
}
message CGameRecordingClip {
optional fixed64 clip_id = 1;
optional uint64 gameid = 2;
optional uint32 date_recorded = 4;
optional uint64 total_file_size_bytes = 7;
repeated .CVideoManagerClipID video_ids = 9;
optional fixed64 owner_steamid = 10;
optional bool upload_complete = 11;
optional uint32 duration_ms = 12;
}
message CMsgVideoGameRecordingComponent {
optional string component_name = 1;
optional uint32 contents = 2;
optional uint32 segment_size = 3;
optional string file_type = 4;
repeated .CMsgVideoGameRecordingRepresentation representations = 5;
}
message CMsgVideoGameRecordingDef {
optional uint64 steamid = 1;
optional uint32 app_id = 2;
optional uint32 num_segments = 3;
optional uint32 length_milliseconds = 4;
optional uint32 segment_duration_timescale = 5;
optional uint32 segment_duration = 6;
repeated .CMsgVideoGameRecordingComponent components = 7;
optional uint32 start_time_ms = 8;
optional uint32 start_offset_in_timeline_ms = 9;
}
message CMsgVideoGameRecordingRepresentation {
optional string representation_name = 2;
optional uint32 horizontal_resolution = 3;
optional uint32 vertical_resolution = 4;
optional double frame_rate = 5;
optional uint32 bandwidth = 6;
optional uint32 audio_sample_rate = 7;
optional string frame_rate_string = 8;
optional string codec = 9;
optional uint32 audio_channel_config = 10;
repeated .CVideo_GameRecordingSegmentInfo segment_info = 11;
}
message CVideoManagerClipID {
optional fixed64 video_manager_clip_id = 1;
optional fixed64 video_manager_video_id = 2;
optional fixed64 server_timeline_id = 3;
optional string manifest_url = 4;
optional uint32 duration_ms = 5;
optional uint32 start_offset_ms = 6;
}
service GameRecordingClip {
rpc CreateShareClip (.CGameRecording_CreateShareClip_Request) returns (.CGameRecording_CreateShareClip_Response);
rpc DeleteSharedClip (.CGameRecording_DeleteSharedClip_Request) returns (.CGameRecording_DeleteSharedClip_Response);
rpc GetSingleSharedClip (.CGameRecording_GetSingleSharedClip_Request) returns (.CGameRecording_GetSingleSharedClip_Response);
}

View File

@@ -0,0 +1,52 @@
message CGameRecordingDebug_AddTimelineHighlightMarker_Request {
optional uint32 appid = 1;
optional string icon = 2;
optional string title = 3;
optional string desc = 4;
}
message CGameRecordingDebug_AddTimelineHighlightMarker_Response {
}
message CGameRecordingDebug_AddTimelineRangeEnd_Request {
optional uint32 appid = 1;
optional string id = 2;
}
message CGameRecordingDebug_AddTimelineRangeEnd_Response {
}
message CGameRecordingDebug_AddTimelineRangeStart_Request {
optional uint32 appid = 1;
optional string id = 2;
optional string title = 3;
}
message CGameRecordingDebug_AddTimelineRangeStart_Response {
}
message CGameRecordingDebug_AddTimelineTimestamp_Request {
optional uint32 appid = 1;
optional string title = 2;
}
message CGameRecordingDebug_AddTimelineTimestamp_Response {
}
message CGameRecordingDebug_SetTimelineGameMode_Request {
optional uint32 appid = 1;
optional uint32 mode = 2;
}
message CGameRecordingDebug_SetTimelineGameMode_Response {
}
service GameRecordingDebug {
rpc AddTimelineHighlightMarker (.CGameRecordingDebug_AddTimelineHighlightMarker_Request) returns (.CGameRecordingDebug_AddTimelineHighlightMarker_Response);
rpc AddTimelineRangeEnd (.CGameRecordingDebug_AddTimelineRangeEnd_Request) returns (.CGameRecordingDebug_AddTimelineRangeEnd_Response);
rpc AddTimelineRangeStart (.CGameRecordingDebug_AddTimelineRangeStart_Request) returns (.CGameRecordingDebug_AddTimelineRangeStart_Response);
rpc AddTimelineTimestamp (.CGameRecordingDebug_AddTimelineTimestamp_Request) returns (.CGameRecordingDebug_AddTimelineTimestamp_Response);
rpc SetTimelineGameMode (.CGameRecordingDebug_SetTimelineGameMode_Request) returns (.CGameRecordingDebug_SetTimelineGameMode_Response);
}

View File

@@ -0,0 +1,58 @@
import "common_base.proto";
message CGamescope_GetState_Request {
}
message CGamescope_GetState_Response {
optional .CMsgGamescopeState state = 1;
}
message CGamescope_ReArmMuraCalibration_Request {
}
message CGamescope_ReArmMuraCalibration_Response {
}
message CGamescope_SetBlurParams_Request {
optional int32 mode = 1 [(.description) = "enum"];
optional int32 radius = 2;
optional int32 fade_duration_ms = 3;
}
message CGamescope_SetBlurParams_Response {
}
message CGamescope_StateChanged_Notification {
}
message CMsgDisplayInfo {
optional string make = 1;
optional string model = 2;
optional string connector_name = 3;
repeated int32 supported_refresh_rates = 4;
repeated int32 supported_frame_rates = 5;
optional bool is_external = 6;
optional bool is_hdr_capable = 7;
optional bool is_vrr_capable = 8;
}
message CMsgGamescopeState {
optional bool is_service_available = 1;
optional bool is_reshade_supported = 2;
optional bool is_app_hdr_enabled = 3;
optional bool is_app_refresh_rate_supported = 4;
optional .CMsgDisplayInfo active_display_info = 5;
optional bool is_app_refresh_rate_capable = 6;
optional bool is_refresh_rate_switching_supported = 7;
optional bool is_refresh_rate_switching_restricted = 8;
optional bool is_hdr_visualization_supported = 9;
optional bool is_mura_correction_supported = 10;
}
service Gamescope {
rpc GetState (.CGamescope_GetState_Request) returns (.CGamescope_GetState_Response);
rpc NotifyStateChanged (.CGamescope_StateChanged_Notification) returns (.NoResponse);
rpc ReArmMuraCalibration (.CGamescope_ReArmMuraCalibration_Request) returns (.CGamescope_ReArmMuraCalibration_Response);
rpc SetBlurParams (.CGamescope_SetBlurParams_Request) returns (.CGamescope_SetBlurParams_Response);
}

View File

@@ -0,0 +1,16 @@
message CHelpRequestLogs_UploadUserApplicationLog_Request {
optional uint32 appid = 1;
optional string log_type = 2;
optional string version_string = 3;
optional string log_contents = 4;
}
message CHelpRequestLogs_UploadUserApplicationLog_Response {
optional uint64 id = 1;
}
service HelpRequestLogs {
rpc UploadUserApplicationLog (.CHelpRequestLogs_UploadUserApplicationLog_Request) returns (.CHelpRequestLogs_UploadUserApplicationLog_Response);
}

View File

@@ -0,0 +1,252 @@
import "common_base.proto";
import "common.proto";
message CLoyaltyRewards_AddReaction_Request {
optional int32 target_type = 1 [(.description) = "enum"];
optional uint64 targetid = 2;
optional uint32 reactionid = 3;
}
message CLoyaltyRewards_AddReaction_Response {
}
message CLoyaltyRewards_BatchedQueryRewardItems_Request {
repeated .CLoyaltyRewards_QueryRewardItems_Request requests = 1;
}
message CLoyaltyRewards_BatchedQueryRewardItems_Response {
repeated .CLoyaltyRewards_BatchedQueryRewardItems_Response_Response responses = 1;
}
message CLoyaltyRewards_BatchedQueryRewardItems_Response_Response {
optional int32 eresult = 1;
optional .CLoyaltyRewards_QueryRewardItems_Response response = 2;
}
message CLoyaltyRewards_GetActivePurchaseBonuses_Request {
}
message CLoyaltyRewards_GetActivePurchaseBonuses_Response {
repeated .LoyaltyRewardPurchaseBonus bonuses = 1;
}
message CLoyaltyRewards_GetEligibleApps_Request {
}
message CLoyaltyRewards_GetEligibleApps_Response {
repeated .CLoyaltyRewards_GetEligibleApps_Response_EligibleApp apps = 1;
}
message CLoyaltyRewards_GetEligibleApps_Response_EligibleApp {
optional uint32 appid = 1;
optional bool has_items_anyone_can_purchase = 2;
optional bool event_app = 3;
optional string hero_carousel_image = 4;
}
message CLoyaltyRewards_GetEquippedProfileItems_Request {
optional fixed64 steamid = 1;
optional string language = 2;
}
message CLoyaltyRewards_GetEquippedProfileItems_Response {
repeated .LoyaltyRewardDefinition active_definitions = 1;
repeated .LoyaltyRewardDefinition inactive_definitions = 2;
repeated .LoyaltyRewardDefinition bundle_definitions = 3;
}
message CLoyaltyRewards_GetPointsForSpend_Request {
optional int64 amount = 1;
optional uint32 ecurrency = 2;
}
message CLoyaltyRewards_GetPointsForSpend_Response {
optional int64 points = 1;
}
message CLoyaltyRewards_GetProfileCustomizationsConfig_Request {
}
message CLoyaltyRewards_GetProfileCustomizationsConfig_Response {
optional uint32 points_cost = 1;
optional uint32 upgrade_points_cost = 2;
repeated int32 purchasable_customization_types = 3 [(.description) = "enum"];
repeated int32 upgradable_customization_types = 4 [(.description) = "enum"];
optional uint32 max_slots_per_type = 5;
optional uint32 max_upgradable_level = 6;
}
message CLoyaltyRewards_GetReactionConfig_Request {
}
message CLoyaltyRewards_GetReactionConfig_Response {
repeated .CLoyaltyRewards_GetReactionConfig_Response_ReactionConfig reactions = 3;
}
message CLoyaltyRewards_GetReactionConfig_Response_ReactionConfig {
optional int32 reactionid = 1 [(.description) = "enum"];
optional uint32 points_cost = 2;
optional uint32 points_transferred = 3;
repeated int32 valid_target_types = 4 [(.description) = "enum"];
repeated uint32 valid_ugc_types = 5;
}
message CLoyaltyRewards_GetReactions_Request {
optional int32 target_type = 1 [(.description) = "enum"];
optional uint64 targetid = 2;
}
message CLoyaltyRewards_GetReactions_Response {
repeated uint32 reactionids = 1;
}
message CLoyaltyRewards_GetReactionsSummaryForUser_Request {
optional fixed64 steamid = 1;
}
message CLoyaltyRewards_GetReactionsSummaryForUser_Response {
repeated .CLoyaltyRewards_GetReactionsSummaryForUser_Response_Breakdown total = 1;
repeated .CLoyaltyRewards_GetReactionsSummaryForUser_Response_Breakdown user_reviews = 2;
repeated .CLoyaltyRewards_GetReactionsSummaryForUser_Response_Breakdown ugc = 3;
repeated .CLoyaltyRewards_GetReactionsSummaryForUser_Response_Breakdown profile = 4;
repeated .CLoyaltyRewards_GetReactionsSummaryForUser_Response_Breakdown forum_topics = 5;
//optional uint32 total_given = 5;
repeated .CLoyaltyRewards_GetReactionsSummaryForUser_Response_Breakdown comments = 6;
//optional uint32 total_received = 6;
optional int64 total_points_given = 7;
//optional uint32 total_given = 7;
optional int64 total_points_received = 8;
//optional uint32 total_received = 8;
optional int64 total_points_given__field_9 = 9;
optional int64 total_points_received__field_10 = 10;
}
message CLoyaltyRewards_GetReactionsSummaryForUser_Response_Breakdown {
optional int32 reactionid = 1 [(.description) = "enum"];
optional uint32 given = 2;
optional uint32 received = 3;
optional int64 points_given = 4;
optional int64 points_received = 5;
}
message CLoyaltyRewards_GetSummary_Request {
optional fixed64 steamid = 1;
}
message CLoyaltyRewards_GetSummary_Response {
optional .CLoyaltyRewards_GetSummary_Response_Summary summary = 1;
optional uint32 timestamp_updated = 2;
optional uint64 auditid_highwater = 3;
}
message CLoyaltyRewards_GetSummary_Response_Summary {
optional int64 points = 1;
optional int64 points_earned = 2;
optional int64 points_spent = 3;
}
message CLoyaltyRewards_QueryRewardItems_Request {
repeated uint32 appids = 1;
optional uint32 time_available = 2;
repeated int32 community_item_classes = 3;
optional string language = 4;
optional int32 count = 5;
optional string cursor = 6;
optional int32 sort = 7 [default = 1, (.description) = "enum"];
optional bool sort_descending = 8 [default = true];
repeated int32 reward_types = 9 [(.description) = "enum"];
repeated int32 excluded_community_item_classes = 10;
repeated uint32 definitionids = 11;
repeated int32 filters = 12 [(.description) = "enum"];
repeated string filter_match_all_category_tags = 13;
repeated string filter_match_any_category_tags = 14;
repeated uint32 contains_definitionids = 15;
optional bool include_direct_purchase_disabled = 16;
repeated uint32 excluded_content_descriptors = 17;
repeated uint32 excluded_appids = 18;
optional string search_term = 19;
}
message CLoyaltyRewards_QueryRewardItems_Response {
repeated .LoyaltyRewardDefinition definitions = 1;
optional int32 total_count = 2;
optional int32 count = 3;
optional string next_cursor = 4;
}
message CLoyaltyRewards_RedeemPoints_Request {
optional uint32 defid = 1;
optional int64 expected_points_cost = 2;
}
message CLoyaltyRewards_RedeemPoints_Response {
optional uint64 communityitemid = 1;
repeated uint64 bundle_community_item_ids = 2;
}
message CLoyaltyRewards_RedeemPointsForBadgeLevel_Request {
optional uint32 defid = 1;
optional int32 num_levels = 2 [default = 1];
}
message CLoyaltyRewards_RedeemPointsForProfileCustomization_Request {
optional int32 customization_type = 1 [(.description) = "enum"];
}
message CLoyaltyRewards_RedeemPointsForProfileCustomization_Response {
optional uint64 purchaseid = 1;
}
message CLoyaltyRewards_RedeemPointsForProfileCustomizationUpgrade_Request {
optional int32 customization_type = 1 [(.description) = "enum"];
optional uint32 new_level = 2;
}
message CLoyaltyRewards_RedeemPointsForProfileCustomizationUpgrade_Response {
}
message CLoyaltyRewards_RedeemPointsToUpgradeItem_Request {
optional uint32 defid = 1;
optional uint64 communityitemid = 2;
}
message CLoyaltyRewards_RegisterForSteamDeckRewards_Request {
optional string serial_number = 1;
optional string controller_code = 2;
}
message CLoyaltyRewards_RegisterForSteamDeckRewards_Response {
optional bool granted_profile_modifier = 1;
}
message LoyaltyRewardPurchaseBonus {
optional uint64 bonusid = 1;
optional uint32 appid = 2;
optional bool active = 3;
optional int32 points = 4;
optional uint32 timestamp_start = 5;
optional uint32 timestamp_end = 6;
optional string internal_description = 7;
}
service LoyaltyRewards {
rpc AddReaction (.CLoyaltyRewards_AddReaction_Request) returns (.CLoyaltyRewards_AddReaction_Response);
rpc BatchedQueryRewardItems (.CLoyaltyRewards_BatchedQueryRewardItems_Request) returns (.CLoyaltyRewards_BatchedQueryRewardItems_Response);
rpc GetActivePurchaseBonuses (.CLoyaltyRewards_GetActivePurchaseBonuses_Request) returns (.CLoyaltyRewards_GetActivePurchaseBonuses_Response);
rpc GetEligibleApps (.CLoyaltyRewards_GetEligibleApps_Request) returns (.CLoyaltyRewards_GetEligibleApps_Response);
rpc GetEquippedProfileItems (.CLoyaltyRewards_GetEquippedProfileItems_Request) returns (.CLoyaltyRewards_GetEquippedProfileItems_Response);
rpc GetPointsForSpend (.CLoyaltyRewards_GetPointsForSpend_Request) returns (.CLoyaltyRewards_GetPointsForSpend_Response);
rpc GetProfileCustomizationsConfig (.CLoyaltyRewards_GetProfileCustomizationsConfig_Request) returns (.CLoyaltyRewards_GetProfileCustomizationsConfig_Response);
rpc GetReactionConfig (.CLoyaltyRewards_GetReactionConfig_Request) returns (.CLoyaltyRewards_GetReactionConfig_Response);
rpc GetReactions (.CLoyaltyRewards_GetReactions_Request) returns (.CLoyaltyRewards_GetReactions_Response);
rpc GetReactionsSummaryForUser (.CLoyaltyRewards_GetReactionsSummaryForUser_Request) returns (.CLoyaltyRewards_GetReactionsSummaryForUser_Response);
rpc GetSummary (.CLoyaltyRewards_GetSummary_Request) returns (.CLoyaltyRewards_GetSummary_Response);
rpc QueryRewardItems (.CLoyaltyRewards_QueryRewardItems_Request) returns (.CLoyaltyRewards_QueryRewardItems_Response);
rpc RedeemPoints (.CLoyaltyRewards_RedeemPoints_Request) returns (.CLoyaltyRewards_RedeemPoints_Response);
rpc RedeemPointsForBadgeLevel (.CLoyaltyRewards_RedeemPointsForBadgeLevel_Request) returns (.CLoyaltyRewards_RedeemPoints_Response);
rpc RedeemPointsForProfileCustomization (.CLoyaltyRewards_RedeemPointsForProfileCustomization_Request) returns (.CLoyaltyRewards_RedeemPointsForProfileCustomization_Response);
rpc RedeemPointsForProfileCustomizationUpgrade (.CLoyaltyRewards_RedeemPointsForProfileCustomizationUpgrade_Request) returns (.CLoyaltyRewards_RedeemPointsForProfileCustomizationUpgrade_Response);
rpc RedeemPointsToUpgradeItem (.CLoyaltyRewards_RedeemPointsToUpgradeItem_Request) returns (.CLoyaltyRewards_RedeemPoints_Response);
rpc RegisterForSteamDeckRewards (.CLoyaltyRewards_RegisterForSteamDeckRewards_Request) returns (.CLoyaltyRewards_RegisterForSteamDeckRewards_Response);
}

View File

@@ -0,0 +1,224 @@
import "common_base.proto";
import "common.proto";
message CDisplayMarketingMessage {
optional fixed64 gid = 1;
optional string title = 2;
optional int32 type = 3 [(.description) = "enum"];
optional .StoreItemID associated_item_id = 4;
optional .StoreItem associated_item = 5;
optional string associated_name = 6;
optional string template_type = 10;
optional string template_vars_json = 11;
}
message CMarketingMessage_GetMarketingMessagesForApps_Request {
repeated uint32 appids = 1;
}
message CMarketingMessage_GetMarketingMessagesForApps_Response {
repeated .CMarketingMessageProto messages = 1;
}
message CMarketingMessage_GetMarketingMessagesForPartner_Request {
optional uint32 partnerid = 1;
}
message CMarketingMessage_GetMarketingMessagesForPartner_Response {
repeated .CMarketingMessageProto messages = 1;
}
message CMarketingMessageHourlyStats {
optional uint32 rt_time_hour = 1;
optional uint32 seen_count = 2;
optional int32 template_type = 3 [(.description) = "enum"];
optional uint32 display_index = 4;
}
message CMarketingMessageProto {
optional fixed64 gid = 1;
optional string title = 2;
optional int32 type = 3 [(.description) = "enum"];
optional int32 visibility = 4 [(.description) = "enum"];
optional uint32 priority = 5;
optional int32 association_type = 6 [(.description) = "enum"];
optional uint32 associated_id = 7;
optional string associated_name = 8;
optional uint32 start_date = 9;
optional uint32 end_date = 10;
optional string country_allow = 11;
optional string country_deny = 12;
optional bool ownership_restrictions_overridden = 13;
optional uint32 must_own_appid = 14;
optional uint32 must_not_own_appid = 15;
optional uint32 must_own_packageid = 16;
optional uint32 must_not_own_packageid = 17;
optional uint32 must_have_launched_appid = 18;
optional string additional_restrictions = 19;
optional string template_type = 20;
optional string template_vars = 21;
optional uint32 flags = 22;
optional string creator_name = 23;
optional string template_vars_json = 24;
optional string additional_restrictions_json = 25;
}
message CMarketingMessages_CreateMarketingMessage_Request {
optional .CMarketingMessageProto message = 1;
optional bool from_json = 2;
}
message CMarketingMessages_CreateMarketingMessage_Response {
optional fixed64 gid = 1;
}
message CMarketingMessages_DeleteMarketingMessage_Request {
optional fixed64 gid = 1;
}
message CMarketingMessages_DeleteMarketingMessage_Response {
}
message CMarketingMessages_DoesUserHavePendingMarketingMessages_Request {
optional string country_code = 2;
optional int32 elanguage = 3;
optional int32 operating_system = 4;
optional int32 client_package_version = 5;
}
message CMarketingMessages_DoesUserHavePendingMarketingMessages_Response {
optional bool has_pending_messages = 1;
optional int32 pending_message_count = 2;
}
message CMarketingMessages_FindMarketingMessages_Request {
optional int32 lookup_type = 1 [(.description) = "enum"];
optional fixed64 gid = 2;
optional int32 message_type = 3 [(.description) = "enum"];
repeated fixed64 gidlist = 4;
optional string title = 5;
}
message CMarketingMessages_FindMarketingMessages_Response {
repeated .CMarketingMessageProto messages = 1;
}
message CMarketingMessages_GetActiveMarketingMessages_Request {
optional string country = 1;
optional bool anonymous_user = 2;
}
message CMarketingMessages_GetActiveMarketingMessages_Response {
repeated .CMarketingMessageProto messages = 1;
optional uint32 time_next_message_age = 2;
}
message CMarketingMessages_GetDisplayMarketingMessage_Request {
optional fixed64 gid = 1;
optional .StoreBrowseContext context = 2;
optional .StoreBrowseItemDataRequest data_request = 3;
}
message CMarketingMessages_GetDisplayMarketingMessage_Response {
optional .CDisplayMarketingMessage message = 1;
}
message CMarketingMessages_GetMarketingMessage_Request {
optional fixed64 gid = 1;
}
message CMarketingMessages_GetMarketingMessage_Response {
optional .CMarketingMessageProto message = 1;
}
message CMarketingMessages_GetMarketingMessagesForUser_Request {
optional bool include_seen_messages = 1;
optional string country_code = 2;
optional int32 elanguage = 3;
optional int32 operating_system = 4;
optional int32 client_package_version = 5;
optional .StoreBrowseContext context = 6;
optional .StoreBrowseItemDataRequest data_request = 7;
}
message CMarketingMessages_GetMarketingMessagesForUser_Response {
repeated .CMarketingMessages_GetMarketingMessagesForUser_Response_MarketingMessageForUser messages = 1;
}
message CMarketingMessages_GetMarketingMessagesForUser_Response_MarketingMessageForUser {
optional bool already_seen = 1;
optional .CDisplayMarketingMessage message = 2;
}
message CMarketingMessages_GetMarketingMessagesViewerRangeStats_Request {
optional uint32 rt_start_time = 1;
optional uint32 rt_end_time = 2;
}
message CMarketingMessages_GetMarketingMessagesViewerRangeStats_Response {
repeated .CMarketingMessageHourlyStats stats = 1;
}
message CMarketingMessages_GetMarketingMessageViewerStats_Request {
optional fixed64 gid = 1;
}
message CMarketingMessages_GetMarketingMessageViewerStats_Response {
repeated .CMarketingMessageHourlyStats stats = 1;
}
message CMarketingMessages_GetPartnerMessagePreview_Request {
optional fixed64 gid = 1;
optional uint32 partnerid = 2;
}
message CMarketingMessages_GetPartnerMessagePreview_Response {
optional .CMarketingMessageProto message = 1;
}
message CMarketingMessages_GetPartnerReadyToPublishMessages_Request {
optional uint32 partnerid = 1;
}
message CMarketingMessages_GetPartnerReadyToPublishMessages_Response {
repeated .CDisplayMarketingMessage messages = 1;
}
message CMarketingMessages_PartnerPublishMessage_Request {
optional fixed64 gid = 1;
optional uint32 partnerid = 2;
}
message CMarketingMessages_PartnerPublishMessage_Response {
}
message CMarketingMessages_UpdateMarketingMessage_Request {
optional fixed64 gid = 1;
optional .CMarketingMessageProto message = 2;
optional bool from_json = 3;
}
message CMarketingMessages_UpdateMarketingMessage_Response {
}
service MarketingMessages {
rpc CreateMarketingMessage (.CMarketingMessages_CreateMarketingMessage_Request) returns (.CMarketingMessages_CreateMarketingMessage_Response);
rpc DeleteMarketingMessage (.CMarketingMessages_DeleteMarketingMessage_Request) returns (.CMarketingMessages_DeleteMarketingMessage_Response);
rpc DoesUserHavePendingMarketingMessages (.CMarketingMessages_DoesUserHavePendingMarketingMessages_Request) returns (.CMarketingMessages_DoesUserHavePendingMarketingMessages_Response);
rpc FindMarketingMessages (.CMarketingMessages_FindMarketingMessages_Request) returns (.CMarketingMessages_FindMarketingMessages_Response);
rpc GetActiveMarketingMessages (.CMarketingMessages_GetActiveMarketingMessages_Request) returns (.CMarketingMessages_GetActiveMarketingMessages_Response);
rpc GetDisplayMarketingMessage (.CMarketingMessages_GetDisplayMarketingMessage_Request) returns (.CMarketingMessages_GetDisplayMarketingMessage_Response);
rpc GetDisplayMarketingMessageAdmin (.CMarketingMessages_GetDisplayMarketingMessage_Request) returns (.CMarketingMessages_GetDisplayMarketingMessage_Response);
rpc GetDisplayMarketingMessageForUser (.CMarketingMessages_GetDisplayMarketingMessage_Request) returns (.CMarketingMessages_GetDisplayMarketingMessage_Response);
rpc GetMarketingMessage (.CMarketingMessages_GetMarketingMessage_Request) returns (.CMarketingMessages_GetMarketingMessage_Response);
rpc GetMarketingMessagesForApps (.CMarketingMessage_GetMarketingMessagesForApps_Request) returns (.CMarketingMessage_GetMarketingMessagesForApps_Response);
rpc GetMarketingMessagesForPartner (.CMarketingMessage_GetMarketingMessagesForPartner_Request) returns (.CMarketingMessage_GetMarketingMessagesForPartner_Response);
rpc GetMarketingMessagesForUser (.CMarketingMessages_GetMarketingMessagesForUser_Request) returns (.CMarketingMessages_GetMarketingMessagesForUser_Response);
rpc GetMarketingMessagesViewerRangeStats (.CMarketingMessages_GetMarketingMessagesViewerRangeStats_Request) returns (.CMarketingMessages_GetMarketingMessagesViewerRangeStats_Response);
rpc GetMarketingMessageViewerStats (.CMarketingMessages_GetMarketingMessageViewerStats_Request) returns (.CMarketingMessages_GetMarketingMessageViewerStats_Response);
rpc GetPartnerMessagePreview (.CMarketingMessages_GetPartnerMessagePreview_Request) returns (.CMarketingMessages_GetPartnerMessagePreview_Response);
rpc GetPartnerReadyToPublishMessages (.CMarketingMessages_GetPartnerReadyToPublishMessages_Request) returns (.CMarketingMessages_GetPartnerReadyToPublishMessages_Response);
rpc PublishPartnerMessage (.CMarketingMessages_PartnerPublishMessage_Request) returns (.CMarketingMessages_PartnerPublishMessage_Response);
rpc UpdateMarketingMessage (.CMarketingMessages_UpdateMarketingMessage_Request) returns (.CMarketingMessages_UpdateMarketingMessage_Response);
}

View File

@@ -0,0 +1,18 @@
message CMobileApp_GetMobileSummary_Request {
optional fixed64 authenticator_gid = 1;
}
message CMobileApp_GetMobileSummary_Response {
optional uint32 stale_time_seconds = 1;
optional bool is_authenticator_valid = 2;
optional uint32 owned_games = 3;
optional uint32 friend_count = 4;
optional string wallet_balance = 5;
optional string language = 6;
}
service MobileApp {
rpc GetMobileSummary (.CMobileApp_GetMobileSummary_Request) returns (.CMobileApp_GetMobileSummary_Response);
}

View File

@@ -0,0 +1,24 @@
message CMobileAuth_MigrateMobileSession_Request {
optional fixed64 steamid = 1;
optional string token = 2;
optional bytes signature = 3;
optional .CMobileAuth_MigrateMobileSession_Request_DeviceDetails device_details = 4;
}
message CMobileAuth_MigrateMobileSession_Request_DeviceDetails {
optional string device_friendly_name = 1;
optional uint32 platform_type = 2;
optional int32 os_type = 3;
optional uint32 gaming_device_type = 4;
}
message CMobileAuth_MigrateMobileSession_Response {
optional string refresh_token = 1;
optional string access_token = 2;
}
service MobileAuth {
rpc MigrateMobileSession (.CMobileAuth_MigrateMobileSession_Request) returns (.CMobileAuth_MigrateMobileSession_Response);
}

View File

@@ -0,0 +1,38 @@
import "common_base.proto";
message CMobileDevice_DeregisterMobileDevice_Notification {
optional string deviceid = 1;
}
message CMobileDevice_HasMobileDevice_Request {
optional int32 app_type = 1 [(.description) = "enum"];
optional bool push_enabled_only = 2;
optional string minimum_version = 3;
}
message CMobileDevice_HasMobileDevice_Response {
optional bool found_device = 1;
optional bool up_to_date = 2;
}
message CMobileDevice_RegisterMobileDevice_Request {
optional string deviceid = 1;
optional string language = 2;
optional bool push_enabled = 3;
optional string app_version = 4;
optional string os_version = 5;
optional string device_model = 6;
optional string twofactor_device_identifier = 7;
optional int32 mobile_app = 8 [(.description) = "enum"];
}
message CMobileDevice_RegisterMobileDevice_Response {
optional uint32 unique_deviceid = 2;
}
service MobileDevice {
rpc DeregisterMobileDevice (.CMobileDevice_DeregisterMobileDevice_Notification) returns (.NoResponse);
rpc HasMobileDevice (.CMobileDevice_HasMobileDevice_Request) returns (.CMobileDevice_HasMobileDevice_Response);
rpc RegisterMobileDevice (.CMobileDevice_RegisterMobileDevice_Request) returns (.CMobileDevice_RegisterMobileDevice_Response);
}

View File

@@ -0,0 +1,31 @@
message CMobilePerAccount_GetSettings_Request {
}
message CMobilePerAccount_GetSettings_Response {
optional bool allow_sale_push = 2;
optional bool allow_wishlist_push = 3;
optional bool has_settings = 4;
optional uint32 chat_notification_level = 5;
optional bool notify_direct_chat = 6;
optional bool notify_group_chat = 7;
optional bool allow_event_push = 8 [default = true];
}
message CMobilePerAccount_SetSettings_Request {
optional bool allow_sale_push = 2;
optional bool allow_wishlist_push = 3;
optional uint32 chat_notification_level = 4;
optional bool notify_direct_chat = 5;
optional bool notify_group_chat = 6;
optional bool allow_event_push = 7 [default = true];
}
message CMobilePerAccount_SetSettings_Response {
}
service MobilePerAccount {
rpc GetSettings (.CMobilePerAccount_GetSettings_Request) returns (.CMobilePerAccount_GetSettings_Response);
rpc SetSettings (.CMobilePerAccount_SetSettings_Request) returns (.CMobilePerAccount_SetSettings_Response);
}

View File

@@ -0,0 +1,110 @@
import "common_base.proto";
message CNews_ConvertHTMLToBBCode_Request {
optional string content = 1;
optional bool preserve_newlines = 2 [default = false];
}
message CNews_ConvertHTMLToBBCode_Response {
optional string converted_content = 1;
optional bool found_html = 2;
}
message CNews_GetBatchPublishedPartnerEvent_Request {
optional fixed64 news_feed_gid = 1;
optional uint32 start_index = 2 [default = 0];
optional uint32 amount = 3 [default = 100];
}
message CNews_GetBatchPublishedPartnerEvent_Response {
optional uint32 clan_account_id = 1;
optional fixed64 news_feed_gid = 2;
repeated fixed64 clan_event_gid = 3;
repeated fixed64 news_post_gid = 4;
repeated string news_url = 5;
}
message CNews_GetNewsFeedByRepublishClan_Request {
optional uint32 clan_account_id = 1;
}
message CNews_GetNewsFeedByRepublishClan_Response {
repeated .CNewsFeedDef feeds = 1;
}
message CNews_PreviewPartnerEvents_Request {
optional string rss_url = 1;
optional uint32 lang = 2;
}
message CNews_PreviewPartnerEvents_Response {
optional string rss_url = 1;
repeated .CNewsPartnerEventPreview results = 2;
optional string error_msg = 3;
}
message CNews_PublishPartnerEvent_Request {
optional .CNewsFeedPostDef post = 1;
optional bool draft = 2;
}
message CNews_PublishPartnerEvent_Response {
optional fixed64 clan_event_gid = 1;
optional fixed64 news_post_gid = 2;
}
message CNewsFeedDef {
optional fixed64 gid = 1;
optional string name = 2;
optional uint32 type = 3 [default = 0];
optional string url = 4;
repeated uint32 associated_apps = 5;
optional uint32 poll_interval = 6 [default = 300];
optional string kv_description = 7;
optional string kv_filter = 8;
optional uint32 publish_to_clan_account_id = 9;
optional uint32 language = 10;
optional uint32 last_error = 11;
optional uint32 last_update = 12;
optional uint32 last_checked = 13;
}
message CNewsFeedPostDef {
optional fixed64 gid = 1;
optional fixed64 news_feed_gid = 2;
optional string title = 3;
optional string url = 4;
optional string author = 5;
optional uint32 rtime_date = 6;
optional string contents = 7;
optional bool commited = 8;
optional bool deleted = 9;
optional string tags = 10;
repeated uint32 appids = 11;
optional int32 recommendation_state = 12 [(.description) = "enum"];
optional bool received_compensation = 13;
optional bool received_for_free = 14;
optional string blurb = 15;
optional string event_subtitle = 16;
optional string event_summary = 17;
}
message CNewsPartnerEventPreview {
optional string rss_message = 1;
optional string unique_id = 2;
optional string title = 3;
optional string desc = 4;
optional string jsondata = 5;
optional .CNewsFeedPostDef post = 6;
optional bool valid_post = 7;
optional string post_error_msg = 8;
}
service News {
rpc ConvertHTMLToBBCode (.CNews_ConvertHTMLToBBCode_Request) returns (.CNews_ConvertHTMLToBBCode_Response);
rpc GetBatchPublishedPartnerEvent (.CNews_GetBatchPublishedPartnerEvent_Request) returns (.CNews_GetBatchPublishedPartnerEvent_Response);
rpc GetNewsFeedByRepublishClan (.CNews_GetNewsFeedByRepublishClan_Request) returns (.CNews_GetNewsFeedByRepublishClan_Response);
rpc PreviewPartnerEvents (.CNews_PreviewPartnerEvents_Request) returns (.CNews_PreviewPartnerEvents_Response);
rpc PublishPartnerEvent (.CNews_PublishPartnerEvent_Request) returns (.CNews_PublishPartnerEvent_Response);
}

View File

@@ -0,0 +1,259 @@
import "common_base.proto";
message CParental_ApproveFeatureAccess_Request {
optional bool approve = 1;
optional fixed64 requestid = 2;
optional uint32 features = 3;
optional uint32 duration = 4;
optional fixed64 steamid = 10;
}
message CParental_ApproveFeatureAccess_Response {
}
message CParental_ApprovePlaytime_Request {
optional bool approve = 1;
optional fixed64 requestid = 2;
optional .ParentalTemporaryPlaytimeRestrictions restrictions_approved = 3;
optional fixed64 steamid = 10;
}
message CParental_ApprovePlaytime_Response {
}
message CParental_DisableParentalSettings_Request {
optional string password = 1;
optional fixed64 steamid = 10;
}
message CParental_DisableParentalSettings_Response {
}
message CParental_DisableWithRecoveryCode_Request {
optional uint32 recovery_code = 1;
optional fixed64 steamid = 10;
}
message CParental_DisableWithRecoveryCode_Response {
}
message CParental_EnableParentalSettings_Request {
optional string password = 1;
optional .ParentalSettings settings = 2;
optional string sessionid = 3;
optional uint32 enablecode = 4;
optional fixed64 steamid = 10;
}
message CParental_EnableParentalSettings_Response {
}
message CParental_GetParentalSettings_Request {
optional fixed64 steamid = 10;
}
message CParental_GetParentalSettings_Response {
optional .ParentalSettings settings = 1;
}
message CParental_GetRequests_Request {
optional uint32 rt_include_completed_since = 1;
optional fixed64 family_groupid = 2;
}
message CParental_GetRequests_Response {
repeated .ParentalFeatureRequest feature_requests = 1;
repeated .ParentalPlaytimeRequest playtime_requests = 2;
}
message CParental_GetSignedParentalSettings_Request {
optional uint32 priority = 1;
}
message CParental_GetSignedParentalSettings_Response {
optional bytes serialized_settings = 1;
optional bytes signature = 2;
}
message CParental_LockClient_Request {
optional string session = 1;
}
message CParental_LockClient_Response {
}
message CParental_ParentalLock_Notification {
optional string sessionid = 1;
}
message CParental_ParentalSettingsChange_Notification {
optional bytes serialized_settings = 1;
optional bytes signature = 2;
optional string password = 3;
optional string sessionid = 4;
}
message CParental_ParentalUnlock_Notification {
optional string password = 1;
optional string sessionid = 2;
}
message CParental_PlaytimeUsed_Notification {
optional uint32 day_of_week = 1;
optional uint32 minutes_used = 2;
}
message CParental_ReportPlaytimeAndNotify_Request {
optional uint32 day_of_week = 1;
optional uint32 minutes_used = 2;
optional fixed64 steamid = 10;
}
message CParental_ReportPlaytimeAndNotify_Response {
}
message CParental_RequestFeatureAccess_Request {
optional uint32 features = 1;
optional fixed64 steamid = 10;
}
message CParental_RequestFeatureAccess_Response {
optional fixed64 requestid = 1;
}
message CParental_RequestPlaytime_Request {
optional uint32 time_expires = 1;
optional .ParentalPlaytimeDay current_playtime_restrictions = 2;
optional fixed64 steamid = 10;
}
message CParental_RequestPlaytime_Response {
optional fixed64 requestid = 1;
}
message CParental_RequestRecoveryCode_Request {
}
message CParental_RequestRecoveryCode_Response {
}
message CParental_SetParentalSettings_Request {
optional string password = 1;
optional .ParentalSettings settings = 2;
optional string new_password = 3;
optional string sessionid = 4;
optional fixed64 steamid = 10;
}
message CParental_SetParentalSettings_Response {
}
message CParental_ValidatePassword_Request {
optional string password = 1;
optional string session = 2;
optional bool send_unlock_on_success = 3;
}
message CParental_ValidatePassword_Response {
optional string token = 1;
}
message CParental_ValidateToken_Request {
optional string unlock_token = 1;
}
message CParental_ValidateToken_Response {
}
message ParentalApp {
optional uint32 appid = 1;
optional bool is_allowed = 2;
}
message ParentalFeatureRequest {
optional fixed64 requestid = 1;
optional fixed64 family_groupid = 2;
optional fixed64 steamid = 3;
optional uint32 features = 4;
optional uint32 time_requested = 5;
optional bool approved = 6;
optional fixed64 steamid_responder = 7;
optional uint32 time_responded = 8;
}
message ParentalPlaytimeDay {
optional uint64 allowed_time_windows = 1;
optional uint32 allowed_daily_minutes = 2;
}
message ParentalPlaytimeRequest {
optional fixed64 requestid = 1;
optional fixed64 family_groupid = 2;
optional fixed64 steamid = 3;
optional .ParentalPlaytimeDay current_playtime_restrictions = 4;
optional uint32 time_expires = 5;
optional uint32 time_requested = 6;
optional bool approved = 7;
optional fixed64 steamid_responder = 8;
optional uint32 time_responded = 9;
optional .ParentalTemporaryPlaytimeRestrictions restrictions_approved = 10;
}
message ParentalPlaytimeRestrictions {
optional bool apply_playtime_restrictions = 2;
repeated .ParentalPlaytimeDay playtime_days = 15;
}
message ParentalSettings {
optional fixed64 steamid = 1;
optional uint32 applist_base_id = 2;
optional string applist_base_description = 3;
repeated .ParentalApp applist_base = 4;
repeated .ParentalApp applist_custom = 5;
optional uint32 passwordhashtype = 6;
optional bytes salt = 7;
optional bytes passwordhash = 8;
optional bool is_enabled = 9;
optional uint32 enabled_features = 10;
optional string recovery_email = 11;
optional bool is_site_license_lock = 12;
optional uint32 temporary_enabled_features = 13;
optional uint32 rtime_temporary_feature_expiration = 14;
optional .ParentalPlaytimeRestrictions playtime_restrictions = 15;
optional .ParentalTemporaryPlaytimeRestrictions temporary_playtime_restrictions = 16;
repeated uint32 excluded_store_content_descriptors = 17;
repeated uint32 excluded_community_content_descriptors = 18;
repeated uint32 utility_appids = 19;
}
message ParentalTemporaryPlaytimeRestrictions {
optional .ParentalPlaytimeDay restrictions = 1;
optional uint32 rtime_expires = 2;
}
service Parental {
rpc ApproveFeatureAccess (.CParental_ApproveFeatureAccess_Request) returns (.CParental_ApproveFeatureAccess_Response);
rpc ApprovePlaytime (.CParental_ApprovePlaytime_Request) returns (.CParental_ApprovePlaytime_Response);
rpc DisableParentalSettings (.CParental_DisableParentalSettings_Request) returns (.CParental_DisableParentalSettings_Response);
rpc DisableWithRecoveryCode (.CParental_DisableWithRecoveryCode_Request) returns (.CParental_DisableWithRecoveryCode_Response);
rpc EnableParentalSettings (.CParental_EnableParentalSettings_Request) returns (.CParental_EnableParentalSettings_Response);
rpc GetParentalSettings (.CParental_GetParentalSettings_Request) returns (.CParental_GetParentalSettings_Response);
rpc GetRequests (.CParental_GetRequests_Request) returns (.CParental_GetRequests_Response);
rpc GetSignedParentalSettings (.CParental_GetSignedParentalSettings_Request) returns (.CParental_GetSignedParentalSettings_Response);
rpc LockClient (.CParental_LockClient_Request) returns (.CParental_LockClient_Response);
rpc ReportPlaytimeAndNotify (.CParental_ReportPlaytimeAndNotify_Request) returns (.CParental_ReportPlaytimeAndNotify_Response);
rpc RequestFeatureAccess (.CParental_RequestFeatureAccess_Request) returns (.CParental_RequestFeatureAccess_Response);
rpc RequestPlaytime (.CParental_RequestPlaytime_Request) returns (.CParental_RequestPlaytime_Response);
rpc RequestRecoveryCode (.CParental_RequestRecoveryCode_Request) returns (.CParental_RequestRecoveryCode_Response);
rpc SetParentalSettings (.CParental_SetParentalSettings_Request) returns (.CParental_SetParentalSettings_Response);
rpc ValidatePassword (.CParental_ValidatePassword_Request) returns (.CParental_ValidatePassword_Response);
rpc ValidateToken (.CParental_ValidateToken_Request) returns (.CParental_ValidateToken_Response);
}
service ParentalClient {
rpc NotifyLock (.CParental_ParentalLock_Notification) returns (.NoResponse);
rpc NotifyPlaytimeUsed (.CParental_PlaytimeUsed_Notification) returns (.NoResponse);
rpc NotifySettingsChange (.CParental_ParentalSettingsChange_Notification) returns (.NoResponse);
rpc NotifyUnlock (.CParental_ParentalUnlock_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,53 @@
message CPartnerAppNotes_CreateNotes_Request {
optional uint32 appid = 1;
optional string partner_notes = 2;
optional string admin_notes = 3;
optional string partner_readonly_notes = 4;
}
message CPartnerAppNotes_CreateNotes_Response {
}
message CPartnerAppNotes_GetMultipleNotes_Request {
repeated uint32 appids = 1;
}
message CPartnerAppNotes_GetMultipleNotes_Response {
repeated .CPartnerAppNotes_GetMultipleNotes_Response_Container notes = 1;
}
message CPartnerAppNotes_GetMultipleNotes_Response_Container {
optional uint32 appid = 1;
optional string partner_notes = 2;
optional string admin_notes = 3;
optional string partner_readonly_notes = 4;
}
message CPartnerAppNotes_GetNotes_Request {
optional uint32 appid = 1;
}
message CPartnerAppNotes_GetNotes_Response {
optional string partner_notes = 2;
optional string admin_notes = 3;
optional string partner_readonly_notes = 4;
}
message CPartnerAppNotes_UpdateNotes_Request {
optional uint32 appid = 1;
optional string partner_notes = 2;
optional string admin_notes = 3;
optional string partner_readonly_notes = 4;
}
message CPartnerAppNotes_UpdateNotes_Response {
}
service PartnerAppNotes {
rpc CreateNotes (.CPartnerAppNotes_CreateNotes_Request) returns (.CPartnerAppNotes_CreateNotes_Response);
rpc GetMultipleNotes (.CPartnerAppNotes_GetMultipleNotes_Request) returns (.CPartnerAppNotes_GetMultipleNotes_Response);
rpc GetNotes (.CPartnerAppNotes_GetNotes_Request) returns (.CPartnerAppNotes_GetNotes_Response);
rpc UpdateNotes (.CPartnerAppNotes_UpdateNotes_Request) returns (.CPartnerAppNotes_UpdateNotes_Response);
}

View File

@@ -0,0 +1,56 @@
import "common_base.proto";
message CPartnerDeadline {
optional uint32 partnerid = 1;
optional int32 type = 2 [(.description) = "enum"];
optional int32 status = 3 [(.description) = "enum"];
optional uint32 due_date = 4;
repeated uint32 email_days_before_due = 5;
optional fixed64 gid = 6;
optional int32 store_item_type = 7 [(.description) = "enum"];
optional uint32 store_item_id = 8;
optional uint32 discount_event_id = 9;
optional string description_jsondata = 10;
optional uint64 required_rights = 11;
optional bool send_email_on_creation = 12;
}
message CPartnerDeadline_GetDeadlineByTimeRange_Request {
optional int32 type = 1 [(.description) = "enum"];
optional uint32 start_date = 2;
optional uint32 end_date = 3;
optional bool include_complete = 4;
optional int32 store_item_type = 7 [(.description) = "enum"];
optional uint32 store_item_id = 8;
}
message CPartnerDeadline_GetDeadlineByTimeRange_Response {
repeated .CPartnerDeadline_GetDeadlineByTimeRange_Response_Result deadlines = 1;
}
message CPartnerDeadline_GetDeadlineByTimeRange_Response_Result {
optional fixed64 deadlineid = 1;
optional .CPartnerDeadline data = 2;
}
message CPartnerDeadline_GetDeadlinesForPartner_Request {
optional uint32 partnerid = 1;
optional uint32 start_date = 2;
optional uint32 end_date = 3;
optional bool include_complete = 4;
}
message CPartnerDeadline_GetDeadlinesForPartner_Response {
repeated .CPartnerDeadline_GetDeadlinesForPartner_Response_Result deadlines = 1;
}
message CPartnerDeadline_GetDeadlinesForPartner_Response_Result {
optional fixed64 deadlineid = 1;
optional .CPartnerDeadline data = 2;
}
service PartnerDeadline {
rpc GetDeadlineByTimeRange (.CPartnerDeadline_GetDeadlineByTimeRange_Request) returns (.CPartnerDeadline_GetDeadlineByTimeRange_Response);
rpc GetDeadlinesForPartner (.CPartnerDeadline_GetDeadlinesForPartner_Request) returns (.CPartnerDeadline_GetDeadlinesForPartner_Response);
}

View File

@@ -0,0 +1,43 @@
import "common_base.proto";
message CDismissPinData {
optional int32 state = 1 [(.description) = "enum"];
optional uint32 accountid = 2;
optional string key_json = 3;
optional uint32 partnerid = 4;
optional uint32 rtime_create = 5;
optional uint32 rtime_validity = 6;
optional fixed64 dismiss_id = 7;
}
message CPartnerDismiss_CreateDismiss_Request {
repeated .CDismissPinData dismiss_list = 1;
}
message CPartnerDismiss_CreateDismiss_Response {
repeated .CDismissPinData dismiss_list = 1;
}
message CPartnerDismiss_DeleteDismiss_Request {
optional fixed64 dismiss_id = 7;
}
message CPartnerDismiss_DeleteDismiss_Response {
}
message CPartnerDismiss_GetDismissTimeRange_Request {
optional uint32 partnerid = 1;
optional uint32 accountid = 2;
optional uint32 rtime_after = 3;
}
message CPartnerDismiss_GetDismissTimeRange_Response {
repeated .CDismissPinData dismiss_list = 1;
}
service PartnerDismiss {
rpc CreateDismiss (.CPartnerDismiss_CreateDismiss_Request) returns (.CPartnerDismiss_CreateDismiss_Response);
rpc DeleteDismiss (.CPartnerDismiss_DeleteDismiss_Request) returns (.CPartnerDismiss_DeleteDismiss_Response);
rpc GetDismissTimeRange (.CPartnerDismiss_GetDismissTimeRange_Request) returns (.CPartnerDismiss_GetDismissTimeRange_Response);
}

View File

@@ -0,0 +1,34 @@
import "common_base.proto";
message CPartnerMembershipInvite_GetInvites_Request {
optional uint32 partnerid = 1;
repeated int32 filter_states = 2 [(.description) = "enum"];
}
message CPartnerMembershipInvite_GetInvites_Response {
repeated .MembershipInvite invites = 1;
}
message MembershipInvite {
optional uint64 inviteid = 1;
optional uint32 accountid_sender = 2;
optional string email = 3;
optional string real_name = 4;
optional string note = 5;
optional uint32 time_sent = 6;
optional int32 current_state = 7 [(.description) = "enum"];
optional uint64 pub_rights = 8;
optional uint64 app_rights = 9;
optional uint32 time_receiver_responded = 10;
optional uint32 accountid = 11;
optional uint32 time_partner_responded = 12;
optional uint32 accountid_partner = 13;
optional uint32 partnerid = 14;
optional uint32 time_last_updated = 15;
optional string sender_ip = 16;
}
service PartnerMembershipInvite {
rpc GetInvites (.CPartnerMembershipInvite_GetInvites_Request) returns (.CPartnerMembershipInvite_GetInvites_Response);
}

View File

@@ -0,0 +1,23 @@
import "common.proto";
message CPartnerStoreBrowse_GetCountryRestrictions_Request {
repeated .StoreItemID ids = 1;
}
message CPartnerStoreBrowse_GetCountryRestrictions_Response {
repeated .CPartnerStoreBrowse_GetCountryRestrictions_Response_CCountryRestrictions results = 1;
repeated .StoreItemID no_info = 2;
}
message CPartnerStoreBrowse_GetCountryRestrictions_Response_CCountryRestrictions {
optional .StoreItemID id = 1;
optional bool no_restrictions = 2;
repeated string allowed_countries = 3;
repeated string restricted_countries = 4;
}
service PartnerStoreBrowse {
rpc GetCountryRestrictions (.CPartnerStoreBrowse_GetCountryRestrictions_Request) returns (.CPartnerStoreBrowse_GetCountryRestrictions_Response);
rpc GetItems (.CStoreBrowse_GetItems_Request) returns (.CStoreBrowse_GetItems_Response);
}

View File

@@ -0,0 +1,51 @@
message CPhone_AddPhoneToAccount_Response {
optional bool success = 1;
optional int32 phone_number_type = 2;
}
message CPhone_ConfirmAddPhoneToAccount_Request {
optional fixed64 steamid = 1;
optional string stoken = 2;
}
message CPhone_IsAccountWaitingForEmailConfirmation_Request {
}
message CPhone_IsAccountWaitingForEmailConfirmation_Response {
optional bool awaiting_email_confirmation = 1;
optional uint32 seconds_to_wait = 2;
}
message CPhone_SendPhoneVerificationCode_Request {
optional uint32 language = 1;
}
message CPhone_SendPhoneVerificationCode_Response {
}
message CPhone_SetAccountPhoneNumber_Request {
optional string phone_number = 1;
optional string phone_country_code = 2;
}
message CPhone_SetAccountPhoneNumber_Response {
optional string confirmation_email_address = 1;
optional string phone_number_formatted = 2;
}
message CPhone_VerifyAccountPhoneWithCode_Request {
optional string code = 1;
}
message CPhone_VerifyAccountPhoneWithCode_Response {
}
service Phone {
rpc ConfirmAddPhoneToAccount (.CPhone_ConfirmAddPhoneToAccount_Request) returns (.CPhone_AddPhoneToAccount_Response);
rpc IsAccountWaitingForEmailConfirmation (.CPhone_IsAccountWaitingForEmailConfirmation_Request) returns (.CPhone_IsAccountWaitingForEmailConfirmation_Response);
rpc SendPhoneVerificationCode (.CPhone_SendPhoneVerificationCode_Request) returns (.CPhone_SendPhoneVerificationCode_Response);
rpc SetAccountPhoneNumber (.CPhone_SetAccountPhoneNumber_Request) returns (.CPhone_SetAccountPhoneNumber_Response);
rpc VerifyAccountPhoneWithCode (.CPhone_VerifyAccountPhoneWithCode_Request) returns (.CPhone_VerifyAccountPhoneWithCode_Response);
}

View File

@@ -0,0 +1,15 @@
message CPhysicalGoods_CheckInventoryAvailableByPackage_Request {
optional int32 packageid = 1;
optional string country_code = 2;
}
message CPhysicalGoods_CheckInventoryAvailableByPackage_Response {
optional bool inventory_available = 1;
optional bool high_pending_orders = 2;
}
service PhysicalGoods {
rpc CheckInventoryAvailableByPackage (.CPhysicalGoods_CheckInventoryAvailableByPackage_Request) returns (.CPhysicalGoods_CheckInventoryAvailableByPackage_Response);
}

View File

@@ -0,0 +1,924 @@
import "common_base.proto";
import "common.proto";
message CPlayer_AcceptSSA_Request {
optional int32 agreement_type = 1 [(.description) = "enum"];
optional uint32 time_signed_utc = 2;
}
message CPlayer_AcceptSSA_Response {
}
message CPlayer_AddFriend_Request {
optional fixed64 steamid = 1;
}
message CPlayer_AddFriend_Response {
optional bool invite_sent = 1;
optional uint32 friend_relationship = 2;
optional int32 result = 3;
}
message CPlayer_CommunityPreferences {
optional bool hide_adult_content_violence = 1 [default = true];
optional bool hide_adult_content_sex = 2 [default = true];
optional uint32 timestamp_updated = 3;
optional bool parenthesize_nicknames = 4 [default = false];
optional int32 text_filter_setting = 5 [(.description) = "enum"];
optional bool text_filter_ignore_friends = 6 [default = true];
optional uint32 text_filter_words_revision = 7;
}
message CPlayer_CommunityPreferencesChanged_Notification {
optional .CPlayer_CommunityPreferences preferences = 1;
optional .UserContentDescriptorPreferences content_descriptor_preferences = 2;
}
message CPlayer_DeletePostedStatus_Request {
optional uint64 postid = 1;
}
message CPlayer_DeletePostedStatus_Response {
}
message CPlayer_FriendEquippedProfileItemsChanged_Notification {
optional fixed32 accountid = 1;
}
message CPlayer_FriendNicknameChanged_Notification {
optional fixed32 accountid = 1;
optional string nickname = 2;
optional bool is_echo_to_self = 3;
}
message CPlayer_GetAchievementsProgress_Request {
optional uint64 steamid = 1;
optional string language = 2;
repeated uint32 appids = 3;
optional bool include_unvetted_apps = 4;
}
message CPlayer_GetAchievementsProgress_Response {
repeated .CPlayer_GetAchievementsProgress_Response_AchievementProgress achievement_progress = 1;
}
message CPlayer_GetAchievementsProgress_Response_AchievementProgress {
optional uint32 appid = 1;
optional uint32 unlocked = 2;
optional uint32 total = 3;
optional float percentage = 4;
optional bool all_unlocked = 5;
optional uint32 cache_time = 6;
optional bool vetted = 7;
}
message CPlayer_GetAnimatedAvatar_Request {
optional fixed64 steamid = 1;
optional string language = 2;
}
message CPlayer_GetAnimatedAvatar_Response {
optional .ProfileItem avatar = 1;
}
message CPlayer_GetAvatarFrame_Request {
optional fixed64 steamid = 1;
optional string language = 2;
}
message CPlayer_GetAvatarFrame_Response {
optional .ProfileItem avatar_frame = 1;
}
message CPlayer_GetCommunityBadgeProgress_Request {
optional uint64 steamid = 1;
optional int32 badgeid = 2;
}
message CPlayer_GetCommunityBadgeProgress_Response {
repeated .CPlayer_GetCommunityBadgeProgress_Response_Quest quests = 1;
}
message CPlayer_GetCommunityBadgeProgress_Response_Quest {
optional uint32 questid = 1;
optional bool completed = 2;
}
message CPlayer_GetCommunityPreferences_Request {
}
message CPlayer_GetCommunityPreferences_Response {
optional .CPlayer_CommunityPreferences preferences = 1;
optional .UserContentDescriptorPreferences content_descriptor_preferences = 2;
}
message CPlayer_GetDurationControl_Request {
optional uint32 appid = 1;
}
message CPlayer_GetDurationControl_Response {
optional bool is_enabled = 1;
optional int32 seconds = 2;
optional int32 seconds_today = 3;
optional bool is_steamchina_account = 4;
optional bool is_age_verified = 5;
optional uint32 seconds_allowed_today = 6;
optional bool age_verification_pending = 7;
optional bool block_minors = 8;
}
message CPlayer_GetEmoticonList_Request {
}
message CPlayer_GetEmoticonList_Response {
repeated .CPlayer_GetEmoticonList_Response_Emoticon emoticons = 1;
}
message CPlayer_GetEmoticonList_Response_Emoticon {
optional string name = 1;
optional int32 count = 2;
optional uint32 time_last_used = 3;
optional uint32 use_count = 4;
optional uint32 time_received = 5;
optional uint32 appid = 6;
}
message CPlayer_GetFavoriteBadge_Request {
optional uint64 steamid = 1;
}
message CPlayer_GetFavoriteBadge_Response {
optional bool has_favorite_badge = 1;
optional uint32 badgeid = 2;
optional uint64 communityitemid = 3;
optional uint32 item_type = 4;
optional uint32 border_color = 5;
optional uint32 appid = 6;
optional uint32 level = 7;
}
message CPlayer_GetFriendsAppsActivity_Request {
optional string news_language = 1;
optional uint32 request_flags = 2;
}
message CPlayer_GetFriendsAppsActivity_Response {
repeated .CPlayer_GetFriendsAppsActivity_Response_AppFriendsInfo trending = 1;
repeated .CPlayer_GetFriendsAppsActivity_Response_AppFriendsInfo recent_purchases = 2;
repeated .CPlayer_GetFriendsAppsActivity_Response_AppFriendsInfo unowned = 3;
repeated .CPlayer_GetFriendsAppsActivity_Response_AppFriendsInfo popular = 4;
repeated .CPlayer_GetFriendsAppsActivity_Response_AppFriendsInfo dont_forget = 5;
repeated .CPlayer_GetFriendsAppsActivity_Response_AppFriendsInfo being_discussed = 6;
repeated .CPlayer_GetFriendsAppsActivity_Response_AppFriendsInfo new_to_group = 7;
repeated .CPlayer_GetFriendsAppsActivity_Response_AppFriendsInfo returned_to_group = 8;
optional uint32 active_friend_count = 9 [default = 0];
}
message CPlayer_GetFriendsAppsActivity_Response_AppFriendsInfo {
optional uint32 appid = 1;
repeated .CPlayer_GetFriendsAppsActivity_Response_FriendPlayTime friends = 2;
optional uint32 display_order = 3;
}
message CPlayer_GetFriendsAppsActivity_Response_FriendPlayTime {
optional fixed64 steamid = 1;
optional uint32 minutes_played_this_week = 2;
optional uint32 minutes_played_two_weeks = 3;
optional uint32 minutes_played_forever = 4;
optional uint32 event_count = 5;
}
message CPlayer_GetFriendsGameplayInfo_Request {
optional uint32 appid = 1;
}
message CPlayer_GetFriendsGameplayInfo_Response {
optional .CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo your_info = 1;
repeated .CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo in_game = 2;
repeated .CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo played_recently = 3;
repeated .CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo played_ever = 4;
repeated .CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo owns = 5;
repeated .CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo in_wishlist = 6;
}
message CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo {
optional fixed64 steamid = 1;
optional uint32 minutes_played = 2;
optional uint32 minutes_played_forever = 3;
}
message CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo {
optional fixed64 steamid = 1;
optional uint32 minutes_played = 2;
optional uint32 minutes_played_forever = 3;
optional bool in_wishlist = 4;
optional bool owned = 5;
}
message CPlayer_GetGameAchievements_Request {
optional uint32 appid = 1;
optional string language = 2;
}
message CPlayer_GetGameAchievements_Response {
repeated .CPlayer_GetGameAchievements_Response_Achievement achievements = 1;
}
message CPlayer_GetGameAchievements_Response_Achievement {
optional string internal_name = 1;
optional string localized_name = 2;
optional string localized_desc = 3;
optional string icon = 4;
optional string icon_gray = 5;
optional bool hidden = 6;
optional string player_percent_unlocked = 7;
}
message CPlayer_GetGameBadgeLevels_Request {
optional uint32 appid = 1;
}
message CPlayer_GetGameBadgeLevels_Response {
optional uint32 player_level = 1;
repeated .CPlayer_GetGameBadgeLevels_Response_Badge badges = 2;
}
message CPlayer_GetGameBadgeLevels_Response_Badge {
optional int32 level = 1;
optional int32 series = 2;
optional uint32 border_color = 3;
}
message CPlayer_GetLastPlayedTimes_Request {
optional uint32 min_last_played = 1;
}
message CPlayer_GetLastPlayedTimes_Response {
repeated .CPlayer_GetLastPlayedTimes_Response_Game games = 1;
}
message CPlayer_GetLastPlayedTimes_Response_Game {
optional int32 appid = 1;
optional uint32 last_playtime = 2;
optional int32 playtime_2weeks = 3;
optional int32 playtime_forever = 4;
optional uint32 first_playtime = 5;
optional int32 playtime_windows_forever = 6;
optional int32 playtime_mac_forever = 7;
optional int32 playtime_linux_forever = 8;
optional uint32 first_windows_playtime = 9;
optional uint32 first_mac_playtime = 10;
optional uint32 first_linux_playtime = 11;
optional uint32 last_windows_playtime = 12;
optional uint32 last_mac_playtime = 13;
optional uint32 last_linux_playtime = 14;
optional uint32 playtime_disconnected = 15;
optional int32 playtime_deck_forever = 16;
optional uint32 first_deck_playtime = 17;
optional uint32 last_deck_playtime = 18;
}
message CPlayer_GetMiniProfileBackground_Request {
optional fixed64 steamid = 1;
optional string language = 2;
}
message CPlayer_GetMiniProfileBackground_Response {
optional .ProfileItem profile_background = 1;
}
message CPlayer_GetMutualFriendsForIncomingInvites_Request {
}
message CPlayer_GetMutualFriendsForIncomingInvites_Response {
repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1;
}
message CPlayer_GetNewSteamAnnouncementState_Request {
optional int32 language = 1;
}
message CPlayer_GetNewSteamAnnouncementState_Response {
optional int32 state = 1 [(.description) = "enum"];
optional string announcement_headline = 2;
optional string announcement_url = 3;
optional uint32 time_posted = 4;
optional uint64 announcement_gid = 5;
}
message CPlayer_GetNicknameList_Request {
}
message CPlayer_GetNicknameList_Response {
repeated .CPlayer_GetNicknameList_Response_PlayerNickname nicknames = 1;
}
message CPlayer_GetNicknameList_Response_PlayerNickname {
optional fixed32 accountid = 1;
optional string nickname = 2;
}
message CPlayer_GetOwnedGames_Request {
optional uint64 steamid = 1;
optional bool include_appinfo = 2;
optional bool include_played_free_games = 3;
repeated uint32 appids_filter = 4;
optional bool include_free_sub = 5;
optional bool skip_unvetted_apps = 6 [default = true];
optional string language = 7;
optional bool include_extended_appinfo = 8;
}
message CPlayer_GetOwnedGames_Response {
optional uint32 game_count = 1;
repeated .CPlayer_GetOwnedGames_Response_Game games = 2;
}
message CPlayer_GetOwnedGames_Response_Game {
optional int32 appid = 1;
optional string name = 2;
optional int32 playtime_2weeks = 3;
optional int32 playtime_forever = 4;
optional string img_icon_url = 5;
optional string img_logo_url = 6;
optional bool has_community_visible_stats = 7;
optional int32 playtime_windows_forever = 8;
optional int32 playtime_mac_forever = 9;
optional int32 playtime_linux_forever = 10;
optional uint32 rtime_last_played = 11;
optional string capsule_filename = 12;
optional string sort_as = 13;
optional bool has_workshop = 14;
optional bool has_market = 15;
optional bool has_dlc = 16;
optional bool has_leaderboards = 17;
repeated uint32 content_descriptorids = 18;
optional int32 playtime_disconnected = 19;
optional int32 playtime_deck_forever = 20;
}
message CPlayer_GetPerFriendPreferences_Request {
}
message CPlayer_GetPerFriendPreferences_Response {
repeated .PerFriendPreferences preferences = 1;
}
message CPlayer_GetPlayerLinkDetails_Request {
repeated uint64 steamids = 1;
}
message CPlayer_GetPlayerLinkDetails_Response {
repeated .CPlayer_GetPlayerLinkDetails_Response_PlayerLinkDetails accounts = 1;
}
message CPlayer_GetPlayerLinkDetails_Response_PlayerLinkDetails {
optional .CPlayer_GetPlayerLinkDetails_Response_PlayerLinkDetails_AccountPublicData public_data = 1;
optional .CPlayer_GetPlayerLinkDetails_Response_PlayerLinkDetails_AccountPrivateData private_data = 2;
}
message CPlayer_GetPlayerLinkDetails_Response_PlayerLinkDetails_AccountPrivateData {
optional int32 persona_state = 1;
optional uint32 persona_state_flags = 2;
optional uint32 time_created = 3;
optional fixed64 game_id = 4;
optional fixed64 game_server_steam_id = 5;
optional uint32 game_server_ip_address = 6;
optional uint32 game_server_port = 7;
optional string game_extra_info = 8;
optional string account_name = 9;
optional fixed64 lobby_steam_id = 10;
optional string rich_presence_kv = 11;
optional fixed64 broadcast_session_id = 12;
optional uint32 watching_broadcast_accountid = 13;
optional uint32 watching_broadcast_appid = 14;
optional uint32 watching_broadcast_viewers = 15;
optional string watching_broadcast_title = 16;
optional uint32 last_logoff_time = 17;
optional uint32 last_seen_online = 18;
optional int32 game_os_type = 19;
optional int32 game_device_type = 20;
optional string game_device_name = 21;
optional bool game_is_private = 22;
}
message CPlayer_GetPlayerLinkDetails_Response_PlayerLinkDetails_AccountPublicData {
optional fixed64 steamid = 1;
optional int32 visibility_state = 2;
optional int32 privacy_state = 3;
optional int32 profile_state = 4;
optional uint32 ban_expires_time = 7;
optional uint32 account_flags = 8;
optional bytes sha_digest_avatar = 9;
optional string persona_name = 10;
optional string profile_url = 11;
optional bool content_country_restricted = 12;
}
message CPlayer_GetPlayNext_Request {
optional uint32 max_age_seconds = 1;
repeated uint32 ignore_appids = 2;
}
message CPlayer_GetPlayNext_Response {
optional uint32 last_update_time = 1;
repeated uint32 appids = 2;
}
message CPlayer_GetPostedStatus_Request {
optional uint64 steamid = 1;
optional uint64 postid = 2;
}
message CPlayer_GetPostedStatus_Response {
optional uint32 accountid = 1;
optional uint64 postid = 2;
optional string status_text = 3;
optional bool deleted = 4;
optional uint32 appid = 5;
}
message CPlayer_GetPrivacySettings_Request {
}
message CPlayer_GetPrivacySettings_Response {
optional .CPrivacySettings privacy_settings = 1;
}
message CPlayer_GetProfileBackground_Request {
optional fixed64 steamid = 1;
optional string language = 2;
}
message CPlayer_GetProfileBackground_Response {
optional .ProfileItem profile_background = 1;
}
message CPlayer_GetProfileCustomization_Request {
optional fixed64 steamid = 1;
optional bool include_inactive_customizations = 2;
optional bool include_purchased_customizations = 3;
}
message CPlayer_GetProfileCustomization_Response {
repeated .ProfileCustomization customizations = 1;
optional uint32 slots_available = 2;
optional .ProfileTheme profile_theme = 3;
repeated .CPlayer_GetProfileCustomization_Response_PurchasedCustomization purchased_customizations = 4;
optional .ProfilePreferences profile_preferences = 5;
}
message CPlayer_GetProfileCustomization_Response_PurchasedCustomization {
optional uint64 purchaseid = 1;
optional int32 customization_type = 2 [(.description) = "enum"];
optional uint32 level = 3;
}
message CPlayer_GetProfileItemsEquipped_Request {
optional fixed64 steamid = 1;
optional string language = 2;
}
message CPlayer_GetProfileItemsEquipped_Response {
optional .ProfileItem profile_background = 1;
optional .ProfileItem mini_profile_background = 2;
optional .ProfileItem avatar_frame = 3;
optional .ProfileItem animated_avatar = 4;
optional .ProfileItem profile_modifier = 5;
optional .ProfileItem steam_deck_keyboard_skin = 6;
}
message CPlayer_GetProfileItemsOwned_Request {
optional string language = 1;
repeated int32 filters = 2 [(.description) = "enum"];
}
message CPlayer_GetProfileItemsOwned_Response {
repeated .ProfileItem profile_backgrounds = 1;
repeated .ProfileItem mini_profile_backgrounds = 2;
repeated .ProfileItem avatar_frames = 3;
repeated .ProfileItem animated_avatars = 4;
repeated .ProfileItem profile_modifiers = 5;
repeated .ProfileItem steam_deck_keyboard_skins = 6;
repeated .ProfileItem steam_deck_startup_movies = 7;
}
message CPlayer_GetProfileThemesAvailable_Request {
}
message CPlayer_GetProfileThemesAvailable_Response {
repeated .ProfileTheme profile_themes = 1;
}
message CPlayer_GetPurchasedAndUpgradedProfileCustomizations_Request {
optional fixed64 steamid = 1;
}
message CPlayer_GetPurchasedAndUpgradedProfileCustomizations_Response {
repeated .CPlayer_GetPurchasedAndUpgradedProfileCustomizations_Response_PurchasedCustomization purchased_customizations = 1;
repeated .CPlayer_GetPurchasedAndUpgradedProfileCustomizations_Response_UpgradedCustomization upgraded_customizations = 2;
}
message CPlayer_GetPurchasedAndUpgradedProfileCustomizations_Response_PurchasedCustomization {
optional int32 customization_type = 1 [(.description) = "enum"];
optional uint32 count = 2;
}
message CPlayer_GetPurchasedAndUpgradedProfileCustomizations_Response_UpgradedCustomization {
optional int32 customization_type = 1 [(.description) = "enum"];
optional uint32 level = 2;
}
message CPlayer_GetPurchasedProfileCustomizations_Request {
optional fixed64 steamid = 1;
}
message CPlayer_GetPurchasedProfileCustomizations_Response {
repeated .CPlayer_GetPurchasedProfileCustomizations_Response_PurchasedCustomization purchased_customizations = 1;
}
message CPlayer_GetPurchasedProfileCustomizations_Response_PurchasedCustomization {
optional uint64 purchaseid = 1;
optional int32 customization_type = 2 [(.description) = "enum"];
}
message CPlayer_GetRecentPlaytimeSessionsForChild_Request {
optional uint64 steamid = 1;
}
message CPlayer_GetRecentPlaytimeSessionsForChild_Response {
repeated .CPlayer_GetRecentPlaytimeSessionsForChild_Response_PlaytimeSession sessions = 1;
}
message CPlayer_GetRecentPlaytimeSessionsForChild_Response_PlaytimeSession {
optional uint32 time_start = 1;
optional uint32 time_end = 2;
optional uint32 appid = 3;
optional uint32 device_type = 4;
optional bool disconnected = 5;
}
message CPlayer_GetSteamDeckKeyboardSkin_Request {
optional fixed64 steamid = 1;
optional string language = 2;
}
message CPlayer_GetSteamDeckKeyboardSkin_Response {
optional .ProfileItem steam_deck_keyboard_skin = 1;
}
message CPlayer_GetTextFilterWords_Request {
}
message CPlayer_GetTextFilterWords_Response {
optional .CPlayer_TextFilterWords words = 1;
}
message CPlayer_GetTimeSSAAccepted_Request {
}
message CPlayer_GetTimeSSAAccepted_Response {
optional uint32 time_ssa_accepted = 1;
optional uint32 time_ssa_updated = 2;
optional uint32 time_chinassa_accepted = 3;
}
message CPlayer_GetTopAchievementsForGames_Request {
optional uint64 steamid = 1;
optional string language = 2;
optional uint32 max_achievements = 3;
repeated uint32 appids = 4;
}
message CPlayer_GetTopAchievementsForGames_Response {
repeated .CPlayer_GetTopAchievementsForGames_Response_Game games = 1;
}
message CPlayer_GetTopAchievementsForGames_Response_Achievement {
optional uint32 statid = 1;
optional uint32 bit = 2;
optional string name = 3;
optional string desc = 4;
optional string icon = 5;
optional string icon_gray = 6;
optional bool hidden = 7;
optional string player_percent_unlocked = 8;
}
message CPlayer_GetTopAchievementsForGames_Response_Game {
optional uint32 appid = 1;
optional uint32 total_achievements = 2;
repeated .CPlayer_GetTopAchievementsForGames_Response_Achievement achievements = 3;
}
message CPlayer_IgnoreFriend_Request {
optional fixed64 steamid = 1;
optional bool unignore = 2;
}
message CPlayer_IgnoreFriend_Response {
optional uint32 friend_relationship = 1;
}
message CPlayer_IncomingInviteMutualFriendList {
optional fixed64 steamid = 1;
repeated uint32 mutual_friend_account_ids = 2;
}
message CPlayer_LastPlayedTimes_Notification {
repeated .CPlayer_GetLastPlayedTimes_Response_Game games = 1;
}
message CPlayer_NewSteamAnnouncementState_Notification {
optional int32 state = 1 [(.description) = "enum"];
optional string announcement_headline = 2;
optional string announcement_url = 3;
optional uint32 time_posted = 4;
optional uint64 announcement_gid = 5;
}
message CPlayer_PerFriendPreferencesChanged_Notification {
optional fixed32 accountid = 1;
optional .PerFriendPreferences preferences = 2;
}
message CPlayer_PostStatusToFriends_Request {
optional uint32 appid = 1;
optional string status_text = 2;
}
message CPlayer_PostStatusToFriends_Response {
}
message CPlayer_PrivacySettingsChanged_Notification {
optional .CPrivacySettings privacy_settings = 1;
}
message CPlayer_RecordDisconnectedPlaytime_Request {
repeated .CPlayer_RecordDisconnectedPlaytime_Request_PlayHistory play_sessions = 3;
}
message CPlayer_RecordDisconnectedPlaytime_Request_PlayHistory {
optional uint32 appid = 1;
optional uint32 session_time_start = 2;
optional uint32 seconds = 3;
optional bool offline = 4;
optional uint32 owner = 5;
}
message CPlayer_RecordDisconnectedPlaytime_Response {
}
message CPlayer_RemoveFriend_Request {
optional fixed64 steamid = 1;
}
message CPlayer_RemoveFriend_Response {
optional uint32 friend_relationship = 1;
}
message CPlayer_SetAnimatedAvatar_Request {
optional uint64 communityitemid = 1;
}
message CPlayer_SetAnimatedAvatar_Response {
}
message CPlayer_SetAvatarFrame_Request {
optional uint64 communityitemid = 1;
}
message CPlayer_SetAvatarFrame_Response {
}
message CPlayer_SetCommunityPreferences_Request {
optional .CPlayer_CommunityPreferences preferences = 1;
}
message CPlayer_SetCommunityPreferences_Response {
}
message CPlayer_SetEquippedProfileItemFlags_Request {
optional uint64 communityitemid = 1;
optional uint32 flags = 2;
}
message CPlayer_SetEquippedProfileItemFlags_Response {
}
message CPlayer_SetFavoriteBadge_Request {
optional uint64 communityitemid = 1;
optional uint32 badgeid = 2;
}
message CPlayer_SetFavoriteBadge_Response {
}
message CPlayer_SetMiniProfileBackground_Request {
optional uint64 communityitemid = 1;
}
message CPlayer_SetMiniProfileBackground_Response {
}
message CPlayer_SetPerFriendPreferences_Request {
optional .PerFriendPreferences preferences = 1;
}
message CPlayer_SetPerFriendPreferences_Response {
}
message CPlayer_SetProfileBackground_Request {
optional uint64 communityitemid = 1;
}
message CPlayer_SetProfileBackground_Response {
}
message CPlayer_SetProfilePreferences_Request {
optional .ProfilePreferences profile_preferences = 1;
}
message CPlayer_SetProfilePreferences_Response {
}
message CPlayer_SetProfileTheme_Request {
optional string theme_id = 1;
}
message CPlayer_SetProfileTheme_Response {
}
message CPlayer_SetSteamDeckKeyboardSkin_Request {
optional uint64 communityitemid = 1;
}
message CPlayer_SetSteamDeckKeyboardSkin_Response {
}
message CPlayer_TextFilterWords {
repeated string text_filter_custom_banned_words = 1;
repeated string text_filter_custom_clean_words = 2;
optional uint32 text_filter_words_revision = 3;
}
message CPlayer_TextFilterWordsChanged_Notification {
optional .CPlayer_TextFilterWords words = 1;
}
message CPlayer_UpdateSteamAnnouncementLastRead_Request {
optional uint64 announcement_gid = 1;
optional uint32 time_posted = 2;
}
message CPlayer_UpdateSteamAnnouncementLastRead_Response {
}
message CPrivacySettings {
optional int32 privacy_state = 1;
optional int32 privacy_state_inventory = 2;
optional int32 privacy_state_gifts = 3;
optional int32 privacy_state_ownedgames = 4;
optional int32 privacy_state_playtime = 5;
optional int32 privacy_state_friendslist = 6;
}
message PerFriendPreferences {
optional fixed32 accountid = 1;
optional string nickname = 2;
optional int32 notifications_showingame = 3 [(.description) = "enum"];
optional int32 notifications_showonline = 4 [(.description) = "enum"];
optional int32 notifications_showmessages = 5 [(.description) = "enum"];
optional int32 sounds_showingame = 6 [(.description) = "enum"];
optional int32 sounds_showonline = 7 [(.description) = "enum"];
optional int32 sounds_showmessages = 8 [(.description) = "enum"];
optional int32 notifications_sendmobile = 9 [(.description) = "enum"];
}
message ProfileCustomization {
optional int32 customization_type = 1 [(.description) = "enum"];
optional bool large = 2;
repeated .ProfileCustomizationSlot slots = 3;
optional bool active = 4;
optional int32 customization_style = 5 [(.description) = "enum"];
optional uint64 purchaseid = 6;
optional uint32 level = 7;
}
message ProfileCustomizationSlot {
optional uint32 slot = 1;
optional uint32 appid = 2;
optional uint64 publishedfileid = 3;
optional uint64 item_assetid = 4;
optional uint64 item_contextid = 5;
optional string notes = 6;
optional string title = 7;
optional uint32 accountid = 8;
optional uint32 badgeid = 9;
optional uint32 border_color = 10;
optional uint64 item_classid = 11;
optional uint64 item_instanceid = 12;
optional int32 ban_check_result = 13 [(.description) = "enum"];
optional uint32 replay_year = 14;
}
message ProfileItem {
optional uint64 communityitemid = 1;
optional string image_small = 2;
optional string image_large = 3;
optional string name = 4;
optional string item_title = 5;
optional string item_description = 6;
optional uint32 appid = 7;
optional uint32 item_type = 8;
optional uint32 item_class = 9;
optional string movie_webm = 10;
optional string movie_mp4 = 11;
optional uint32 equipped_flags = 12;
optional string movie_webm_small = 13;
optional string movie_mp4_small = 14;
repeated .ProfileItem_ProfileColor profile_colors = 15;
}
message ProfileItem_ProfileColor {
optional string style_name = 1;
optional string color = 2;
}
message ProfilePreferences {
optional bool hide_profile_awards = 1;
}
message ProfileTheme {
optional string theme_id = 1;
optional string title = 2;
}
service Player {
rpc AcceptSSA (.CPlayer_AcceptSSA_Request) returns (.CPlayer_AcceptSSA_Response);
rpc AddFriend (.CPlayer_AddFriend_Request) returns (.CPlayer_AddFriend_Response);
rpc ClientGetLastPlayedTimes (.CPlayer_GetLastPlayedTimes_Request) returns (.CPlayer_GetLastPlayedTimes_Response);
rpc DeletePostedStatus (.CPlayer_DeletePostedStatus_Request) returns (.CPlayer_DeletePostedStatus_Response);
rpc GetAchievementsProgress (.CPlayer_GetAchievementsProgress_Request) returns (.CPlayer_GetAchievementsProgress_Response);
rpc GetAnimatedAvatar (.CPlayer_GetAnimatedAvatar_Request) returns (.CPlayer_GetAnimatedAvatar_Response);
rpc GetAvatarFrame (.CPlayer_GetAvatarFrame_Request) returns (.CPlayer_GetAvatarFrame_Response);
rpc GetCommunityBadgeProgress (.CPlayer_GetCommunityBadgeProgress_Request) returns (.CPlayer_GetCommunityBadgeProgress_Response);
rpc GetCommunityPreferences (.CPlayer_GetCommunityPreferences_Request) returns (.CPlayer_GetCommunityPreferences_Response);
rpc GetDurationControl (.CPlayer_GetDurationControl_Request) returns (.CPlayer_GetDurationControl_Response);
rpc GetEmoticonList (.CPlayer_GetEmoticonList_Request) returns (.CPlayer_GetEmoticonList_Response);
rpc GetFavoriteBadge (.CPlayer_GetFavoriteBadge_Request) returns (.CPlayer_GetFavoriteBadge_Response);
rpc GetFriendsAppsActivity (.CPlayer_GetFriendsAppsActivity_Request) returns (.CPlayer_GetFriendsAppsActivity_Response);
rpc GetFriendsGameplayInfo (.CPlayer_GetFriendsGameplayInfo_Request) returns (.CPlayer_GetFriendsGameplayInfo_Response);
rpc GetGameAchievements (.CPlayer_GetGameAchievements_Request) returns (.CPlayer_GetGameAchievements_Response);
rpc GetGameBadgeLevels (.CPlayer_GetGameBadgeLevels_Request) returns (.CPlayer_GetGameBadgeLevels_Response);
rpc GetMiniProfileBackground (.CPlayer_GetMiniProfileBackground_Request) returns (.CPlayer_GetMiniProfileBackground_Response);
rpc GetMutualFriendsForIncomingInvites (.CPlayer_GetMutualFriendsForIncomingInvites_Request) returns (.CPlayer_GetMutualFriendsForIncomingInvites_Response);
rpc GetNewSteamAnnouncementState (.CPlayer_GetNewSteamAnnouncementState_Request) returns (.CPlayer_GetNewSteamAnnouncementState_Response);
rpc GetNicknameList (.CPlayer_GetNicknameList_Request) returns (.CPlayer_GetNicknameList_Response);
rpc GetOwnedGames (.CPlayer_GetOwnedGames_Request) returns (.CPlayer_GetOwnedGames_Response);
rpc GetPerFriendPreferences (.CPlayer_GetPerFriendPreferences_Request) returns (.CPlayer_GetPerFriendPreferences_Response);
rpc GetPlayerLinkDetails (.CPlayer_GetPlayerLinkDetails_Request) returns (.CPlayer_GetPlayerLinkDetails_Response);
rpc GetPlayNext (.CPlayer_GetPlayNext_Request) returns (.CPlayer_GetPlayNext_Response);
rpc GetPostedStatus (.CPlayer_GetPostedStatus_Request) returns (.CPlayer_GetPostedStatus_Response);
rpc GetPrivacySettings (.CPlayer_GetPrivacySettings_Request) returns (.CPlayer_GetPrivacySettings_Response);
rpc GetProfileBackground (.CPlayer_GetProfileBackground_Request) returns (.CPlayer_GetProfileBackground_Response);
rpc GetProfileCustomization (.CPlayer_GetProfileCustomization_Request) returns (.CPlayer_GetProfileCustomization_Response);
rpc GetProfileItemsEquipped (.CPlayer_GetProfileItemsEquipped_Request) returns (.CPlayer_GetProfileItemsEquipped_Response);
rpc GetProfileItemsOwned (.CPlayer_GetProfileItemsOwned_Request) returns (.CPlayer_GetProfileItemsOwned_Response);
rpc GetProfileThemesAvailable (.CPlayer_GetProfileThemesAvailable_Request) returns (.CPlayer_GetProfileThemesAvailable_Response);
rpc GetPurchasedAndUpgradedProfileCustomizations (.CPlayer_GetPurchasedAndUpgradedProfileCustomizations_Request) returns (.CPlayer_GetPurchasedAndUpgradedProfileCustomizations_Response);
rpc GetPurchasedProfileCustomizations (.CPlayer_GetPurchasedProfileCustomizations_Request) returns (.CPlayer_GetPurchasedProfileCustomizations_Response);
rpc GetRecentPlaytimeSessionsForChild (.CPlayer_GetRecentPlaytimeSessionsForChild_Request) returns (.CPlayer_GetRecentPlaytimeSessionsForChild_Response);
rpc GetSteamDeckKeyboardSkin (.CPlayer_GetSteamDeckKeyboardSkin_Request) returns (.CPlayer_GetSteamDeckKeyboardSkin_Response);
rpc GetTextFilterWords (.CPlayer_GetTextFilterWords_Request) returns (.CPlayer_GetTextFilterWords_Response);
rpc GetTimeSSAAccepted (.CPlayer_GetTimeSSAAccepted_Request) returns (.CPlayer_GetTimeSSAAccepted_Response);
rpc GetTopAchievementsForGames (.CPlayer_GetTopAchievementsForGames_Request) returns (.CPlayer_GetTopAchievementsForGames_Response);
rpc IgnoreFriend (.CPlayer_IgnoreFriend_Request) returns (.CPlayer_IgnoreFriend_Response);
rpc PostStatusToFriends (.CPlayer_PostStatusToFriends_Request) returns (.CPlayer_PostStatusToFriends_Response);
rpc RecordDisconnectedPlaytime (.CPlayer_RecordDisconnectedPlaytime_Request) returns (.CPlayer_RecordDisconnectedPlaytime_Response);
rpc RemoveFriend (.CPlayer_RemoveFriend_Request) returns (.CPlayer_RemoveFriend_Response);
rpc SetAnimatedAvatar (.CPlayer_SetAnimatedAvatar_Request) returns (.CPlayer_SetAnimatedAvatar_Response);
rpc SetAvatarFrame (.CPlayer_SetAvatarFrame_Request) returns (.CPlayer_SetAvatarFrame_Response);
rpc SetCommunityPreferences (.CPlayer_SetCommunityPreferences_Request) returns (.CPlayer_SetCommunityPreferences_Response);
rpc SetEquippedProfileItemFlags (.CPlayer_SetEquippedProfileItemFlags_Request) returns (.CPlayer_SetEquippedProfileItemFlags_Response);
rpc SetFavoriteBadge (.CPlayer_SetFavoriteBadge_Request) returns (.CPlayer_SetFavoriteBadge_Response);
rpc SetMiniProfileBackground (.CPlayer_SetMiniProfileBackground_Request) returns (.CPlayer_SetMiniProfileBackground_Response);
rpc SetPerFriendPreferences (.CPlayer_SetPerFriendPreferences_Request) returns (.CPlayer_SetPerFriendPreferences_Response);
rpc SetProfileBackground (.CPlayer_SetProfileBackground_Request) returns (.CPlayer_SetProfileBackground_Response);
rpc SetProfilePreferences (.CPlayer_SetProfilePreferences_Request) returns (.CPlayer_SetProfilePreferences_Response);
rpc SetProfileTheme (.CPlayer_SetProfileTheme_Request) returns (.CPlayer_SetProfileTheme_Response);
rpc SetSteamDeckKeyboardSkin (.CPlayer_SetSteamDeckKeyboardSkin_Request) returns (.CPlayer_SetSteamDeckKeyboardSkin_Response);
rpc UpdateSteamAnnouncementLastRead (.CPlayer_UpdateSteamAnnouncementLastRead_Request) returns (.CPlayer_UpdateSteamAnnouncementLastRead_Response);
}
service PlayerClient {
rpc NotifyCommunityPreferencesChanged (.CPlayer_CommunityPreferencesChanged_Notification) returns (.NoResponse);
rpc NotifyFriendEquippedProfileItemsChanged (.CPlayer_FriendEquippedProfileItemsChanged_Notification) returns (.NoResponse);
rpc NotifyFriendNicknameChanged (.CPlayer_FriendNicknameChanged_Notification) returns (.NoResponse);
rpc NotifyLastPlayedTimes (.CPlayer_LastPlayedTimes_Notification) returns (.NoResponse);
rpc NotifyNewSteamAnnouncementState (.CPlayer_NewSteamAnnouncementState_Notification) returns (.NoResponse);
rpc NotifyPerFriendPreferencesChanged (.CPlayer_PerFriendPreferencesChanged_Notification) returns (.NoResponse);
rpc NotifyPrivacyPrivacySettingsChanged (.CPlayer_PrivacySettingsChanged_Notification) returns (.NoResponse);
rpc NotifyTextFilterWordsChanged (.CPlayer_TextFilterWordsChanged_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,33 @@
import "common_base.proto";
message CPlaytest_GetInvites_Request {
optional uint64 invite_id = 1;
}
message CPlaytest_GetInvites_Response {
repeated .CPlaytest_GetInvites_Response_Invite invites = 1;
}
message CPlaytest_GetInvites_Response_Invite {
optional uint64 invite_id = 1;
optional uint32 appid = 2;
optional fixed64 steamid_inviter = 3;
optional int32 status = 4 [(.description) = "enum"];
optional uint32 time_created = 5;
optional string app_name = 6;
}
message CPlaytest_UpdateInvites_Request {
repeated uint64 invite_ids = 1;
optional int32 status = 2 [(.description) = "enum"];
}
message CPlaytest_UpdateInvites_Response {
optional uint32 invites_updated = 1;
}
service Playtest {
rpc GetInvites (.CPlaytest_GetInvites_Request) returns (.CPlaytest_GetInvites_Response);
rpc UpdateInvites (.CPlaytest_UpdateInvites_Request) returns (.CPlaytest_UpdateInvites_Response);
}

View File

@@ -0,0 +1,114 @@
import "common_base.proto";
message CPromotionEventInvitation {
optional fixed64 inviteid = 1;
optional uint32 appid = 2;
optional uint32 invite_account = 3;
optional uint32 rtinvitetime = 4;
optional uint32 rtexpiretime = 5;
optional int32 type = 6 [(.description) = "enum"];
optional uint32 accept_account = 7;
optional uint32 rtaccepttime = 8;
optional uint32 rtdatechosen = 9;
optional uint32 discount_eventid = 10;
optional uint32 packageid = 11;
optional uint32 bundleid = 12;
optional uint32 primary_partnerid = 13;
optional .CPromotionRequirements deadlines = 14;
optional bool notify_partner = 15;
repeated string additional_email = 16;
optional string promotion_id = 17;
optional bool cancelled = 18;
optional uint32 rtime32_cancel_time = 19;
optional bool require_sale_page = 20;
optional int32 require_sale_page_type = 21 [(.description) = "enum"];
optional string admin_notes = 22;
optional string partner_notes = 23;
}
message CPromotionEventInviteReceive {
optional uint32 accountid = 1;
optional uint32 partnerid = 2;
optional string email_address = 3;
}
message CPromotionEventInvites_AcceptInvite_Request {
optional fixed64 inviteid = 1;
optional uint32 rtdatechosen = 2;
optional uint32 discount_days = 3;
optional string discount_info = 4;
optional bool skip_discount_event = 5;
}
message CPromotionEventInvites_AcceptInvite_Response {
optional fixed64 gid = 1;
}
message CPromotionEventInvites_CancelInvite_Request {
optional fixed64 inviteid = 1;
}
message CPromotionEventInvites_CancelInvite_Response {
}
message CPromotionEventInvites_GetAllActiveInvites_Response {
repeated .CPromotionEventInvitation invites = 1;
}
message CPromotionEventInvites_GetEmailTargets_Request {
optional fixed64 inviteid = 1;
}
message CPromotionEventInvites_GetEmailTargets_Response {
repeated .CPromotionEventInviteReceive targets = 1;
repeated string additional_email_address = 2;
repeated uint32 valve_account_ids = 3;
optional string operation_email = 4;
}
message CPromotionEventInvites_GetInvite_Request {
optional fixed64 inviteid = 1;
optional uint32 appid = 2;
optional uint32 packageid = 3;
optional uint32 bundleid = 4;
optional uint32 partnerid = 5;
optional string promotion_id = 6;
}
message CPromotionEventInvites_GetInvite_Response {
repeated .CPromotionEventInvitation invites = 1;
}
message CPromotionEventInvites_ResendEmailInvite_Request {
optional fixed64 inviteid = 1;
optional bool only_notify_additional_email = 2;
}
message CPromotionEventInvites_ResendEmailInvite_Response {
}
message CPromotionEventInvites_SetInvite_Request {
optional .CPromotionEventInvitation invite = 1;
optional bool queue_email_to_send = 2;
}
message CPromotionEventInvites_SetInvite_Response {
optional fixed64 inviteid = 1;
}
message CPromotionRequirements {
optional uint32 spotlight_due_date = 1;
optional uint32 marketing_message_due_date = 2;
optional uint32 discount_event_due_date = 3;
}
service PromotionEventInvites {
rpc AcceptInvite (.CPromotionEventInvites_AcceptInvite_Request) returns (.CPromotionEventInvites_AcceptInvite_Response);
rpc CancelInvite (.CPromotionEventInvites_CancelInvite_Request) returns (.CPromotionEventInvites_CancelInvite_Response);
rpc GetAllActiveInvites (.NotImplemented) returns (.CPromotionEventInvites_GetAllActiveInvites_Response);
rpc GetEmailTargets (.CPromotionEventInvites_GetEmailTargets_Request) returns (.CPromotionEventInvites_GetEmailTargets_Response);
rpc GetInvite (.CPromotionEventInvites_GetInvite_Request) returns (.CPromotionEventInvites_GetInvite_Response);
rpc ResendEmailInvite (.CPromotionEventInvites_ResendEmailInvite_Request) returns (.CPromotionEventInvites_ResendEmailInvite_Response);
rpc SetInvite (.CPromotionEventInvites_SetInvite_Request) returns (.CPromotionEventInvites_SetInvite_Response);
}

View File

@@ -0,0 +1,360 @@
import "common_base.proto";
message CPromotionNotificationResults {
optional fixed64 notification_id = 1;
optional fixed64 tracking_id = 2;
optional string email_address = 3;
optional uint32 accountid = 4;
optional uint32 status = 5;
optional int32 type = 6 [(.description) = "enum"];
optional uint32 rt_send_time = 7;
}
message CPromotionPlan {
optional fixed64 promotion_id = 1;
optional string admin_jsondata = 2;
optional string partner_jsondata = 3;
optional string input_jsondata = 4;
optional uint32 rtime32_start_time = 5;
optional uint32 rtime32_end_time = 6;
optional uint32 partner_id = 7;
optional string input_access_key = 8;
optional uint32 last_update_time = 9;
optional string partner_readonly_jsondata = 10;
optional string partner_writable_jsondata = 11;
optional string assets_readonly_jsondata = 12;
optional string assets_writable_jsondata = 13;
}
message CPromotionPlan_CreateSalePageForPromo_Request {
optional uint32 clan_account_id = 1;
optional fixed64 clan_event_gid = 2;
optional uint32 rtime_sale_start = 3;
optional uint32 rtime_sale_end = 4;
optional fixed64 daily_deal_gid = 5;
optional fixed64 promotion_gid = 6;
optional bool create_asset_request = 7;
optional uint32 partner_id = 8;
optional uint32 advertising_appid = 9;
}
message CPromotionPlan_CreateSalePageForPromo_Response {
optional uint32 clan_account_id = 1;
optional fixed64 clan_event_gid = 2;
optional fixed64 daily_deal_gid = 3;
optional fixed64 promotion_gid = 4;
optional fixed64 asset_request_gid = 5;
optional uint32 advertising_appid = 6;
}
message CPromotionPlanning_CreatePlan_Request {
optional .CPromotionPlan plan = 1;
}
message CPromotionPlanning_CreatePlan_Response {
optional fixed64 promotion_id = 1;
optional string input_access_key = 2;
}
message CPromotionPlanning_DeletePlan_Request {
optional fixed64 promotion_id = 1;
}
message CPromotionPlanning_DeletePlan_Response {
}
message CPromotionPlanning_GetAdvertisingAppsForPartner_Request {
optional uint32 partner_id = 1;
}
message CPromotionPlanning_GetAdvertisingAppsForPartner_Response {
repeated .CPromotionPlanning_GetAdvertisingAppsForPartner_Response_advertising_app advertising_apps = 1;
}
message CPromotionPlanning_GetAdvertisingAppsForPartner_Response_advertising_app {
optional uint32 appid = 1;
optional string app_name = 2;
optional uint32 itemid = 3;
}
message CPromotionPlanning_GetAllActivePlan_Request {
}
message CPromotionPlanning_GetAllActivePlan_Response {
repeated .CPromotionPlan plan = 1;
}
message CPromotionPlanning_GetAllPlansForApps_Request {
repeated uint32 appids = 1;
optional bool exclude_sales = 2;
optional bool exclude_direct_featuring = 3;
}
message CPromotionPlanning_GetAllPlansForApps_Response {
repeated .CPromotionPlan plans = 1;
repeated .CPromotionPlanning_GetAllPlansForApps_Response_CAppIncludedInSales apps_included_in_sales = 2;
}
message CPromotionPlanning_GetAllPlansForApps_Response_CAppIncludedInSales {
repeated uint32 appids = 1;
optional fixed64 clan_event_gid = 2;
}
message CPromotionPlanning_GetAllPlansForPartner_Request {
optional uint32 partnerid = 1;
optional bool show_hidden = 4;
optional uint32 start_date = 5;
optional uint32 end_date = 6;
}
message CPromotionPlanning_GetAllPlansForPartner_Response {
repeated .CPromotionPlan plans = 1;
}
message CPromotionPlanning_GetAvailableWeekSlots_Request {
optional uint32 publisherid = 1;
optional uint32 rtime_start = 2;
}
message CPromotionPlanning_GetAvailableWeekSlots_Response {
repeated uint32 rt_weeklong_deals = 1;
repeated uint32 rt_weekend_deals = 2;
}
message CPromotionPlanning_GetPlan_Request {
optional fixed64 promotion_id = 1;
}
message CPromotionPlanning_GetPlan_Response {
optional .CPromotionPlan plan = 1;
}
message CPromotionPlanning_GetPlanByInputAccessKey_Request {
optional string input_access_key = 1;
}
message CPromotionPlanning_GetPlanByInputAccessKey_Response {
optional .CPromotionPlan plan = 1;
}
message CPromotionPlanning_GetPlanCompletedInDateRange_Request {
optional uint32 oldest_rtime = 1;
optional uint32 newest_rtime = 2;
repeated string promotion_types = 3;
}
message CPromotionPlanning_GetPlanCompletedInDateRange_Response {
repeated .CPromotionPlan plans = 1;
}
message CPromotionPlanning_GetPlansUpdatedSince_Request {
optional uint32 rtime = 1;
optional uint32 upto_rtime = 2;
}
message CPromotionPlanning_GetPlansUpdatedSince_Response {
repeated .CPromotionPlan plans = 1;
repeated fixed64 deleted_plan_ids = 2;
}
message CPromotionPlanning_GetPromotionPlanForSalePages_Request {
repeated .CPromotionPlanning_GetPromotionPlanForSalePages_Request_CSalePage request_list = 1;
}
message CPromotionPlanning_GetPromotionPlanForSalePages_Request_CSalePage {
optional uint32 clan_account_id = 1;
optional fixed64 gid_clan_event = 2;
}
message CPromotionPlanning_GetPromotionPlanForSalePages_Response {
repeated .CPromotionPlan plans = 1;
}
message CPromotionPlanning_GetPromotionPlanPackageSales_Request {
optional uint64 promotion_id = 1;
optional uint32 partnerid = 2;
}
message CPromotionPlanning_GetPromotionPlanPackageSales_Response {
repeated .CPromotionPlanning_GetPromotionPlanPackageSales_Response_PromotionPlanPackageSalesDetails promo_plan_package_sales_details = 1;
}
message CPromotionPlanning_GetPromotionPlanPackageSales_Response_PromotionPlanPackageSalesDetails {
optional string date = 1;
optional uint32 packageid = 2;
optional uint32 primary_app_id = 3;
optional bool is_dlc = 4;
optional int32 gross_units_sold = 5;
optional int64 gross_sales_usdx100 = 6;
}
message CPromotionPlanning_GetPromotionPlanSummarySales_Request {
optional uint32 num_weeks = 1;
repeated string promotion_types = 2;
}
message CPromotionPlanning_GetPromotionPlanSummarySales_Response {
repeated .CPromotionPlanning_GetPromotionPlanSummarySales_Response_CSummaryResults results = 1;
}
message CPromotionPlanning_GetPromotionPlanSummarySales_Response_CSummaryResults {
optional string promotion_type = 1;
optional int64 gross_sales_minimum_usdx100 = 2;
optional int64 gross_sales_median_usdx100 = 3;
optional int64 gross_sales_average_usdx100 = 4;
optional int64 gross_sales_maximum_usdx100 = 5;
optional int32 num_weeks = 6;
}
message CPromotionPlanning_GetSalePageCandidatesForPromo_Request {
optional uint32 account_id = 1;
optional bool include_published = 2;
}
message CPromotionPlanning_GetSalePageCandidatesForPromo_Response {
repeated .CPromotionPlanning_GetSalePageCandidatesForPromo_Response_clan clans = 1;
}
message CPromotionPlanning_GetSalePageCandidatesForPromo_Response_clan {
optional uint32 clan_account_id = 1;
optional string clan_name = 2;
optional bool is_creator_home = 3;
repeated .CPromotionPlanning_GetSalePageCandidatesForPromo_Response_salepage sale_pages = 4;
}
message CPromotionPlanning_GetSalePageCandidatesForPromo_Response_salepage {
optional uint32 clan_account_id = 1;
optional fixed64 gid_clan_event = 2;
optional string name = 3;
optional bool published = 4;
optional uint32 start_time = 5;
optional uint32 end_time = 6;
optional uint32 external_sale_event_type = 7;
}
message CPromotionPlanning_GetSentNotification_Request {
optional fixed64 promotion_id = 1;
optional fixed64 notification_id = 2;
}
message CPromotionPlanning_GetSentNotification_Response {
repeated .CPromotionNotificationResults results = 1;
}
message CPromotionPlanning_GetUpcomingScheduledDiscounts_Request {
optional uint32 rtstart = 1;
optional uint32 rtend = 2;
optional bool include_packages = 3;
optional bool filter_modified_sales_rank = 4 [default = true];
}
message CPromotionPlanning_GetUpcomingScheduledDiscounts_Response {
repeated .CPromotionPlanning_GetUpcomingScheduledDiscounts_Response_CUpcomingPackageDiscountInfo package_details = 1;
repeated .CPromotionPlanning_GetUpcomingScheduledDiscounts_Response_CUpcomingAppDiscountInfo app_details = 2;
}
message CPromotionPlanning_GetUpcomingScheduledDiscounts_Response_CUpcomingAppDiscountInfo {
optional uint32 appid = 1;
optional uint32 cheapest_package_id = 3;
optional uint32 cheapest_discount_id = 4;
optional string cheapest_discount_name = 5;
optional uint32 package_original_price_usd = 6;
optional uint32 discounted_price_usd = 7;
optional uint32 discount_percentage = 8;
optional uint32 rtime_discount_start = 9;
optional uint32 rtime_discount_end = 10;
optional uint32 num_discounted_packages = 11;
optional uint32 modified_sales_rank = 12;
}
message CPromotionPlanning_GetUpcomingScheduledDiscounts_Response_CUpcomingPackageDiscountInfo {
optional uint32 package_id = 1;
optional uint32 discount_id = 2;
optional string discount_name = 3;
optional uint32 discount_percentage = 4;
optional uint32 original_price_usd = 5;
optional uint32 discount_price_usd = 6;
optional uint32 rtime_discount_start = 7;
optional uint32 rtime_discount_end = 8;
}
message CPromotionPlanning_MarkLocalizationAssetComplete_Request {
optional fixed64 promotion_id = 1;
optional bool value = 2;
}
message CPromotionPlanning_MarkLocalizationAssetComplete_Response {
}
message CPromotionPlanning_ResendNotification_Request {
optional fixed64 promotion_id = 1;
optional fixed64 notification_id = 2;
}
message CPromotionPlanning_ResendNotification_Response {
}
message CPromotionPlanning_SearchPlan_Request {
optional string token = 1;
}
message CPromotionPlanning_SearchPlan_Response {
repeated .CPromotionPlan plan = 1;
}
message CPromotionPlanning_SendNotification_Request {
optional fixed64 promotion_id = 1;
optional int32 notification_type = 2 [(.description) = "enum"];
optional bool only_explicit_email_addresses = 3;
}
message CPromotionPlanning_SendNotification_Response {
}
message CPromotionPlanning_SetPromotionEmailTarget_Request {
optional fixed64 promotion_id = 1;
optional bool add = 2;
optional string email_address = 3;
}
message CPromotionPlanning_SetPromotionEmailTarget_Response {
}
message CPromotionPlanning_UpdatePlan_Request {
optional .CPromotionPlan plan = 1;
optional fixed64 promotion_id = 2;
}
message CPromotionPlanning_UpdatePlan_Response {
}
service PromotionPlanning {
rpc CreatePlan (.CPromotionPlanning_CreatePlan_Request) returns (.CPromotionPlanning_CreatePlan_Response);
rpc CreateSalePageForPromo (.CPromotionPlan_CreateSalePageForPromo_Request) returns (.CPromotionPlan_CreateSalePageForPromo_Response);
rpc CreateTentativePlan (.CPromotionPlanning_CreatePlan_Request) returns (.CPromotionPlanning_CreatePlan_Response);
rpc DeletePlan (.CPromotionPlanning_DeletePlan_Request) returns (.CPromotionPlanning_DeletePlan_Response);
rpc GetAdvertisingAppsForPartner (.CPromotionPlanning_GetAdvertisingAppsForPartner_Request) returns (.CPromotionPlanning_GetAdvertisingAppsForPartner_Response);
rpc GetAllActivePlan (.CPromotionPlanning_GetAllActivePlan_Request) returns (.CPromotionPlanning_GetAllActivePlan_Response);
rpc GetAllPlansForApps (.CPromotionPlanning_GetAllPlansForApps_Request) returns (.CPromotionPlanning_GetAllPlansForApps_Response);
rpc GetAllPlansForPartner (.CPromotionPlanning_GetAllPlansForPartner_Request) returns (.CPromotionPlanning_GetAllPlansForPartner_Response);
rpc GetAvailableWeekSlots (.CPromotionPlanning_GetAvailableWeekSlots_Request) returns (.CPromotionPlanning_GetAvailableWeekSlots_Response);
rpc GetPlan (.CPromotionPlanning_GetPlan_Request) returns (.CPromotionPlanning_GetPlan_Response);
rpc GetPlanByInputAccessKey (.CPromotionPlanning_GetPlanByInputAccessKey_Request) returns (.CPromotionPlanning_GetPlanByInputAccessKey_Response);
rpc GetPlanCompletedInDateRange (.CPromotionPlanning_GetPlanCompletedInDateRange_Request) returns (.CPromotionPlanning_GetPlanCompletedInDateRange_Response);
rpc GetPlansUpdatedSince (.CPromotionPlanning_GetPlansUpdatedSince_Request) returns (.CPromotionPlanning_GetPlansUpdatedSince_Response);
rpc GetPromotionPlanForSalePages (.CPromotionPlanning_GetPromotionPlanForSalePages_Request) returns (.CPromotionPlanning_GetPromotionPlanForSalePages_Response);
rpc GetPromotionPlanPackageSales (.CPromotionPlanning_GetPromotionPlanPackageSales_Request) returns (.CPromotionPlanning_GetPromotionPlanPackageSales_Response);
rpc GetPromotionPlanSummarySales (.CPromotionPlanning_GetPromotionPlanSummarySales_Request) returns (.CPromotionPlanning_GetPromotionPlanSummarySales_Response);
rpc GetSalePageCandidatesForPromo (.CPromotionPlanning_GetSalePageCandidatesForPromo_Request) returns (.CPromotionPlanning_GetSalePageCandidatesForPromo_Response);
rpc GetSentNotification (.CPromotionPlanning_GetSentNotification_Request) returns (.CPromotionPlanning_GetSentNotification_Response);
rpc GetUpcomingScheduledDiscounts (.CPromotionPlanning_GetUpcomingScheduledDiscounts_Request) returns (.CPromotionPlanning_GetUpcomingScheduledDiscounts_Response);
rpc MarkLocalizationAssetComplete (.CPromotionPlanning_MarkLocalizationAssetComplete_Request) returns (.CPromotionPlanning_MarkLocalizationAssetComplete_Response);
rpc ResendNotification (.CPromotionPlanning_ResendNotification_Request) returns (.CPromotionPlanning_ResendNotification_Response);
rpc SearchPlan (.CPromotionPlanning_SearchPlan_Request) returns (.CPromotionPlanning_SearchPlan_Response);
rpc SendNotification (.CPromotionPlanning_SendNotification_Request) returns (.CPromotionPlanning_SendNotification_Response);
rpc SetPromotionEmailTarget (.CPromotionPlanning_SetPromotionEmailTarget_Request) returns (.CPromotionPlanning_SetPromotionEmailTarget_Response);
rpc UpdatePlan (.CPromotionPlanning_UpdatePlan_Request) returns (.CPromotionPlanning_UpdatePlan_Response);
rpc UpdatePlanInputData (.CPromotionPlanning_UpdatePlan_Request) returns (.CPromotionPlanning_UpdatePlan_Response);
rpc UpdatePlanPartnerInfo (.CPromotionPlanning_UpdatePlan_Request) returns (.CPromotionPlanning_UpdatePlan_Response);
}

View File

@@ -0,0 +1,26 @@
message CPromotionStats_GetOptInDemoStats_Request {
optional string opt_in_name = 1;
optional uint32 partner_id = 2;
}
message CPromotionStats_GetOptInDemoStats_Response {
repeated .CPromotionStats_GetOptInDemoStats_Response_PerAppStats stats = 1;
repeated uint32 appid_without_permissions = 2;
}
message CPromotionStats_GetOptInDemoStats_Response_PerAppStats {
optional uint32 appid = 1;
optional uint32 demo_appid = 2;
optional uint32 rt_start_time = 3;
optional uint32 rt_end_time = 4;
optional uint32 demo_player_count = 5;
optional uint32 wishlist_count = 6;
optional uint32 player_wishlist_count = 7;
optional uint32 rt_last_update_time = 9;
}
service PromotionStats {
rpc GetOptInDemoStats (.CPromotionStats_GetOptInDemoStats_Request) returns (.CPromotionStats_GetOptInDemoStats_Response);
}

View File

@@ -0,0 +1,737 @@
import "common_base.proto";
message CPublishedFile_AddAppRelationship_Request {
optional uint64 publishedfileid = 1;
optional uint32 appid = 2;
optional uint32 relationship = 3;
}
message CPublishedFile_AddAppRelationship_Response {
}
message CPublishedFile_AddChild_Request {
optional uint64 publishedfileid = 1;
optional uint64 child_publishedfileid = 2;
}
message CPublishedFile_AddChild_Response {
}
message CPublishedFile_AreFilesInSubscriptionList_Request {
optional uint32 appid = 1;
repeated fixed64 publishedfileids = 2;
optional uint32 listtype = 3;
optional uint32 filetype = 4;
optional uint32 workshopfiletype = 5;
}
message CPublishedFile_AreFilesInSubscriptionList_Response {
repeated .CPublishedFile_AreFilesInSubscriptionList_Response_InList files = 1;
}
message CPublishedFile_AreFilesInSubscriptionList_Response_InList {
optional fixed64 publishedfileid = 1;
optional bool inlist = 2;
}
message CPublishedFile_CanSubscribe_Request {
optional uint64 publishedfileid = 1;
}
message CPublishedFile_CanSubscribe_Response {
optional bool can_subscribe = 1;
}
message CPublishedFile_Delete_Request {
optional fixed64 publishedfileid = 1;
optional uint32 appid = 5;
}
message CPublishedFile_Delete_Response {
}
message CPublishedFile_FileDeleted_Client_Notification {
optional fixed64 published_file_id = 1;
optional uint32 app_id = 2;
}
message CPublishedFile_FileSubscribed_Notification {
optional fixed64 published_file_id = 1;
optional uint32 app_id = 2;
optional fixed64 file_hcontent = 3;
optional uint32 file_size = 4;
optional uint32 rtime_subscribed = 5;
optional bool is_depot_content = 6;
optional uint32 rtime_updated = 7;
repeated .CPublishedFile_FileSubscribed_Notification_RevisionData revisions = 8;
optional int32 revision = 9 [(.description) = "enum"];
}
message CPublishedFile_FileSubscribed_Notification_RevisionData {
optional int32 revision = 1 [(.description) = "enum"];
optional fixed64 file_hcontent = 2;
optional uint32 rtime_updated = 3;
optional string game_branch_min = 4;
optional string game_branch_max = 5;
}
message CPublishedFile_FileUnsubscribed_Notification {
optional fixed64 published_file_id = 1;
optional uint32 app_id = 2;
}
message CPublishedFile_GetAppRelationships_Request {
optional uint64 publishedfileid = 1;
}
message CPublishedFile_GetAppRelationships_Response {
repeated .CPublishedFile_GetAppRelationships_Response_AppRelationship app_relationships = 3;
}
message CPublishedFile_GetAppRelationships_Response_AppRelationship {
optional uint32 appid = 1;
optional uint32 relationship = 2;
}
message CPublishedFile_GetAppRelationshipsBatched_Request {
repeated uint64 publishedfileids = 1;
optional uint32 filter_relationship = 2;
}
message CPublishedFile_GetAppRelationshipsBatched_Response {
repeated .CPublishedFile_GetAppRelationshipsBatched_Response_PublishedFileAppRelationship relationships = 1;
}
message CPublishedFile_GetAppRelationshipsBatched_Response_AppRelationship {
optional uint32 appid = 1;
optional uint32 relationship = 2;
}
message CPublishedFile_GetAppRelationshipsBatched_Response_PublishedFileAppRelationship {
optional uint64 publishedfileid = 1;
optional uint32 result = 2;
repeated .CPublishedFile_GetAppRelationshipsBatched_Response_AppRelationship app_relationships = 3;
}
message CPublishedFile_GetChangeHistory_Request {
optional fixed64 publishedfileid = 1;
optional bool total_only = 2;
optional uint32 startindex = 3;
optional uint32 count = 4;
optional int32 language = 5 [default = 0];
}
message CPublishedFile_GetChangeHistory_Response {
repeated .CPublishedFile_GetChangeHistory_Response_ChangeLog changes = 1;
optional uint32 total = 2;
}
message CPublishedFile_GetChangeHistory_Response_ChangeLog {
optional uint32 timestamp = 1;
optional string change_description = 2;
optional int32 language = 3;
optional bool saved_snapshot = 4;
optional string snapshot_game_branch_min = 5;
optional string snapshot_game_branch_max = 6;
optional fixed64 manifest_id = 7;
}
message CPublishedFile_GetChangeHistoryEntry_Request {
optional fixed64 publishedfileid = 1;
optional uint32 timestamp = 2;
optional int32 language = 3;
}
message CPublishedFile_GetChangeHistoryEntry_Response {
optional string change_description = 1;
optional int32 language = 2;
optional bool saved_snapshot = 3;
optional string snapshot_game_branch_min = 4;
optional string snapshot_game_branch_max = 5;
optional fixed64 manifest_id = 6;
}
message CPublishedFile_GetContentDescriptors_Request {
optional fixed64 publishedfileid = 1;
}
message CPublishedFile_GetContentDescriptors_Response {
repeated .CPublishedFile_GetContentDescriptors_Response_ContentDescriptor content_descriptors = 1;
}
message CPublishedFile_GetContentDescriptors_Response_ContentDescriptor {
optional int32 descriptorid = 1 [(.description) = "enum"];
optional uint32 accountid = 2;
optional uint32 timestamp = 3;
optional bool moderator_set = 4;
}
message CPublishedFile_GetDetails_Request {
repeated fixed64 publishedfileids = 1;
optional bool includetags = 2;
optional bool includeadditionalpreviews = 3;
optional bool includechildren = 4;
optional bool includekvtags = 5;
optional bool includevotes = 6;
optional bool short_description = 8;
optional bool includeforsaledata = 10;
optional bool includemetadata = 11;
optional int32 language = 12 [default = 0];
optional uint32 return_playtime_stats = 13;
optional uint32 appid = 14;
optional bool strip_description_bbcode = 15;
optional int32 desired_revision = 16 [default = 0, (.description) = "enum"];
optional bool includereactions = 17 [default = false];
optional bool admin_query = 18;
}
message CPublishedFile_GetDetails_Response {
repeated .PublishedFileDetails publishedfiledetails = 1;
}
message CPublishedFile_GetItemChanges_Request {
optional uint32 appid = 1;
optional uint32 last_time_updated = 2;
optional uint32 num_items_max = 3;
optional int32 desired_revision = 4 [(.description) = "enum"];
}
message CPublishedFile_GetItemChanges_Response {
optional uint32 update_time = 1;
repeated .CPublishedFile_GetItemChanges_Response_WorkshopItemInfo workshop_items = 2;
}
message CPublishedFile_GetItemChanges_Response_WorkshopItemInfo {
optional fixed64 published_file_id = 1;
optional uint32 time_updated = 2;
optional fixed64 manifest_id = 3;
repeated .PublishedFileAuthorSnapshot author_snapshots = 4;
}
message CPublishedFile_GetItemInfo_Request {
optional uint32 appid = 1;
optional uint32 last_time_updated = 2;
repeated .CPublishedFile_GetItemInfo_Request_WorkshopItem workshop_items = 3;
}
message CPublishedFile_GetItemInfo_Request_WorkshopItem {
optional fixed64 published_file_id = 1;
optional uint32 time_updated = 2;
optional int32 desired_revision = 3 [default = 0, (.description) = "enum"];
}
message CPublishedFile_GetItemInfo_Response {
optional uint32 update_time = 1;
repeated .CPublishedFile_GetItemInfo_Response_WorkshopItemInfo workshop_items = 2;
repeated fixed64 private_items = 3;
}
message CPublishedFile_GetItemInfo_Response_WorkshopItemInfo {
optional fixed64 published_file_id = 1;
optional uint32 time_updated = 2;
optional fixed64 manifest_id = 3;
optional uint32 flags = 4;
optional int32 revision = 5 [(.description) = "enum"];
repeated .PublishedFileAuthorSnapshot author_snapshots = 6;
}
message CPublishedFile_GetSubSectionData_Request {
optional uint64 publishedfileid = 1;
optional bool for_table_of_contents = 2;
optional uint64 specific_sectionid = 3;
optional int32 desired_revision = 4 [default = 0, (.description) = "enum"];
}
message CPublishedFile_GetSubSectionData_Response {
repeated .PublishedFileSubSection sub_sections = 1;
}
message CPublishedFile_GetUserFiles_Request {
optional fixed64 steamid = 1;
optional uint32 appid = 2;
optional uint32 shortcutid = 3;
optional uint32 page = 4 [default = 1];
optional uint32 numperpage = 5 [default = 1];
optional string type = 6 [default = "myfiles"];
optional string sortmethod = 7 [default = "lastupdated"];
optional uint32 privacy = 9;
repeated string requiredtags = 10;
repeated string excludedtags = 11;
optional uint32 filetype = 14;
optional uint32 creator_appid = 15;
optional string match_cloud_filename = 16;
optional bool totalonly = 17;
optional bool ids_only = 18;
optional bool return_vote_data = 19 [default = true];
optional bool return_tags = 20;
optional bool return_kv_tags = 21 [default = true];
optional bool return_previews = 22;
optional bool return_children = 23;
optional bool return_short_description = 24 [default = true];
optional uint32 startindex_override = 25;
optional bool return_for_sale_data = 26;
optional uint32 cache_max_age_seconds = 27 [default = 0];
optional bool return_metadata = 28 [default = false];
optional int32 language = 29 [default = 0];
repeated .CPublishedFile_GetUserFiles_Request_KVTag required_kv_tags = 30;
optional uint32 return_playtime_stats = 31;
optional bool strip_description_bbcode = 32;
optional int32 desired_revision = 33 [default = 0, (.description) = "enum"];
repeated .CPublishedFile_GetUserFiles_Request_TagGroup taggroups = 34;
optional bool return_reactions = 35 [default = false];
optional bool return_apps = 36;
repeated int32 excluded_content_descriptors = 37 [(.description) = "enum"];
optional bool admin_query = 38;
}
message CPublishedFile_GetUserFiles_Request_KVTag {
optional string key = 1;
optional string value = 2;
}
message CPublishedFile_GetUserFiles_Request_TagGroup {
repeated string tags = 1;
}
message CPublishedFile_GetUserFiles_Response {
optional uint32 total = 1;
optional uint32 startindex = 2;
repeated .PublishedFileDetails publishedfiledetails = 3;
repeated .CPublishedFile_GetUserFiles_Response_App apps = 4;
}
message CPublishedFile_GetUserFiles_Response_App {
optional uint32 appid = 1;
optional string name = 2;
optional uint32 shortcutid = 3;
optional bool private = 4;
}
message CPublishedFile_GetUserVoteSummary_Request {
repeated fixed64 publishedfileids = 1;
}
message CPublishedFile_GetUserVoteSummary_Response {
repeated .CPublishedFile_GetUserVoteSummary_Response_VoteSummary summaries = 1;
}
message CPublishedFile_GetUserVoteSummary_Response_VoteSummary {
optional fixed64 publishedfileid = 1;
optional bool vote_for = 2;
optional bool vote_against = 3;
optional bool reported = 4;
}
message CPublishedFile_Publish_Request {
optional uint32 appid = 1;
optional uint32 consumer_appid = 2;
optional string cloudfilename = 3;
optional string preview_cloudfilename = 4;
optional string title = 5;
optional string file_description = 6;
optional uint32 file_type = 7;
optional string consumer_shortcut_name = 8;
optional string youtube_username = 9;
optional string youtube_videoid = 10;
optional uint32 visibility = 11;
optional string redirect_uri = 12;
repeated string tags = 13;
optional string collection_type = 14;
optional string game_type = 15;
optional string url = 16;
}
message CPublishedFile_Publish_Response {
optional uint64 publishedfileid = 1;
optional string redirect_uri = 2;
}
message CPublishedFile_QueryFiles_Request {
optional uint32 query_type = 1;
optional uint32 page = 2;
optional uint32 numperpage = 3 [default = 1];
optional uint32 creator_appid = 4;
optional uint32 appid = 5;
repeated string requiredtags = 6;
repeated string excludedtags = 7;
optional bool match_all_tags = 8 [default = true];
repeated string required_flags = 9;
repeated string omitted_flags = 10;
optional string search_text = 11;
optional uint32 filetype = 12;
optional fixed64 child_publishedfileid = 13;
optional uint32 days = 14;
optional bool include_recent_votes_only = 15;
optional bool totalonly = 16;
optional bool return_vote_data = 17;
optional bool return_tags = 18;
optional bool return_kv_tags = 19;
optional bool return_previews = 20;
optional bool return_children = 21;
optional bool return_short_description = 22;
optional bool return_for_sale_data = 30;
optional uint32 cache_max_age_seconds = 31 [default = 0];
optional bool return_metadata = 32 [default = false];
optional int32 language = 33 [default = 0];
repeated .CPublishedFile_QueryFiles_Request_KVTag required_kv_tags = 34;
optional bool ids_only = 35;
optional uint32 return_playtime_stats = 36;
optional bool return_details = 37;
optional bool strip_description_bbcode = 38;
optional string cursor = 39;
optional int32 desired_revision = 40 [default = 0, (.description) = "enum"];
repeated .CPublishedFile_QueryFiles_Request_TagGroup taggroups = 42;
optional bool return_reactions = 43 [default = false];
optional .CPublishedFile_QueryFiles_Request_DateRange date_range_created = 44;
optional .CPublishedFile_QueryFiles_Request_DateRange date_range_updated = 45;
repeated int32 excluded_content_descriptors = 46 [(.description) = "enum"];
optional bool admin_query = 47;
}
message CPublishedFile_QueryFiles_Request_DateRange {
optional uint32 timestamp_start = 1;
optional uint32 timestamp_end = 2;
}
message CPublishedFile_QueryFiles_Request_KVTag {
optional string key = 1;
optional string value = 2;
}
message CPublishedFile_QueryFiles_Request_TagGroup {
repeated string tags = 1;
}
message CPublishedFile_QueryFiles_Response {
optional uint32 total = 1;
repeated .PublishedFileDetails publishedfiledetails = 2;
optional string next_cursor = 3;
}
message CPublishedFile_RefreshVotingQueue_Request {
optional uint32 appid = 1;
optional uint32 matching_file_type = 2;
repeated string tags = 3;
optional bool match_all_tags = 4 [default = true];
repeated string excluded_tags = 5;
optional uint32 desired_queue_size = 6;
optional int32 desired_revision = 8 [default = 0, (.description) = "enum"];
}
message CPublishedFile_RefreshVotingQueue_Response {
}
message CPublishedFile_RemoveAppRelationship_Request {
optional uint64 publishedfileid = 1;
optional uint32 appid = 2;
optional uint32 relationship = 3;
}
message CPublishedFile_RemoveAppRelationship_Response {
}
message CPublishedFile_RemoveChild_Request {
optional uint64 publishedfileid = 1;
optional uint64 child_publishedfileid = 2;
}
message CPublishedFile_RemoveChild_Response {
}
message CPublishedFile_SetCollectionChildren_Request {
optional uint32 appid = 1;
optional uint64 publishedfileid = 2;
repeated uint64 children = 3;
}
message CPublishedFile_SetCollectionChildren_Response {
}
message CPublishedFile_SetPlaytimeForControllerConfigs_Request {
optional uint32 appid = 1;
repeated .CPublishedFile_SetPlaytimeForControllerConfigs_Request_ControllerConfigUsage controller_config_usage = 2;
}
message CPublishedFile_SetPlaytimeForControllerConfigs_Request_ControllerConfigUsage {
optional uint64 publishedfileid = 1;
optional float seconds_active = 2;
}
message CPublishedFile_SetPlaytimeForControllerConfigs_Response {
}
message CPublishedFile_SetSubscriptionListFromCollection_Request {
optional uint32 appid = 1;
optional uint32 list_type = 2;
optional uint64 publishedfileid = 3;
optional bool add_only = 4;
}
message CPublishedFile_SetSubscriptionListFromCollection_Response {
}
message CPublishedFile_StartPlaytimeTracking_Request {
optional uint32 appid = 1;
repeated uint64 publishedfileids = 2;
}
message CPublishedFile_StartPlaytimeTracking_Response {
}
message CPublishedFile_StopPlaytimeTracking_Request {
optional uint32 appid = 1;
repeated uint64 publishedfileids = 2;
}
message CPublishedFile_StopPlaytimeTracking_Response {
}
message CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
optional uint32 appid = 1;
}
message CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
}
message CPublishedFile_Subscribe_Request {
optional uint64 publishedfileid = 1;
optional uint32 list_type = 2;
optional int32 appid = 3;
optional bool notify_client = 4;
optional bool include_dependencies = 5;
}
message CPublishedFile_Subscribe_Response {
}
message CPublishedFile_Unsubscribe_Request {
optional uint64 publishedfileid = 1;
optional uint32 list_type = 2;
optional int32 appid = 3;
optional bool notify_client = 4;
}
message CPublishedFile_Unsubscribe_Response {
}
message CPublishedFile_Update_Request {
optional uint32 appid = 1;
optional fixed64 publishedfileid = 2;
optional string title = 3;
optional string file_description = 4;
optional uint32 visibility = 5;
repeated string tags = 6;
optional string filename = 7;
optional string preview_filename = 8;
optional bool spoiler_tag = 10;
optional uint32 image_width = 15;
optional uint32 image_height = 16;
optional int32 language = 17;
}
message CPublishedFile_Update_Response {
}
message CPublishedFile_UpdateContentDescriptors_Request {
optional fixed64 publishedfileid = 1;
repeated int32 descriptors_to_add = 2 [(.description) = "enum"];
repeated int32 descriptors_to_remove = 3 [(.description) = "enum"];
}
message CPublishedFile_UpdateContentDescriptors_Response {
optional uint32 timestamp_updated = 1;
}
message CPublishedFile_Vote_Request {
optional uint64 publishedfileid = 1;
optional bool vote_up = 2;
}
message CPublishedFile_Vote_Response {
}
message PublishedFileAuthorSnapshot {
optional uint32 timestamp = 1;
optional string game_branch_min = 2;
optional string game_branch_max = 3;
optional fixed64 manifestid = 4;
}
message PublishedFileDetails {
optional uint32 result = 1;
optional uint64 publishedfileid = 2;
optional fixed64 creator = 3;
optional uint32 creator_appid = 4;
optional uint32 consumer_appid = 5;
optional uint32 consumer_shortcutid = 6;
optional string filename = 7;
optional uint64 file_size = 8;
optional uint64 preview_file_size = 9;
optional string file_url = 10;
optional string preview_url = 11;
optional string youtubevideoid = 12;
optional string url = 13;
optional fixed64 hcontent_file = 14;
optional fixed64 hcontent_preview = 15;
optional string title = 16;
optional string file_description = 17;
optional string short_description = 18;
optional uint32 time_created = 19;
optional uint32 time_updated = 20;
optional uint32 visibility = 21;
optional uint32 flags = 22;
optional bool workshop_file = 23;
optional bool workshop_accepted = 24;
optional bool show_subscribe_all = 25;
optional int32 num_comments_developer = 26;
optional int32 num_comments_public = 27;
optional bool banned = 28;
optional string ban_reason = 29;
optional fixed64 banner = 30;
optional bool can_be_deleted = 31;
optional bool incompatible = 32;
optional string app_name = 33;
optional uint32 file_type = 34;
optional bool can_subscribe = 35;
optional uint32 subscriptions = 36;
optional uint32 favorited = 37;
optional uint32 followers = 38;
optional uint32 lifetime_subscriptions = 39;
optional uint32 lifetime_favorited = 40;
optional uint32 lifetime_followers = 41;
optional uint32 views = 42;
optional uint32 image_width = 43;
optional uint32 image_height = 44;
optional string image_url = 45;
optional bool spoiler_tag = 46;
optional uint32 shortcutid = 47;
optional string shortcutname = 48;
optional uint32 num_children = 49;
optional uint32 num_reports = 50;
repeated .PublishedFileDetails_Preview previews = 51;
repeated .PublishedFileDetails_Tag tags = 52;
repeated .PublishedFileDetails_Child children = 53;
repeated .PublishedFileDetails_KVTag kvtags = 54;
optional .PublishedFileDetails_VoteData vote_data = 55;
optional uint32 time_subscribed = 56;
optional .PublishedFileDetails_ForSaleData for_sale_data = 57;
optional string metadata = 58;
optional int32 language = 61 [default = 0];
optional uint64 lifetime_playtime = 62;
optional uint64 lifetime_playtime_sessions = 63;
optional .PublishedFileDetails_PlaytimeStats playtime_stats = 64;
optional bool maybe_inappropriate_sex = 65;
optional bool maybe_inappropriate_violence = 66;
optional uint64 revision_change_number = 67;
optional int32 revision = 68 [(.description) = "enum"];
repeated int32 available_revisions = 69 [(.description) = "enum"];
repeated .PublishedFileDetails_Reaction reactions = 70;
optional int32 ban_text_check_result = 71 [(.description) = "enum"];
repeated int32 content_descriptorids = 72 [(.description) = "enum"];
optional float search_score = 73;
optional uint64 external_asset_id = 74;
repeated .PublishedFileAuthorSnapshot author_snapshots = 75;
}
message PublishedFileDetails_Child {
optional uint64 publishedfileid = 1;
optional uint32 sortorder = 2;
optional uint32 file_type = 3;
}
message PublishedFileDetails_ForSaleData {
optional bool is_for_sale = 1;
optional uint32 price_category = 2;
optional int32 estatus = 3 [(.description) = "enum"];
optional uint32 price_category_floor = 4;
optional bool price_is_pay_what_you_want = 5;
optional uint32 discount_percentage = 6;
}
message PublishedFileDetails_KVTag {
optional string key = 1;
optional string value = 2;
}
message PublishedFileDetails_PlaytimeStats {
optional uint64 playtime_seconds = 1;
optional uint64 num_sessions = 2;
}
message PublishedFileDetails_Preview {
optional uint64 previewid = 1;
optional uint32 sortorder = 2;
optional string url = 3;
optional uint32 size = 4;
optional string filename = 5;
optional string youtubevideoid = 6;
optional uint32 preview_type = 7;
optional string external_reference = 8;
}
message PublishedFileDetails_Reaction {
optional uint32 reactionid = 1;
optional uint32 count = 2;
}
message PublishedFileDetails_Tag {
optional string tag = 1;
optional bool adminonly = 2;
optional string display_name = 3;
}
message PublishedFileDetails_VoteData {
optional float score = 1;
optional uint32 votes_up = 2;
optional uint32 votes_down = 3;
}
message PublishedFileSubSection {
optional uint64 sectionid = 1;
optional string title = 2;
optional string description_text = 3;
optional uint32 sort_order = 4;
}
service PublishedFile {
rpc AddAppRelationship (.CPublishedFile_AddAppRelationship_Request) returns (.CPublishedFile_AddAppRelationship_Response);
rpc AddChild (.CPublishedFile_AddChild_Request) returns (.CPublishedFile_AddChild_Response);
rpc AreFilesInSubscriptionList (.CPublishedFile_AreFilesInSubscriptionList_Request) returns (.CPublishedFile_AreFilesInSubscriptionList_Response);
rpc CanSubscribe (.CPublishedFile_CanSubscribe_Request) returns (.CPublishedFile_CanSubscribe_Response);
rpc Delete (.CPublishedFile_Delete_Request) returns (.CPublishedFile_Delete_Response);
rpc GetAppRelationships (.CPublishedFile_GetAppRelationships_Request) returns (.CPublishedFile_GetAppRelationships_Response);
rpc GetAppRelationshipsBatched (.CPublishedFile_GetAppRelationshipsBatched_Request) returns (.CPublishedFile_GetAppRelationshipsBatched_Response);
rpc GetChangeHistory (.CPublishedFile_GetChangeHistory_Request) returns (.CPublishedFile_GetChangeHistory_Response);
rpc GetChangeHistoryEntry (.CPublishedFile_GetChangeHistoryEntry_Request) returns (.CPublishedFile_GetChangeHistoryEntry_Response);
rpc GetContentDescriptors (.CPublishedFile_GetContentDescriptors_Request) returns (.CPublishedFile_GetContentDescriptors_Response);
rpc GetDetails (.CPublishedFile_GetDetails_Request) returns (.CPublishedFile_GetDetails_Response);
rpc GetItemChanges (.CPublishedFile_GetItemChanges_Request) returns (.CPublishedFile_GetItemChanges_Response);
rpc GetItemInfo (.CPublishedFile_GetItemInfo_Request) returns (.CPublishedFile_GetItemInfo_Response);
rpc GetSubSectionData (.CPublishedFile_GetSubSectionData_Request) returns (.CPublishedFile_GetSubSectionData_Response);
rpc GetUserFileCount (.CPublishedFile_GetUserFiles_Request) returns (.CPublishedFile_GetUserFiles_Response);
rpc GetUserFiles (.CPublishedFile_GetUserFiles_Request) returns (.CPublishedFile_GetUserFiles_Response);
rpc GetUserVoteSummary (.CPublishedFile_GetUserVoteSummary_Request) returns (.CPublishedFile_GetUserVoteSummary_Response);
rpc Publish (.CPublishedFile_Publish_Request) returns (.CPublishedFile_Publish_Response);
rpc QueryFiles (.CPublishedFile_QueryFiles_Request) returns (.CPublishedFile_QueryFiles_Response);
rpc RefreshVotingQueue (.CPublishedFile_RefreshVotingQueue_Request) returns (.CPublishedFile_RefreshVotingQueue_Response);
rpc RemoveAppRelationship (.CPublishedFile_RemoveAppRelationship_Request) returns (.CPublishedFile_RemoveAppRelationship_Response);
rpc RemoveChild (.CPublishedFile_RemoveChild_Request) returns (.CPublishedFile_RemoveChild_Response);
rpc SetCollectionChildren (.CPublishedFile_SetCollectionChildren_Request) returns (.CPublishedFile_SetCollectionChildren_Response);
rpc SetPlaytimeForControllerConfigs (.CPublishedFile_SetPlaytimeForControllerConfigs_Request) returns (.CPublishedFile_SetPlaytimeForControllerConfigs_Response);
rpc SetSubscriptionListFromCollection (.CPublishedFile_SetSubscriptionListFromCollection_Request) returns (.CPublishedFile_SetSubscriptionListFromCollection_Response);
rpc StartPlaytimeTracking (.CPublishedFile_StartPlaytimeTracking_Request) returns (.CPublishedFile_StartPlaytimeTracking_Response);
rpc StopPlaytimeTracking (.CPublishedFile_StopPlaytimeTracking_Request) returns (.CPublishedFile_StopPlaytimeTracking_Response);
rpc StopPlaytimeTrackingForAllAppItems (.CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request) returns (.CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response);
rpc Subscribe (.CPublishedFile_Subscribe_Request) returns (.CPublishedFile_Subscribe_Response);
rpc Unsubscribe (.CPublishedFile_Unsubscribe_Request) returns (.CPublishedFile_Unsubscribe_Response);
rpc Update (.CPublishedFile_Update_Request) returns (.CPublishedFile_Update_Response);
rpc UpdateContentDescriptors (.CPublishedFile_UpdateContentDescriptors_Request) returns (.CPublishedFile_UpdateContentDescriptors_Response);
rpc Vote (.CPublishedFile_Vote_Request) returns (.CPublishedFile_Vote_Response);
}
service PublishedFileClient {
rpc NotifyFileDeleted (.CPublishedFile_FileDeleted_Client_Notification) returns (.NoResponse);
rpc NotifyFileSubscribed (.CPublishedFile_FileSubscribed_Notification) returns (.NoResponse);
rpc NotifyFileUnsubscribed (.CPublishedFile_FileUnsubscribed_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,201 @@
import "common_base.proto";
message CPartnerAppOptInData {
optional uint32 appid = 1;
optional bool opt_in = 2;
optional string opt_in_name = 3;
optional string jsondata = 4;
optional int32 type = 5 [(.description) = "enum"];
optional uint32 accountid_add = 6;
optional uint32 time_opted_in = 7;
optional uint32 time_updated = 8;
optional uint32 accountid_lastmod = 9;
optional bool invited = 10;
optional uint32 accountid_remove = 11;
optional uint32 time_opted_out = 12;
optional bool pruned = 13;
optional uint32 accountid_prune = 14;
optional uint32 time_pruned = 15;
optional bool additional_featuring = 16;
optional uint32 feature_day = 17;
optional uint32 accountid_invited = 18;
optional bool no_planned_discount = 19;
optional uint32 pending_review = 20;
optional int32 appeal_state = 21 [(.description) = "enum"];
optional uint32 accountid_appeal = 22;
optional uint32 time_appeal_decision = 23;
}
message CPartnerAppOptInEmailDef {
optional string opt_in_name = 1;
optional fixed64 targeting_flag = 2;
optional fixed64 settings_flag = 3;
optional string email_templates = 4;
optional uint32 start_rtime = 5;
optional uint32 end_rtime = 6;
optional .CPartnerAppOptInEmailStats stats = 7;
optional uint32 creator_accountid = 8;
optional uint32 create_time = 9;
optional uint32 last_update_time = 10;
optional fixed64 email_def_id = 11;
optional bool completed = 12;
optional bool aborted = 13;
optional bool deleted = 14;
optional bool reviewed = 15;
}
message CPartnerAppOptInEmailStats {
optional uint32 accounts_examined = 1;
optional uint32 accounts_emailed = 2;
optional uint32 accounts_not_emailed_opted_out = 3;
optional uint32 accounts_email_failed = 4;
optional bool completed = 5;
optional uint32 rt_last_updated = 6;
}
message CPartnerOptInEmailTracking {
optional uint32 accountid = 1;
optional uint32 appid = 2;
optional uint32 partnerid = 3;
optional uint32 rtime_notified = 4;
optional bool ignored_unverified_email = 5;
optional bool ignored_email_optout = 6;
optional uint32 status = 7;
optional uint32 send_rtime = 8;
}
message CPublishing_CreatePartnerAppOptInEmail_Request {
optional string opt_in_name = 1;
optional fixed64 targeting_flag = 2;
optional fixed64 settings_flag = 3;
optional string email_templates = 4;
optional uint32 start_rtime = 5 [default = 0];
optional uint32 end_rtime = 6 [default = 0];
}
message CPublishing_CreatePartnerAppOptInEmail_Response {
optional fixed64 email_def_id = 1;
}
message CPublishing_GetEstimatePartnerAppOptInEmail_Request {
optional fixed64 email_def_id = 1;
}
message CPublishing_GetEstimatePartnerAppOptInEmail_Response {
optional .CPartnerAppOptInEmailStats stats = 1;
}
message CPublishing_GetOptInAppealsSummaryStats_Request {
repeated string opt_in_names = 1;
}
message CPublishing_GetOptInAppealsSummaryStats_Response {
repeated .CPublishing_GetOptInAppealsSummaryStats_Response_CSummary summary = 1;
}
message CPublishing_GetOptInAppealsSummaryStats_Response_CSummary {
optional string opt_in_name = 1;
optional uint32 open_appeals = 2;
optional uint32 reject_appeals = 3;
optional uint32 accepted_appeals = 4;
optional uint32 appeal_account_id = 5;
}
message CPublishing_GetOptInEmailTracking_Request {
optional fixed64 email_def_id = 1;
}
message CPublishing_GetOptInEmailTracking_Response {
optional fixed64 email_def_id = 1;
repeated .CPartnerOptInEmailTracking results = 2;
}
message CPublishing_GetPartnerAppOptInEmailDefAndStats_Request {
optional string opt_in_name = 1;
}
message CPublishing_GetPartnerAppOptInEmailDefAndStats_Response {
repeated .CPartnerAppOptInEmailDef defs = 1;
}
message CPublishing_GetPartnerOptInInvites_Response {
repeated .CPartnerAppOptInData data = 1;
}
message CPublishing_GetPartnerPaidGivenPackageList_Request {
repeated uint32 packageids = 1;
}
message CPublishing_GetPartnerPaidGivenPackageList_Response {
repeated .CPublishing_GetPartnerPaidGivenPackageList_Response_CPackageAndPartnerPair paid = 1;
}
message CPublishing_GetPartnerPaidGivenPackageList_Response_CPackageAndPartnerPair {
optional uint32 partnerid = 1;
optional uint32 packageid = 2;
}
message CPublishing_GetSinglePartnerAppOptIns_Request {
optional uint32 appid = 1;
}
message CPublishing_GetSinglePartnerAppOptIns_Response {
repeated .CPartnerAppOptInData data = 1;
}
message CPublishing_SendPartnerAppOptInEmailAndWait_Request {
optional fixed64 email_def_id = 1;
optional bool force_resend = 2;
}
message CPublishing_SendPartnerAppOptInEmailAndWait_Response {
optional .CPartnerAppOptInEmailStats results = 1;
}
message CPublishing_SetFeaturingOnPartnerAppOptIn_Request {
repeated uint32 appids = 1;
optional bool additional_featuring = 2 [default = true];
optional string opt_in_name = 3;
}
message CPublishing_SetFeaturingOnPartnerAppOptIn_Response {
repeated uint32 appids = 1;
}
message CPublishing_TestFirePartnerAppOptInEmail_Request {
optional fixed64 email_def_id = 1;
optional uint32 appid = 2;
optional uint32 partnerid = 3;
}
message CPublishing_TestFirePartnerAppOptInEmail_Response {
}
message CPublishing_UpdatePartnerAppOptInEmail_Request {
optional fixed64 email_def_id = 1;
optional fixed64 targeting_flag = 2;
optional fixed64 settings_flag = 3;
optional string email_templates = 4;
optional uint32 start_rtime = 5 [default = 0];
optional uint32 end_rtime = 6 [default = 0];
optional bool reviewed = 7 [default = false];
}
message CPublishing_UpdatePartnerAppOptInEmail_Response {
}
service Publishing {
rpc CreatePartnerAppOptInEmails (.CPublishing_CreatePartnerAppOptInEmail_Request) returns (.CPublishing_CreatePartnerAppOptInEmail_Response);
rpc GetEstimatePartnerAppOptInEmail (.CPublishing_GetEstimatePartnerAppOptInEmail_Request) returns (.CPublishing_GetEstimatePartnerAppOptInEmail_Response);
rpc GetOptInAppealsSummaryStats (.CPublishing_GetOptInAppealsSummaryStats_Request) returns (.CPublishing_GetOptInAppealsSummaryStats_Response);
rpc GetOptInEmailTracking (.CPublishing_GetOptInEmailTracking_Request) returns (.CPublishing_GetOptInEmailTracking_Response);
rpc GetPartnerAppOptInEmailDefAndStats (.CPublishing_GetPartnerAppOptInEmailDefAndStats_Request) returns (.CPublishing_GetPartnerAppOptInEmailDefAndStats_Response);
rpc GetPartnerOptInInvites (.NotImplemented) returns (.CPublishing_GetPartnerOptInInvites_Response);
rpc GetPartnerPaidGivenPackageList (.CPublishing_GetPartnerPaidGivenPackageList_Request) returns (.CPublishing_GetPartnerPaidGivenPackageList_Response);
rpc GetSinglePartnerAppOptIn (.CPublishing_GetSinglePartnerAppOptIns_Request) returns (.CPublishing_GetSinglePartnerAppOptIns_Response);
rpc SendPartnerOptInEmailAndWait (.CPublishing_SendPartnerAppOptInEmailAndWait_Request) returns (.CPublishing_SendPartnerAppOptInEmailAndWait_Response);
rpc SetFeaturingOnPartnerAppOptIn (.CPublishing_SetFeaturingOnPartnerAppOptIn_Request) returns (.CPublishing_SetFeaturingOnPartnerAppOptIn_Response);
rpc TestFirePartnerAppOptInEmail (.CPublishing_TestFirePartnerAppOptInEmail_Request) returns (.CPublishing_TestFirePartnerAppOptInEmail_Response);
rpc UpdatePartnerAppOptInEmails (.CPublishing_UpdatePartnerAppOptInEmail_Request) returns (.CPublishing_UpdatePartnerAppOptInEmail_Response);
}

View File

@@ -0,0 +1,127 @@
import "common_base.proto";
message CQuest_ActivateProfileModifierItem_Request {
optional uint32 appid = 1;
optional uint64 communityitemid = 2;
optional bool activate = 3;
}
message CQuest_ActivateProfileModifierItem_Response {
}
message CQuest_CommunityItem {
optional uint64 communityitemid = 1;
optional uint32 item_type = 2;
optional uint32 appid = 3;
optional uint32 owner = 4;
repeated .CQuest_CommunityItem_Attribute attributes = 5;
optional bool used = 6;
optional uint32 owner_origin = 7;
optional int64 amount = 8;
}
message CQuest_CommunityItem_Attribute {
optional uint32 attributeid = 1;
optional uint64 value = 2;
}
message CQuest_GetCommunityInventory_Request {
repeated uint32 filter_appids = 1;
}
message CQuest_GetCommunityInventory_Response {
repeated .CQuest_CommunityItem items = 1;
}
message CQuest_GetCommunityItemDefinitions_Request {
optional uint32 appid = 1;
optional uint32 item_type = 3;
optional string language = 4;
optional uint64 broadcast_channel_id = 5;
optional bool keyvalues_as_json = 6;
}
message CQuest_GetCommunityItemDefinitions_Response {
repeated .CQuest_GetCommunityItemDefinitions_Response_ItemDefinition item_definitions = 1;
}
message CQuest_GetCommunityItemDefinitions_Response_ItemDefinition {
optional uint32 item_type = 1;
optional uint32 appid = 2;
optional string item_name = 3;
optional string item_title = 4;
optional string item_description = 5;
optional string item_image_small = 6;
optional string item_image_large = 7;
optional string item_key_values = 8;
optional uint32 item_series = 9;
optional uint32 item_class = 10;
optional uint32 editor_accountid = 11;
optional bool active = 12;
optional string item_image_composed = 13;
optional string item_image_composed_foil = 14;
optional bool deleted = 15;
optional uint32 item_last_changed = 16;
optional uint64 broadcast_channel_id = 17;
optional string item_movie_webm = 18;
optional string item_movie_mp4 = 19;
optional string item_movie_webm_small = 20;
optional string item_movie_mp4_small = 21;
optional string item_internal_name = 22;
}
message CQuest_GetNumTradingCardsEarned_Request {
optional uint32 timestamp_start = 1 [default = 0];
optional uint32 timestamp_end = 2 [default = 4294967295];
}
message CQuest_GetNumTradingCardsEarned_Response {
optional uint32 num_trading_cards = 1;
}
message CQuest_SetVirtualItemRewardDefinition_Request {
optional int32 eventid = 1 [(.description) = "enum"];
repeated .CVirtualItemRewardDefinition itemsdefs = 2;
optional int32 action = 3 [(.description) = "enum"];
}
message CQuest_SetVirtualItemRewardDefinition_Response {
}
message CQuest_VirtualItemRewardDefinition_Request {
optional int32 eventid = 1 [(.description) = "enum"];
optional bool include_inactive = 2;
}
message CQuest_VirtualItemRewardDefinition_Response {
repeated .CVirtualItemRewardDefinition rewards = 1;
}
message CVirtualItemRewardDefinition {
optional int32 eventid = 1 [(.description) = "enum"];
optional uint32 item_bucket = 2;
optional uint32 appid = 3;
optional bool active = 4;
optional uint32 rarity = 5;
optional uint32 package_to_grant = 6;
optional fixed64 game_item_id = 7;
optional int32 community_item_class = 8;
optional uint32 community_item_type = 9;
optional uint32 loyalty_point_type = 10;
optional int64 amount = 11;
optional uint32 rtime_time_active = 12;
optional uint32 loyalty_reward_defid = 13;
optional uint32 user_badge_to_grant = 14;
optional uint32 user_badge_level = 15;
optional uint32 virtual_item_def_id = 16;
}
service Quest {
rpc ActivateProfileModifierItem (.CQuest_ActivateProfileModifierItem_Request) returns (.CQuest_ActivateProfileModifierItem_Response);
rpc GetCommunityInventory (.CQuest_GetCommunityInventory_Request) returns (.CQuest_GetCommunityInventory_Response);
rpc GetCommunityItemDefinitions (.CQuest_GetCommunityItemDefinitions_Request) returns (.CQuest_GetCommunityItemDefinitions_Response);
rpc GetNumTradingCardsEarned (.CQuest_GetNumTradingCardsEarned_Request) returns (.CQuest_GetNumTradingCardsEarned_Response);
rpc GetVirtualItemRewardDefinition (.CQuest_VirtualItemRewardDefinition_Request) returns (.CQuest_VirtualItemRewardDefinition_Response);
rpc SetVirtualItemRewardDefinition (.CQuest_SetVirtualItemRewardDefinition_Request) returns (.CQuest_SetVirtualItemRewardDefinition_Response);
}

View File

@@ -0,0 +1,94 @@
import "common.proto";
message CRemoteClient_AllocateRelayServer_Request {
optional uint32 cellid = 1;
optional string credentials = 2;
}
message CRemoteClient_AllocateRelayServer_Response {
optional string relay_server = 1;
}
message CRemoteClient_AllocateSDR_Request {
optional uint32 appid = 1;
}
message CRemoteClient_AllocateSDR_Response {
}
message CRemoteClient_ClientDetails {
optional fixed64 remote_client_id = 1;
optional .CRemoteClient_DeviceDetails device_details = 2;
optional uint64 last_seen = 4;
optional string city = 5;
optional string state = 6;
optional string country = 7;
optional bool is_online = 8;
}
message CRemoteClient_CreateRemotePlayTogetherInvitation_Request {
optional uint32 appid = 1;
optional string launch_parameters = 2;
}
message CRemoteClient_CreateRemotePlayTogetherInvitation_Response {
optional string invitation_code = 1;
}
message CRemoteClient_DeleteRemotePlayTogetherInvitation_Request {
optional string invitation_code = 1;
}
message CRemoteClient_DeleteRemotePlayTogetherInvitation_Response {
}
message CRemoteClient_GetPairingInfo_Request {
optional uint32 pin = 1;
}
message CRemoteClient_GetPairingInfo_Response {
optional fixed64 session_id = 1;
optional fixed64 device_id = 2;
optional bytes request = 3;
}
message CRemoteClient_GetRecentClients_Request {
}
message CRemoteClient_GetRecentClients_Response {
repeated .CRemoteClient_ClientDetails clients = 1;
}
message CRemoteClient_MarkTaskComplete_Request {
optional fixed64 remote_client_id = 1;
optional fixed64 task_id = 2;
optional string content_id = 3;
}
message CRemoteClient_MarkTaskComplete_Response {
}
message CRemotePlay_SessionStarted_Request {
optional uint32 host_account_id = 1;
optional uint32 client_account_id = 2;
optional uint32 appid = 3;
optional int32 device_form_factor = 4;
optional bool remote_play_together = 5;
optional bool guest_session = 6;
}
message CRemotePlay_SessionStarted_Response {
optional fixed64 record_id = 1;
}
service RemoteClient {
rpc AllocateRelayServer (.CRemoteClient_AllocateRelayServer_Request) returns (.CRemoteClient_AllocateRelayServer_Response);
rpc AllocateSDR (.CRemoteClient_AllocateSDR_Request) returns (.CRemoteClient_AllocateSDR_Response);
rpc CreateRemotePlayTogetherInvitation (.CRemoteClient_CreateRemotePlayTogetherInvitation_Request) returns (.CRemoteClient_CreateRemotePlayTogetherInvitation_Response);
rpc DeleteRemotePlayTogetherInvitation (.CRemoteClient_DeleteRemotePlayTogetherInvitation_Request) returns (.CRemoteClient_DeleteRemotePlayTogetherInvitation_Response);
rpc GetPairingInfo (.CRemoteClient_GetPairingInfo_Request) returns (.CRemoteClient_GetPairingInfo_Response);
rpc GetRecentClients (.CRemoteClient_GetRecentClients_Request) returns (.CRemoteClient_GetRecentClients_Response);
rpc MarkTaskComplete (.CRemoteClient_MarkTaskComplete_Request) returns (.CRemoteClient_MarkTaskComplete_Response);
rpc SendRemotePlaySessionStarted (.CRemotePlay_SessionStarted_Request) returns (.CRemotePlay_SessionStarted_Response);
}

View File

@@ -0,0 +1,91 @@
import "common_base.proto";
message CRemoteClient_RegisterStatusUpdate_Notification {
optional fixed64 session_id = 1;
optional fixed64 steamid = 2;
optional fixed64 device_id = 3;
}
message CRemoteClient_RemotePacket_Notification {
optional fixed64 session_id = 1;
optional fixed64 steamid = 2;
optional bytes payload = 4;
}
message CRemoteClient_SteamBroadcast_Notification {
optional fixed64 steamid = 1;
optional fixed64 clientid = 2;
optional bytes payload = 3;
}
message CRemoteClient_SteamToSteam_Notification {
optional fixed64 steamid = 1;
optional fixed64 src_clientid = 2;
optional fixed64 dst_clientid = 3;
optional uint32 secretid = 4;
optional bytes encrypted_payload = 5;
}
message CRemoteClient_Task {
optional int32 type = 1 [(.description) = "enum"];
optional fixed64 task_id = 2;
optional string url = 3;
optional int64 file_id = 4;
}
message CRemoteClient_TaskList_Notification {
optional fixed64 remote_client_id = 1;
repeated .CRemoteClient_Task tasklist = 2;
}
message CRemoteClient_UnregisterStatusUpdate_Notification {
optional fixed64 session_id = 1;
optional fixed64 steamid = 2;
}
message CRemotePlayTogether_Notification {
optional fixed64 steamid = 1;
optional .CRemotePlayTogether_Notification_GroupUpdated group_updated = 2;
}
message CRemotePlayTogether_Notification_ControllerSlot {
optional uint32 slotid = 1;
optional .CRemotePlayTogether_Notification_Player player = 2;
optional int32 controller_type = 3;
}
message CRemotePlayTogether_Notification_ControllerSlot_obsolete {
optional uint32 slotid = 1;
optional fixed64 steamid = 2;
}
message CRemotePlayTogether_Notification_GroupUpdated {
optional fixed64 host_steamid = 1;
optional fixed64 host_clientid = 2;
repeated fixed64 players_obsolete = 3;
optional fixed64 host_gameid = 4;
repeated .CRemotePlayTogether_Notification_ControllerSlot_obsolete controller_slots_obsolete = 5;
optional bool has_new_players = 6;
repeated .CRemotePlayTogether_Notification_Player player_slots = 7;
repeated .CRemotePlayTogether_Notification_ControllerSlot controller_slots = 8;
}
message CRemotePlayTogether_Notification_Player {
optional fixed64 steamid = 1;
optional uint32 guestid = 2;
optional bytes avatar_hash = 3;
optional bool keyboard_enabled = 4;
optional bool mouse_enabled = 5;
optional bool controller_enabled = 6;
}
service RemoteClientSteamClient {
rpc NotifyRegisterStatusUpdate (.CRemoteClient_RegisterStatusUpdate_Notification) returns (.NoResponse);
rpc NotifyRemotePacket (.CRemoteClient_RemotePacket_Notification) returns (.NoResponse);
rpc NotifyRemotePlayTogetherPacket (.CRemotePlayTogether_Notification) returns (.NoResponse);
rpc NotifySteamBroadcastPacket (.CRemoteClient_SteamBroadcast_Notification) returns (.NoResponse);
rpc NotifySteamToSteamPacket (.CRemoteClient_SteamToSteam_Notification) returns (.NoResponse);
rpc NotifyTaskList (.CRemoteClient_TaskList_Notification) returns (.NoResponse);
rpc NotifyUnregisterStatusUpdate (.CRemoteClient_UnregisterStatusUpdate_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,373 @@
import "common_base.proto";
message CAchievementDetails {
optional uint32 statid = 1;
optional uint32 fieldid = 2;
optional string achievement_name_internal = 3;
optional uint32 rtime_unlocked = 4;
}
message CFriendSharedYearInView {
optional fixed64 steamid = 1;
optional int32 privacy_state = 3 [(.description) = "enum"];
optional uint32 rt_privacy_updated = 4;
}
message CGameAchievements {
optional uint32 appid = 1;
repeated .CAchievementDetails achievements = 2;
optional uint32 all_time_unlocked_achievements = 3;
optional bool unlocked_more_in_future = 4;
}
message CGamePlaytimeStats {
optional uint32 appid = 1;
optional .CPlaytimeStats stats = 2;
optional .CPlaytimeStreak playtime_streak = 3;
optional .CPlaytimeRanks playtime_ranks = 4;
optional uint32 rtime_first_played = 5;
optional .CPlaytimeStats relative_game_stats = 6;
}
message CGameRank {
optional uint32 appid = 1;
optional uint32 rank = 2;
}
message CGameRankings {
optional .CRankingCategory overall_ranking = 1;
optional .CRankingCategory vr_ranking = 2;
optional .CRankingCategory deck_ranking = 3;
optional .CRankingCategory controller_ranking = 4;
optional .CRankingCategory linux_ranking = 5;
optional .CRankingCategory mac_ranking = 6;
optional .CRankingCategory windows_ranking = 7;
}
message CGameSummary {
optional uint32 appid = 1;
optional bool new_this_year = 2;
optional uint32 rtime_first_played_lifetime = 3;
optional bool demo = 4;
optional bool playtest = 5;
optional bool played_during_early_access = 6;
optional bool played_vr = 7;
optional bool played_deck = 8;
optional bool played_controller = 9;
optional bool played_linux = 10;
optional bool played_mac = 11;
optional bool played_windows = 12;
optional uint32 total_playtime_percentagex100 = 13;
optional uint32 total_sessions = 14;
optional uint32 rtime_release_date = 15;
}
message CGlobalPercentiles {
optional uint32 median_achievements = 1;
optional uint32 median_games = 2;
optional uint32 median_streak = 3;
}
message CGlobalPlaytimeDistribution {
optional uint32 new_releases = 1;
optional uint32 recent_releases = 2;
optional uint32 classic_releases = 3;
optional uint32 recent_cutoff_year = 4;
}
message CMonthlyPlaytimeStats {
optional uint32 rtime_month = 1;
optional .CPlaytimeStats stats = 2;
optional .CPlaytimeStreak playtime_streak = 3;
repeated .CGamePlaytimeStats appid = 4;
optional .CPlaytimeStats relative_monthly_stats = 5;
repeated .CSimpleGameSummary game_summary = 6;
}
message CMonthlyProgress {
optional uint32 year = 1;
optional uint32 month = 2;
optional uint32 rt_processing_start = 3;
optional uint32 rt_queue_complete = 4;
optional uint32 rt_queue_emptied = 5;
optional uint32 rt_platform_summary = 6;
optional uint32 accounts_queued = 7;
optional uint32 largest_account_id = 8;
}
message CPlaytimeByNumbers {
optional uint32 screenshots_shared = 1;
optional uint32 gifts_sent = 2;
optional uint32 loyalty_reactions = 3;
optional uint32 written_reviews = 4;
optional uint32 guides_submitted = 5;
optional uint32 workshop_contributions = 6;
optional uint32 badges_earned = 7;
optional uint32 friends_added = 8;
optional uint32 forum_posts = 9;
optional uint32 workshop_subscriptions = 10;
optional uint32 guide_subscribers = 11;
optional uint32 workshop_subscribers = 12;
optional uint32 games_played_pct = 13;
optional uint32 achievements_pct = 14;
optional uint32 game_streak_pct = 15;
optional uint32 games_played_avg = 16;
optional uint32 achievements_avg = 17;
optional uint32 game_streak_avg = 18;
}
message CPlaytimeRanks {
optional uint32 overall_rank = 1;
optional uint32 vr_rank = 2;
optional uint32 deck_rank = 3;
optional uint32 controller_rank = 4;
optional uint32 linux_rank = 5;
optional uint32 mac_rank = 6;
optional uint32 windows_rank = 7;
}
message CPlaytimeStats {
optional uint32 total_playtime_seconds = 1;
optional uint32 total_sessions = 20;
optional uint32 vr_sessions = 21;
optional uint32 deck_sessions = 22;
optional uint32 controller_sessions = 23;
optional uint32 linux_sessions = 24;
optional uint32 macos_sessions = 25;
optional uint32 windows_sessions = 26;
optional uint32 total_playtime_percentagex100 = 27;
optional uint32 vr_playtime_percentagex100 = 28;
optional uint32 deck_playtime_percentagex100 = 29;
optional uint32 controller_playtime_percentagex100 = 30;
optional uint32 linux_playtime_percentagex100 = 31;
optional uint32 macos_playtime_percentagex100 = 32;
optional uint32 windows_playtime_percentagex100 = 33;
}
message CPlaytimeStreak {
optional uint32 longest_consecutive_days = 1;
optional uint32 rtime_start = 2;
repeated .CPlaytimeStreakGame streak_games = 3;
}
message CPlaytimeStreakGame {
optional uint32 appid = 1;
}
message CRankingCategory {
optional string category = 1;
repeated .CGameRank rankings = 2;
}
message CSaleFeature_GetFriendsSharedYearInReview_Request {
optional fixed64 steamid = 1;
optional uint32 year = 2;
optional bool return_private = 3;
}
message CSaleFeature_GetFriendsSharedYearInReview_Response {
repeated .CFriendSharedYearInView friend_shares = 1;
optional uint32 year = 2;
}
message CSaleFeature_GetUpdateProcessingProgress_Request {
optional uint32 year = 1;
}
message CSaleFeature_GetUpdateProcessingProgress_Response {
repeated .CMonthlyProgress results = 1;
}
message CSaleFeature_GetUserActionData_Request {
optional fixed64 steamid = 1;
optional fixed64 gid = 2;
optional int32 type = 3 [(.description) = "enum"];
}
message CSaleFeature_GetUserActionData_Response {
optional string jsondata = 1;
}
message CSaleFeature_GetUserSharingPermissions_Request {
optional fixed64 steamid = 1;
optional uint32 year = 2;
}
message CSaleFeature_GetUserSharingPermissions_Response {
optional int32 privacy_state = 1 [(.description) = "enum"];
optional bool generated_value = 2;
optional fixed64 steamid = 3;
optional uint32 rt_privacy_updated = 4;
}
message CSaleFeature_GetUserYearAchievements_Request {
optional fixed64 steamid = 1;
optional uint32 year = 2;
repeated uint32 appids = 3;
optional bool total_only = 4;
}
message CSaleFeature_GetUserYearAchievements_Response {
repeated .CGameAchievements game_achievements = 1;
optional uint32 total_achievements = 2;
optional uint32 total_rare_achievements = 3;
optional uint32 total_games_with_achievements = 4;
}
message CSaleFeature_GetUserYearInReview_Request {
optional fixed64 steamid = 1;
optional uint32 year = 2;
optional bool force_regenerate = 3;
optional int32 access_source = 4;
}
message CSaleFeature_GetUserYearInReview_Response {
optional .CUserYearInReviewStats stats = 1;
optional .CYearInReviewPerformanceStats performance_stats = 2;
optional .CGlobalPercentiles percentiles = 3;
optional .CGlobalPlaytimeDistribution distribution = 4;
}
message CSaleFeature_GetUserYearInReviewShareImage_Request {
optional fixed64 steamid = 1;
optional uint32 year = 2;
optional string language = 3;
}
message CSaleFeature_GetUserYearInReviewShareImage_Response {
repeated .CSaleFeature_GetUserYearInReviewShareImage_Response_Image images = 1;
}
message CSaleFeature_GetUserYearInReviewShareImage_Response_Image {
optional string name = 1;
optional string url_path = 2;
}
message CSaleFeature_GetUserYearScreenshots_Request {
optional fixed64 steamid = 1;
optional uint32 year = 2;
repeated uint32 appids = 3;
}
message CSaleFeature_GetUserYearScreenshots_Response {
repeated .CSaleFeature_GetUserYearScreenshots_Response_ScreenshotsByApp apps = 1;
}
message CSaleFeature_GetUserYearScreenshots_Response_Screenshot {
optional string image_url = 1;
optional string preview_url = 2;
optional uint32 image_width = 3;
optional uint32 image_height = 4;
optional bool maybe_inappropriate_sex = 5;
optional bool maybe_inappropriate_violence = 6;
optional uint32 visibility = 7;
optional bool spoiler_tag = 8;
}
message CSaleFeature_GetUserYearScreenshots_Response_ScreenshotsByApp {
optional uint32 appid = 1;
repeated .CSaleFeature_GetUserYearScreenshots_Response_Screenshot screenshots = 2;
}
message CSaleFeature_GetYIRCurrentMonthlySummary_Request {
optional fixed64 steamid = 1;
}
message CSaleFeature_GetYIRCurrentMonthlySummary_Response {
optional uint32 year = 1;
optional uint32 month = 2;
optional uint32 games_played = 4;
optional uint32 top_played_appid = 5;
optional uint32 longest_streak_days = 6;
optional uint32 rt_streak_start = 7;
optional uint32 achievements = 8;
optional uint32 screenshots = 9;
}
message CSaleFeature_SetUserActionData_Request {
optional fixed64 steamid = 1;
optional fixed64 gid = 2;
optional int32 type = 3 [(.description) = "enum"];
optional string jsondata = 4;
}
message CSaleFeature_SetUserActionData_Response {
}
message CSaleFeature_SetUserSharingPermissions_Request {
optional fixed64 steamid = 1;
optional uint32 year = 2;
optional int32 privacy_state = 3 [(.description) = "enum"];
}
message CSaleFeature_SetUserSharingPermissions_Response {
optional int32 privacy_state = 1 [(.description) = "enum"];
}
message CSimpleGameSummary {
optional uint32 appid = 1;
optional uint32 total_playtime_percentagex100 = 2;
optional uint32 relative_playtime_percentagex100 = 3;
}
message CUserPlaytimeStats {
optional .CPlaytimeStats total_stats = 1;
repeated .CGamePlaytimeStats games = 2;
optional .CPlaytimeStreak playtime_streak = 3;
repeated .CMonthlyPlaytimeStats months = 5;
repeated .CGameSummary game_summary = 6;
optional uint32 demos_played = 7;
optional .CGameRankings game_rankings = 8;
optional uint32 playtests_played = 9;
optional .CUserPlaytimeSummaryStats summary_stats = 10;
optional bool substantial = 11 [default = true];
optional .CUserTagStats tag_stats = 12;
optional .CPlaytimeByNumbers by_numbers = 13;
}
message CUserPlaytimeSummaryStats {
optional uint32 total_achievements = 2;
optional uint32 total_games_with_achievements = 3;
optional uint32 total_rare_achievements = 4;
}
message CUserTagStats {
repeated .CUserTagStats_Tag stats = 1;
}
message CUserTagStats_Tag {
optional uint32 tag_id = 1;
optional float tag_weight = 2;
optional float tag_weight_pre_selection = 3;
}
message CUserYearInReviewStats {
optional uint32 account_id = 1;
optional uint32 year = 2;
optional .CUserPlaytimeStats playtime_stats = 3;
optional int32 privacy_state = 4 [(.description) = "enum"];
}
message CYearInReviewPerformanceStats {
optional bool from_dbo = 1;
optional uint64 overall_time_ms = 2;
optional uint64 dbo_load_ms = 3;
optional uint64 query_execution_ms = 4;
optional uint64 message_population_ms = 5;
optional uint64 dbo_lock_load_ms = 6;
}
service SaleFeature {
rpc GetFriendsSharedYearInReview (.CSaleFeature_GetFriendsSharedYearInReview_Request) returns (.CSaleFeature_GetFriendsSharedYearInReview_Response);
rpc GetUpdateProcessingProgress (.CSaleFeature_GetUpdateProcessingProgress_Request) returns (.CSaleFeature_GetUpdateProcessingProgress_Response);
rpc GetUserActionData (.CSaleFeature_GetUserActionData_Request) returns (.CSaleFeature_GetUserActionData_Response);
rpc GetUserSharingPermissions (.CSaleFeature_GetUserSharingPermissions_Request) returns (.CSaleFeature_GetUserSharingPermissions_Response);
rpc GetUserYearAchievements (.CSaleFeature_GetUserYearAchievements_Request) returns (.CSaleFeature_GetUserYearAchievements_Response);
rpc GetUserYearInReview (.CSaleFeature_GetUserYearInReview_Request) returns (.CSaleFeature_GetUserYearInReview_Response);
rpc GetUserYearInReviewShareImage (.CSaleFeature_GetUserYearInReviewShareImage_Request) returns (.CSaleFeature_GetUserYearInReviewShareImage_Response);
rpc GetUserYearScreenshots (.CSaleFeature_GetUserYearScreenshots_Request) returns (.CSaleFeature_GetUserYearScreenshots_Response);
rpc GetYIRCurrentMonthlySummary (.CSaleFeature_GetYIRCurrentMonthlySummary_Request) returns (.CSaleFeature_GetYIRCurrentMonthlySummary_Response);
rpc SetUserActionData (.CSaleFeature_SetUserActionData_Request) returns (.CSaleFeature_SetUserActionData_Response);
rpc SetUserSharingPermissions (.CSaleFeature_SetUserSharingPermissions_Request) returns (.CSaleFeature_SetUserSharingPermissions_Response);
}

View File

@@ -0,0 +1,54 @@
import "common_base.proto";
import "common.proto";
message CSaleItemRewards_CanClaimItem_Request {
optional string language = 1;
}
message CSaleItemRewards_CanClaimItem_Response {
optional bool can_claim = 1;
optional uint32 next_claim_time = 2;
optional .LoyaltyRewardDefinition reward_item = 3;
}
message CSaleItemRewards_ClaimItem_Request {
optional string language = 1;
}
message CSaleItemRewards_ClaimItem_Response {
optional uint64 communityitemid = 1;
optional uint32 next_claim_time = 2;
optional .LoyaltyRewardDefinition reward_item = 3;
}
message CSaleItemRewards_GetRewardDefinitions_Request {
optional uint32 virtual_item_reward_event_id = 1;
}
message CSaleItemRewards_GetRewardDefinitions_Response {
repeated .CSteamItemRewardDefinition definitions = 1;
}
message CSaleItemRewards_SetRewardDefinitions_Request {
repeated .CSteamItemRewardDefinition definitions = 1;
optional int32 action = 2 [(.description) = "enum"];
}
message CSaleItemRewards_SetRewardDefinitions_Response {
}
message CSteamItemRewardDefinition {
optional uint32 sale_reward_def_id = 1;
optional uint32 appid = 2;
optional uint32 virtual_item_reward_event_id = 3;
optional uint32 rtime_start_time = 4;
optional uint32 rtime_end_time = 5;
}
service SaleItemRewards {
rpc CanClaimItem (.CSaleItemRewards_CanClaimItem_Request) returns (.CSaleItemRewards_CanClaimItem_Response);
rpc ClaimItem (.CSaleItemRewards_ClaimItem_Request) returns (.CSaleItemRewards_ClaimItem_Response);
rpc GetRewardDefinitions (.CSaleItemRewards_GetRewardDefinitions_Request) returns (.CSaleItemRewards_GetRewardDefinitions_Response);
rpc SetRewardDefinitions (.CSaleItemRewards_SetRewardDefinitions_Request) returns (.CSaleItemRewards_SetRewardDefinitions_Response);
}

View File

@@ -0,0 +1,25 @@
message CMsgSteamUIBrowserWindow {
optional int32 id = 1;
optional int32 pid = 2;
optional int32 browser_id = 3;
optional int32 window_type = 4;
optional int32 x = 5;
optional int32 y = 6;
optional uint64 appid = 7;
optional uint64 parent_window_handle = 8;
optional string app_name = 9;
optional bool gamepadui_via_gamescope = 10;
}
message CSharedJSContext_GetDesiredSteamUIWindows_Request {
}
message CSharedJSContext_GetDesiredSteamUIWindows_Response {
repeated .CMsgSteamUIBrowserWindow windows = 1;
}
service SharedJSContext {
rpc GetDesiredSteamUIWindows (.CSharedJSContext_GetDesiredSteamUIWindows_Request) returns (.CSharedJSContext_GetDesiredSteamUIWindows_Response);
}

View File

@@ -0,0 +1,152 @@
message CShoppingCart_AddBundle_Request {
optional uint64 gidshoppingcart = 1;
optional uint32 bundleid = 2;
optional uint64 browserid = 3;
optional string store_country = 5;
optional uint32 quantity = 6;
optional bool beta_mode = 7 [default = false];
}
message CShoppingCart_AddBundle_Response {
optional .CShoppingCart_Contents contents = 1;
repeated uint32 result_details = 2;
}
message CShoppingCart_AddPackages_Request {
optional uint64 gidshoppingcart = 1;
optional uint64 browserid = 2;
repeated .CShoppingCart_PackageItem cart_items = 4;
optional string store_country_code = 5;
optional bool beta_mode = 6 [default = false];
}
message CShoppingCart_AddPackages_Response {
optional uint64 gidshoppingcart = 1;
optional .CShoppingCart_Contents contents = 2;
repeated uint32 result_details = 3;
}
message CShoppingCart_Amount {
optional int64 amount = 1;
optional uint32 currencycode = 2;
}
message CShoppingCart_AvailableCoupon {
optional uint32 couponid = 1;
optional uint64 gidcoupon = 2;
optional uint64 gidlineitem = 3;
}
message CShoppingCart_BundleItem {
optional uint32 bundleid = 1;
optional uint32 quantity = 2;
}
message CShoppingCart_Contents {
repeated .CShoppingCart_Item lineitems = 1;
repeated .CShoppingCart_RelationShip treeview = 2;
optional .CShoppingCart_Potentials potentials = 3;
}
message CShoppingCart_CouponItem {
optional uint32 couponid = 1;
optional uint64 gidcoupontarget = 2;
optional uint32 packageid = 3;
optional uint64 gidcoupon = 4;
}
message CShoppingCart_CreateNew_Request {
optional fixed64 steamid_requester = 1;
optional uint64 purchase_request_id = 2;
}
message CShoppingCart_CreateNew_Response {
optional uint64 gidshoppingcart = 1;
}
message CShoppingCart_GetContents_Request {
optional uint64 gidshoppingcart = 1;
}
message CShoppingCart_GetContents_Response {
optional uint64 gidshoppingcart = 1;
optional .CShoppingCart_Contents contents = 2;
optional uint32 time_created = 3;
optional bool merged_into_account_cart = 4;
optional fixed64 steamid_requester = 5;
optional uint64 purchase_request_id = 6;
}
message CShoppingCart_Item {
optional uint64 gidlineitem = 1;
optional .CShoppingCart_PackageItem package_item = 2;
optional .CShoppingCart_WalletCreditItem wallet_credit_item = 3;
optional .CShoppingCart_CouponItem coupon_item = 4;
optional .CShoppingCart_MicroTxnAsset micro_item = 5;
optional .CShoppingCart_BundleItem bundle_item = 7;
optional .CShoppingCart_LoyaltyRewardItem loyalty_item = 8;
}
message CShoppingCart_LoyaltyRewardItem {
optional int32 reward_id = 1;
}
message CShoppingCart_MicroTxnAsset {
optional uint32 microtxnappid = 1;
optional uint64 microtxnassetclassid = 2;
}
message CShoppingCart_PackageItem {
optional uint32 packageid = 1;
optional .CShoppingCart_Amount costwhenadded = 2;
optional bool is_gift = 3;
optional uint64 gidbundle = 4;
optional uint32 quantity = 5;
}
message CShoppingCart_Potentials {
repeated .CShoppingCart_AvailableCoupon coupons = 1;
}
message CShoppingCart_RelationShip {
optional uint64 gidparent = 1;
repeated .CShoppingCart_RelationShip children = 2;
}
message CShoppingCart_RemoveLineItems_Request {
optional uint64 gidshoppingcart = 1;
repeated uint64 gidlineitems = 2;
optional uint64 browserid = 3;
}
message CShoppingCart_RemoveLineItems_Response {
optional .CShoppingCart_Contents contents = 1;
repeated uint32 result_details = 2;
}
message CShoppingCart_UpdatePackageQuantity_Request {
optional uint64 gidshoppingcart = 1;
optional uint64 gidlineitem = 2;
optional uint32 quantity = 3;
}
message CShoppingCart_UpdatePackageQuantity_Response {
optional uint64 gidshoppingcart = 1;
optional .CShoppingCart_Contents contents = 2;
repeated uint32 result_details = 3;
}
message CShoppingCart_WalletCreditItem {
optional .CShoppingCart_Amount walletcredit = 1;
}
service ShoppingCart {
rpc AddBundle (.CShoppingCart_AddBundle_Request) returns (.CShoppingCart_AddBundle_Response);
rpc AddPackages (.CShoppingCart_AddPackages_Request) returns (.CShoppingCart_AddPackages_Response);
rpc CreateNewShoppingCart (.CShoppingCart_CreateNew_Request) returns (.CShoppingCart_CreateNew_Response);
rpc GetShoppingCartContents (.CShoppingCart_GetContents_Request) returns (.CShoppingCart_GetContents_Response);
rpc RemoveLineItems (.CShoppingCart_RemoveLineItems_Request) returns (.CShoppingCart_RemoveLineItems_Response);
rpc UpdatePackageQuantity (.CShoppingCart_UpdatePackageQuantity_Request) returns (.CShoppingCart_UpdatePackageQuantity_Response);
}

View File

@@ -0,0 +1,76 @@
import "common_base.proto";
message CSteamAwards_GetNominationRecommendations_Request {
optional uint32 category_id = 1;
}
message CSteamAwards_GetNominationRecommendations_Response {
repeated .CSteamAwards_GetNominationRecommendations_Response_PlayedApps played_app = 1;
repeated .CSteamAwards_GetNominationRecommendations_Response_SuggestedEvent suggested_events = 2;
repeated .CSteamAwards_GetNominationRecommendations_Response_SuggestedApp suggested_apps = 3;
}
message CSteamAwards_GetNominationRecommendations_Response_PlayedApps {
optional uint32 appid = 1;
optional int32 playtime = 2;
}
message CSteamAwards_GetNominationRecommendations_Response_SuggestedApp {
optional uint32 appid = 1;
}
message CSteamAwards_GetNominationRecommendations_Response_SuggestedEvent {
optional uint32 clanid = 1;
optional uint64 event_gid = 2;
optional uint32 appid = 3;
}
message CSteamAwards_GetNominationShareLink_Request {
optional bool generate_new = 1;
}
message CSteamAwards_GetNominationShareLink_Response {
optional fixed64 code = 1;
}
message CSteamAwards_GetOtherUserNominations_Request {
optional fixed64 steamid = 1;
optional fixed64 code = 2;
}
message CSteamAwards_GetUserNominations_Request {
}
message CSteamAwards_GetUserNominations_Response {
repeated .CSteamAwardsNomination nominations = 1;
}
message CSteamAwards_Nominate_Request {
optional uint32 category_id = 1;
optional uint32 nominated_id = 2;
optional int32 source = 3 [(.description) = "enum"];
}
message CSteamAwards_Nominate_Response {
repeated .CSteamAwardsNomination nominations = 1;
}
message CSteamAwardsNomination {
optional uint32 category_id = 1;
optional string category_name = 2;
//optional uint32 appid = 2;
optional uint32 appid__field_3 = 3;
//optional uint32 last_updated = 3;
optional string write_in_name = 4;
optional uint32 store_appid = 5;
optional uint32 developer_id = 6;
}
service SteamAwards {
rpc GetNominationRecommendations (.CSteamAwards_GetNominationRecommendations_Request) returns (.CSteamAwards_GetNominationRecommendations_Response);
rpc GetNominationShareLink (.CSteamAwards_GetNominationShareLink_Request) returns (.CSteamAwards_GetNominationShareLink_Response);
rpc GetOtherUserNominations (.CSteamAwards_GetOtherUserNominations_Request) returns (.CSteamAwards_GetUserNominations_Response);
rpc GetUserNominations (.CSteamAwards_GetUserNominations_Request) returns (.CSteamAwards_GetUserNominations_Response);
rpc Nominate (.CSteamAwards_Nominate_Request) returns (.CSteamAwards_Nominate_Response);
}

View File

@@ -0,0 +1,96 @@
import "common_base.proto";
import "common.proto";
message CSteamCharts_GetBestOfYearPages_Request {
}
message CSteamCharts_GetBestOfYearPages_Response {
repeated .CSteamCharts_GetBestOfYearPages_Response_BestOfYearPage pages = 1;
}
message CSteamCharts_GetBestOfYearPages_Response_BestOfYearPage {
optional string name = 1;
optional string url_path = 2;
repeated string banner_url = 3;
repeated string banner_url_mobile = 4;
optional uint32 start_date = 5;
}
message CSteamCharts_GetGamesByConcurrentPlayers_Request {
optional .StoreBrowseContext context = 1;
optional .StoreBrowseItemDataRequest data_request = 2;
}
message CSteamCharts_GetGamesByConcurrentPlayers_Response {
optional uint32 last_update = 1;
repeated .CSteamCharts_GetGamesByConcurrentPlayers_Response_MostPlayedRank ranks = 2;
}
message CSteamCharts_GetGamesByConcurrentPlayers_Response_MostPlayedRank {
optional int32 rank = 1;
optional uint32 appid = 2;
optional .StoreItem item = 3;
optional uint32 concurrent_in_game = 4;
optional uint32 peak_in_game = 5;
}
message CSteamCharts_GetMostPlayedGames_Request {
optional .StoreBrowseContext context = 1;
optional .StoreBrowseItemDataRequest data_request = 2;
}
message CSteamCharts_GetMostPlayedGames_Response {
optional uint32 rollup_date = 1;
repeated .CSteamCharts_GetMostPlayedGames_Response_MostPlayedRank ranks = 2;
}
message CSteamCharts_GetMostPlayedGames_Response_MostPlayedRank {
optional int32 rank = 1;
optional uint32 appid = 2;
optional .StoreItem item = 3;
optional int32 last_week_rank = 4;
optional uint32 peak_in_game = 5;
optional uint32 daily_active_players = 6;
}
message CSteamCharts_GetMostPlayedSteamDeckGames_Request {
optional .StoreBrowseContext context = 1;
optional .StoreBrowseItemDataRequest data_request = 2;
optional int32 top_played_period = 3 [(.description) = "enum"];
optional int32 count = 4;
}
message CSteamCharts_GetMostPlayedSteamDeckGames_Response {
repeated .CSteamCharts_GetMostPlayedSteamDeckGames_Response_MostPlayedRank ranks = 1;
optional int32 top_played_period = 2 [(.description) = "enum"];
}
message CSteamCharts_GetMostPlayedSteamDeckGames_Response_MostPlayedRank {
optional int32 rank = 1;
optional uint32 appid = 2;
optional .StoreItem item = 3;
optional int32 last_period_rank = 4;
}
message CSteamCharts_GetTopReleasesPages_Request {
}
message CSteamCharts_GetTopReleasesPages_Response {
repeated .CSteamCharts_GetTopReleasesPages_Response_TopReleasesPage pages = 1;
}
message CSteamCharts_GetTopReleasesPages_Response_TopReleasesPage {
optional string name = 1;
optional uint32 start_of_month = 2;
optional string url_path = 3;
repeated .StoreItemID item_ids = 4;
}
service SteamCharts {
rpc GetBestOfYearPages (.CSteamCharts_GetBestOfYearPages_Request) returns (.CSteamCharts_GetBestOfYearPages_Response);
rpc GetGamesByConcurrentPlayers (.CSteamCharts_GetGamesByConcurrentPlayers_Request) returns (.CSteamCharts_GetGamesByConcurrentPlayers_Response);
rpc GetMostPlayedGames (.CSteamCharts_GetMostPlayedGames_Request) returns (.CSteamCharts_GetMostPlayedGames_Response);
rpc GetMostPlayedSteamDeckGames (.CSteamCharts_GetMostPlayedSteamDeckGames_Request) returns (.CSteamCharts_GetMostPlayedSteamDeckGames_Response);
rpc GetTopReleasesPages (.CSteamCharts_GetTopReleasesPages_Request) returns (.CSteamCharts_GetTopReleasesPages_Response);
}

View File

@@ -0,0 +1,42 @@
import "common_base.proto";
message CSteamEngine_GetGameIDForPID_Request {
optional uint32 pid = 1;
}
message CSteamEngine_GetGameIDForPID_Response {
optional uint64 gameid = 1;
}
message CSteamEngine_GetTextFilterDictionary_Request {
optional string language = 1;
optional string type = 2;
}
message CSteamEngine_GetTextFilterDictionary_Response {
optional string dictionary = 1;
}
message CSteamEngine_SetOverlayEscapeKeyHandling_Notification {
optional uint64 gameid = 1;
optional bool should_handle = 2;
}
message CSteamEngine_TextFilterDictionaryChanged_Notification {
optional string language = 1;
optional string type = 2;
}
message CSteamEngine_UpdateTextFilterDictionary_Notification {
optional string language = 1;
optional string type = 2;
}
service SteamEngine {
rpc GetGameIDForPID (.CSteamEngine_GetGameIDForPID_Request) returns (.CSteamEngine_GetGameIDForPID_Response);
rpc GetTextFilterDictionary (.CSteamEngine_GetTextFilterDictionary_Request) returns (.CSteamEngine_GetTextFilterDictionary_Response);
rpc NotifyTextFilterDictionaryChanged (.CSteamEngine_TextFilterDictionaryChanged_Notification) returns (.NoResponse);
rpc SetOverlayEscapeKeyHandling (.CSteamEngine_SetOverlayEscapeKeyHandling_Notification) returns (.NoResponse);
rpc UpdateTextFilterDictionary (.CSteamEngine_UpdateTextFilterDictionary_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,127 @@
import "common_base.proto";
message ControllerGyroEulerAngles {
optional float pitch = 1;
optional float yaw = 2;
optional float roll = 3;
}
message ControllerQuaternion {
optional float w = 1;
optional float x = 2;
optional float y = 3;
optional float z = 4;
}
message ControllerVector2 {
optional float x = 1;
optional float y = 2;
}
message ControllerVector3 {
optional float x = 1;
optional float y = 2;
optional float z = 3;
}
message CSteamInputService_ControllerAxesStateChange_Notification {
optional uint32 controller_index = 1;
optional .ControllerVector2 joystick_left = 2;
optional .ControllerVector2 joystick_right = 3;
optional .ControllerVector2 trackpad_left = 4;
optional .ControllerVector2 trackpad_right = 5;
optional .ControllerVector2 trackpad_center = 6;
optional float trackpad_pressure_left = 7;
optional float trackpad_pressure_right = 8;
optional float trigger_left = 9;
optional float trigger_right = 10;
}
message CSteamInputService_ControllerButtonStateChanged_Notification {
optional uint32 controller_index = 1;
optional bool dpad_up = 2;
optional bool dpad_down = 3;
optional bool dpad_left = 4;
optional bool dpad_right = 5;
optional bool button_south = 6;
optional bool button_east = 7;
optional bool button_west = 8;
optional bool button_north = 9;
optional bool button_back_view = 10;
optional bool button_start_options = 11;
optional bool button_steam = 12;
optional bool button_quick_access = 13;
optional bool button_mute_capture = 14;
optional bool left_stick_click = 15;
optional bool left_stick_touch = 16;
optional bool left_stick_deflect = 17;
optional bool right_stick_click = 18;
optional bool right_stick_touch = 19;
optional bool right_stick_deflect = 20;
optional bool center_trackpad_touch = 21;
optional bool center_trackpad_click = 22;
optional bool left_trackpad_touch = 23;
optional bool left_trackpad_click = 24;
optional bool right_trackpad_touch = 25;
optional bool right_trackpad_click = 26;
optional bool left_bumper = 27;
optional bool left_trigger = 28;
optional bool l4 = 29;
optional bool l5 = 30;
optional bool left_aux = 31;
optional bool right_bumper = 32;
optional bool right_trigger = 33;
optional bool r4 = 34;
optional bool r5 = 35;
optional bool right_aux = 36;
}
message CSteamInputService_ControllerStateFlow_Request {
optional uint32 controller_index = 1;
optional uint32 flow_mode = 2;
}
message CSteamInputService_ControllerStateFlow_Response {
}
message CSteamInputService_GyroAccelerometerChanged_Notification {
optional uint32 controller_index = 1;
optional uint32 imu_index = 2;
optional .ControllerVector3 acceleromter_1g = 4;
optional .ControllerVector3 trusted_gravity_1g = 5;
}
message CSteamInputService_GyroCalibration_Notification {
optional uint32 controller_index = 1;
optional uint32 imu_index = 2;
optional float acceleromter_noise = 3;
optional float gyroscope_noise = 4;
optional float calibration_progress = 5;
}
message CSteamInputService_GyroQuaternionChanged_Notification {
optional uint32 controller_index = 1;
optional uint32 imu_index = 2;
optional .ControllerQuaternion gyro_raw_quaternion = 3;
optional .ControllerQuaternion gyro_filtered_quaternion = 4;
optional uint32 imu_sensor_delta_time = 5;
}
message CSteamInputService_GyroSpeedChanged_Notification {
optional uint32 controller_index = 1;
optional uint32 imu_index = 2;
optional .ControllerGyroEulerAngles gyro_raw_speed = 3;
optional .ControllerGyroEulerAngles gyro_filtered_speed = 4;
}
service SteamInputManager {
rpc EndControllerStateFlow (.CSteamInputService_ControllerStateFlow_Request) returns (.CSteamInputService_ControllerStateFlow_Response);
rpc NotifyAxesStateChanged (.CSteamInputService_ControllerAxesStateChange_Notification) returns (.NoResponse);
rpc NotifyButtonStateChanged (.CSteamInputService_ControllerButtonStateChanged_Notification) returns (.NoResponse);
rpc NotifyGyroAccelerometerStateChanged (.CSteamInputService_GyroAccelerometerChanged_Notification) returns (.NoResponse);
rpc NotifyGyroCalibrationStateChanged (.CSteamInputService_GyroCalibration_Notification) returns (.NoResponse);
rpc NotifyGyroQuaternionStateChanged (.CSteamInputService_GyroQuaternionChanged_Notification) returns (.NoResponse);
rpc NotifyGyroSpeedStateChanged (.CSteamInputService_GyroSpeedChanged_Notification) returns (.NoResponse);
rpc StartControllerStateFlow (.CSteamInputService_ControllerStateFlow_Request) returns (.CSteamInputService_ControllerStateFlow_Response);
}

View File

@@ -0,0 +1,994 @@
import "common_base.proto";
message CMsgSteamLearn_BatchOperation_Request {
repeated .CMsgSteamLearn_CacheData_Request cache_data_requests = 1;
repeated .CMsgSteamLearn_SnapshotProject_Request snapshot_requests = 2;
repeated .CMsgSteamLearn_Inference_Request inference_requests = 3;
}
message CMsgSteamLearn_BatchOperation_Response {
repeated .CMsgSteamLearn_CacheData_Response cache_data_responses = 1;
repeated .CMsgSteamLearn_SnapshotProject_Response snapshot_responses = 2;
repeated .CMsgSteamLearn_Inference_Response inference_responses = 3;
}
message CMsgSteamLearn_CacheData_Request {
optional string access_token = 1;
optional .CMsgSteamLearnData data = 3;
}
message CMsgSteamLearn_CacheData_Response {
optional int32 cache_data_result = 1 [(.description) = "enum"];
}
message CMsgSteamLearn_CreateProject_Request {
optional string project_name = 1;
optional string project_description = 2;
}
message CMsgSteamLearn_CreateProject_Response {
optional int32 result = 1 [(.description) = "enum"];
optional .CMsgSteamLearnProject project = 2;
}
message CMsgSteamLearn_EditProject_Request {
optional .CMsgSteamLearnProject project = 1;
optional uint32 published_version = 2;
}
message CMsgSteamLearn_EditProject_Response {
optional int32 result = 1 [(.description) = "enum"];
}
message CMsgSteamLearn_GetAccessTokens_Request {
optional uint32 appid = 1;
}
message CMsgSteamLearn_GetAccessTokens_Response {
optional int32 result = 1 [(.description) = "enum"];
optional .CMsgSteamLearnAccessTokens access_tokens = 2;
}
message CMsgSteamLearn_GetBatchedStatus_Request {
repeated .CMsgSteamLearn_GetFetchStatus_Request fetch_requests = 1;
repeated .CMsgSteamLearn_GetTrainStatus_Request train_requests = 2;
}
message CMsgSteamLearn_GetBatchedStatus_Response {
optional int32 result = 1 [(.description) = "enum"];
repeated .CMsgSteamLearn_GetFetchStatus_Response fetch_responses = 2;
repeated .CMsgSteamLearn_GetTrainStatus_Response train_responses = 3;
}
message CMsgSteamLearn_GetDataSource_Request {
optional uint32 data_source_id = 1;
}
message CMsgSteamLearn_GetDataSource_Response {
optional .CMsgSteamLearnDataSource data_source = 1;
}
message CMsgSteamLearn_GetEmbeddingValues_Request {
optional uint32 project_id = 1;
optional uint32 published_version = 2;
optional uint32 train_id = 3;
optional string export_name = 4;
repeated uint32 numerical_values = 5;
optional uint32 fetch_id = 6;
}
message CMsgSteamLearn_GetEmbeddingValues_Response {
optional int32 result = 1 [(.description) = "enum"];
repeated .CMsgSteamLearn_GetEmbeddingValues_Response_EmbeddingData embedding_data = 2;
}
message CMsgSteamLearn_GetEmbeddingValues_Response_EmbeddingData {
optional uint32 numerical_value = 1;
repeated float embedding_values = 2;
}
message CMsgSteamLearn_GetFetchStatus_Request {
optional uint32 project_id = 1;
optional uint32 fetch_id = 2;
}
message CMsgSteamLearn_GetFetchStatus_Response {
optional int32 result = 1 [(.description) = "enum"];
optional uint32 fetch_id = 2;
optional int32 status = 3 [(.description) = "enum"];
repeated .CMsgSteamLearn_GetFetchStatus_Response_Worker workers = 4;
optional uint32 total_rows_written = 5;
optional uint32 total_rows = 6;
optional uint32 start_time = 7;
optional uint32 end_time = 8;
optional uint32 total_rows_processed = 9;
optional string error_string = 10;
optional uint32 project_id = 11;
optional int32 metadata_phase = 12 [(.description) = "enum"];
optional string metadata_phase_name = 13;
optional uint32 metadata_phase_value = 14;
optional bool cancel_pending = 15;
}
message CMsgSteamLearn_GetFetchStatus_Response_Worker {
optional uint32 rows_written = 1;
optional bool complete = 2;
optional uint32 rows_processed = 3;
}
message CMsgSteamLearn_GetFetchStatusVersions_Request {
optional uint32 project_id = 1;
optional uint32 published_version = 2;
}
message CMsgSteamLearn_GetFetchStatusVersions_Response {
repeated uint32 versions = 1;
}
message CMsgSteamLearn_GetLogEvents_Request {
optional uint32 start_timestamp = 1;
optional uint32 end_timestamp = 2;
}
message CMsgSteamLearn_GetLogEvents_Response {
optional int32 result = 1 [(.description) = "enum"];
repeated .CMsgSteamLearn_LogEvent event_list = 2;
}
message CMsgSteamLearn_GetNearestEmbedding_Request {
optional uint32 project_id = 1;
optional uint32 published_version = 2;
optional uint32 train_id = 3;
optional string export_name = 4;
optional uint32 result_count = 5;
repeated float values = 6;
optional uint32 fetch_id = 7;
optional uint32 popularity_weight = 8;
optional uint32 focus_weight = 9;
}
message CMsgSteamLearn_GetNearestEmbedding_Response {
optional int32 result = 1 [(.description) = "enum"];
repeated .CMsgSteamLearn_GetNearestEmbedding_Response_NearEmbedding near_embeddings = 2;
}
message CMsgSteamLearn_GetNearestEmbedding_Response_NearEmbedding {
optional uint32 value = 1;
optional float distance = 2;
repeated float embedding_values = 3;
}
message CMsgSteamLearn_GetProject_Request {
optional uint32 project_id = 1;
}
message CMsgSteamLearn_GetProject_Response {
optional .CMsgSteamLearnProject project = 1;
}
message CMsgSteamLearn_GetTrainLogs_Request {
optional uint32 project_id = 1;
optional uint32 fetch_id = 2;
optional uint32 train_id = 3;
}
message CMsgSteamLearn_GetTrainLogs_Response {
optional int32 result = 1 [(.description) = "enum"];
optional string main_log = 2;
repeated string fetch_worker_logs = 3;
optional string gpu_log = 4;
}
message CMsgSteamLearn_GetTrainStatus_Request {
optional uint32 project_id = 1;
optional uint32 train_id = 2;
}
message CMsgSteamLearn_GetTrainStatus_Response {
optional int32 result = 1 [(.description) = "enum"];
optional uint32 train_id = 2;
optional uint32 fetch_id = 3;
optional int32 status = 4 [(.description) = "enum"];
repeated .CMsgSteamLearn_GetTrainStatus_Response_Epoch epochs = 5;
optional uint32 total_epochs = 6;
optional uint32 train_batch_count = 7;
optional uint32 validate_batch_count = 8;
optional uint32 test_batch_count = 9;
repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch test_batches = 10;
optional float test_loss = 11;
repeated float test_accuracy = 12;
optional uint32 start_time = 13;
optional uint32 end_time = 14;
optional bool scheduled_train = 15;
optional bool live = 16;
optional bool active = 17;
optional uint32 project_id = 18;
optional bool cancel_pending = 19;
}
message CMsgSteamLearn_GetTrainStatus_Response_Batch {
optional float loss = 1;
repeated float accuracy = 2;
optional uint32 batch_id = 3;
}
message CMsgSteamLearn_GetTrainStatus_Response_Epoch {
optional uint32 epoch_number = 1;
optional float epoch_train_loss = 2;
repeated float epoch_train_accuracy = 3;
optional float epoch_validate_loss = 4;
repeated float epoch_validate_accuracy = 5;
repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch train_batches = 6;
repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch validate_batches = 7;
optional uint32 start_time = 8;
optional uint32 end_time = 9;
}
message CMsgSteamLearn_GetTrainStatusVersions_Request {
optional uint32 project_id = 1;
optional uint32 published_version = 2;
}
message CMsgSteamLearn_GetTrainStatusVersions_Response {
repeated uint32 versions = 1;
}
message CMsgSteamLearn_Inference_Request {
optional string access_token = 1;
optional uint32 project_id = 3;
optional uint32 published_version = 4;
optional uint32 override_train_id = 5;
optional .CMsgSteamLearnDataList data = 6;
repeated float additional_data = 7;
repeated uint64 keys = 8;
optional string named_inference = 9;
}
message CMsgSteamLearn_Inference_Response {
optional int32 inference_result = 1 [(.description) = "enum"];
optional .CMsgSteamLearn_InferenceBackend_Response backend_response = 2;
repeated uint64 keys = 3;
}
message CMsgSteamLearn_InferenceBackend_Request {
optional uint32 project_id = 1;
optional uint32 fetch_id = 2;
optional uint32 train_id = 3;
repeated .CMsgSteamLearnRawDataElement data = 4;
repeated uint64 keys = 6;
repeated float additional_data = 7;
optional string named_inference = 8;
}
message CMsgSteamLearn_InferenceBackend_Response {
repeated .CMsgSteamLearn_InferenceBackend_Response_Output outputs = 1;
}
message CMsgSteamLearn_InferenceBackend_Response_BinaryCrossEntropyOutput {
optional float value = 1;
}
message CMsgSteamLearn_InferenceBackend_Response_CategoricalCrossEntropyOutput {
repeated float weight = 1;
repeated float value = 2;
repeated .CMsgSteamLearn_InferenceBackend_Response_Sequence value_sequence = 3;
}
message CMsgSteamLearn_InferenceBackend_Response_MutliBinaryCrossEntropyOutput {
repeated float weight = 1;
repeated float value = 2;
repeated .CMsgSteamLearn_InferenceBackend_Response_Sequence value_sequence = 3;
}
message CMsgSteamLearn_InferenceBackend_Response_Output {
optional .CMsgSteamLearn_InferenceBackend_Response_BinaryCrossEntropyOutput binary_crossentropy = 1;
optional .CMsgSteamLearn_InferenceBackend_Response_CategoricalCrossEntropyOutput categorical_crossentropy = 2;
optional .CMsgSteamLearn_InferenceBackend_Response_MutliBinaryCrossEntropyOutput multi_binary_crossentropy = 3;
optional .CMsgSteamLearn_InferenceBackend_Response_RegressionOutput regression = 4;
}
message CMsgSteamLearn_InferenceBackend_Response_RegressionOutput {
repeated float value = 2;
}
message CMsgSteamLearn_InferenceBackend_Response_Sequence {
repeated float value = 1;
}
message CMsgSteamLearn_InferenceMetadata_Request {
optional string access_token = 1;
optional uint32 project_id = 3;
optional uint32 published_version = 4;
optional uint32 override_train_id = 5;
}
message CMsgSteamLearn_InferenceMetadata_Response {
optional int32 inference_metadata_result = 1 [(.description) = "enum"];
optional .CMsgSteamLearn_InferenceMetadata_Response_RowRange row_range = 2;
repeated .CMsgSteamLearn_InferenceMetadata_Response_Range ranges = 3;
repeated .CMsgSteamLearn_InferenceMetadata_Response_StdDev std_devs = 4;
repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable compact_tables = 5;
repeated .CMsgSteamLearn_InferenceMetadata_Response_KMeans kmeans = 6;
optional .CMsgSteamLearn_InferenceMetadata_Response_SnapshotHistogram snapshot_histogram = 7;
repeated .CMsgSteamLearn_InferenceMetadata_Response_AppInfoEntry app_info = 8;
repeated .CMsgSteamLearn_InferenceMetadata_Response_SequenceTable sequence_tables = 9;
}
message CMsgSteamLearn_InferenceMetadata_Response_AppInfo {
optional string country_allow = 1;
optional string country_deny = 2;
optional bool platform_win = 3;
optional bool platform_mac = 4;
optional bool platform_linux = 5;
optional bool adult_violence = 6;
optional bool adult_sex = 7;
}
message CMsgSteamLearn_InferenceMetadata_Response_AppInfoEntry {
optional uint32 key = 1;
optional .CMsgSteamLearn_InferenceMetadata_Response_AppInfo value = 2;
}
message CMsgSteamLearn_InferenceMetadata_Response_CompactTable {
optional string name = 1;
repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapValuesEntry map_values = 2;
repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapMappingsEntry map_mappings = 3;
optional uint64 total_count = 4;
}
message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry {
optional uint32 value = 1;
optional uint32 mapping = 2;
optional uint64 count = 3;
}
message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapMappingsEntry {
optional uint32 key = 1;
optional .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry value = 2;
}
message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapValuesEntry {
optional uint32 key = 1;
optional .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry value = 2;
}
message CMsgSteamLearn_InferenceMetadata_Response_KMeans {
optional string name = 1;
repeated .CMsgSteamLearn_InferenceMetadata_Response_KMeans_Cluster clusters = 2;
}
message CMsgSteamLearn_InferenceMetadata_Response_KMeans_Cluster {
optional float x = 1;
optional float y = 2;
optional float radius = 3;
optional float radius_75pct = 4;
optional float radius_50pct = 5;
optional float radius_25pct = 6;
}
message CMsgSteamLearn_InferenceMetadata_Response_Range {
optional string data_element_path = 1;
optional float min_value = 2;
optional float max_value = 3;
}
message CMsgSteamLearn_InferenceMetadata_Response_RowRange {
optional uint64 min_row = 1;
optional uint64 max_row = 2;
}
message CMsgSteamLearn_InferenceMetadata_Response_SequenceTable {
optional string name = 1;
repeated .CMsgSteamLearn_InferenceMetadata_Response_SequenceTable_MapValuesEntry map_values = 2;
repeated .CMsgSteamLearn_InferenceMetadata_Response_SequenceTable_MapMappingsEntry map_mappings = 3;
optional uint64 total_count = 4;
}
message CMsgSteamLearn_InferenceMetadata_Response_SequenceTable_Entry {
repeated uint32 values = 1;
optional uint32 crc = 2;
optional uint32 count = 3;
}
message CMsgSteamLearn_InferenceMetadata_Response_SequenceTable_MapMappingsEntry {
optional string key = 1;
optional .CMsgSteamLearn_InferenceMetadata_Response_SequenceTable_Entry value = 2;
}
message CMsgSteamLearn_InferenceMetadata_Response_SequenceTable_MapValuesEntry {
optional uint32 key = 1;
optional .CMsgSteamLearn_InferenceMetadata_Response_SequenceTable_Entry value = 2;
}
message CMsgSteamLearn_InferenceMetadata_Response_SnapshotHistogram {
optional float min_value = 1;
optional float max_value = 2;
optional uint32 num_buckets = 3;
repeated uint32 bucket_counts = 4;
}
message CMsgSteamLearn_InferenceMetadata_Response_StdDev {
optional string data_element_path = 1;
optional float mean = 2;
optional float std_dev = 3;
}
message CMsgSteamLearn_ListDataSources_Request {
}
message CMsgSteamLearn_ListDataSources_Response {
repeated .CMsgSteamLearnDataSource data_sources = 1;
}
message CMsgSteamLearn_ListProjects_Request {
optional uint32 appid = 1;
}
message CMsgSteamLearn_ListProjects_Response {
repeated .CMsgSteamLearnProject projects = 1;
}
message CMsgSteamLearn_LogEvent {
optional int32 event_type = 1 [(.description) = "enum"];
optional uint32 timestamp = 2;
optional .CMsgSteamLearn_LogEvent_TrainStarted train_started = 3;
optional .CMsgSteamLearn_LogEvent_TrainEnded train_ended = 4;
optional .CMsgSteamLearn_LogEvent_TrainSetLive train_set_live = 5;
optional .CMsgSteamLearn_LogEvent_ScheduledTrain scheduled_train = 6;
}
message CMsgSteamLearn_LogEvent_ScheduledTrain {
optional uint32 project_id = 1;
optional uint32 fetch_id = 2;
optional uint32 train_id = 3;
}
message CMsgSteamLearn_LogEvent_TrainEnded {
optional uint32 project_id = 1;
optional uint32 fetch_id = 2;
optional uint32 train_id = 3;
optional float loss = 4;
optional float accuracy = 5;
}
message CMsgSteamLearn_LogEvent_TrainSetLive {
optional uint32 project_id = 1;
optional uint32 fetch_id = 2;
optional uint32 train_id = 3;
optional bool manual_set_live = 4;
optional float accuracy_difference = 5;
optional float accuracy_threshold = 6;
}
message CMsgSteamLearn_LogEvent_TrainStarted {
optional uint32 project_id = 1;
optional uint32 fetch_id = 2;
optional uint32 train_id = 3;
}
message CMsgSteamLearn_PublishProject_Request {
optional uint32 project_id = 1;
}
message CMsgSteamLearn_PublishProject_Response {
optional int32 result = 1 [(.description) = "enum"];
}
message CMsgSteamLearn_RegisterDataSource_Request {
optional string access_token = 1;
optional .CMsgSteamLearnDataSource data_source = 3;
}
message CMsgSteamLearn_RegisterDataSource_Response {
optional int32 result = 1 [(.description) = "enum"];
optional .CMsgSteamLearnDataSource data_source = 2;
}
message CMsgSteamLearn_SetTrainLive_Request {
optional uint32 project_id = 1;
optional uint32 published_version = 2;
optional uint32 train_id = 3;
optional bool from_scheduled = 4;
optional bool deactivate = 5;
}
message CMsgSteamLearn_SetTrainLive_Response {
optional int32 result = 1 [(.description) = "enum"];
}
message CMsgSteamLearn_SnapshotProject_Request {
optional string access_token = 1;
optional uint32 project_id = 3;
repeated uint64 keys = 4;
repeated .CMsgSteamLearnData data = 5;
optional uint32 pending_data_limit_seconds = 6;
optional uint32 published_version = 7;
}
message CMsgSteamLearn_SnapshotProject_Response {
optional int32 snapshot_result = 1 [(.description) = "enum"];
}
message CMsgSteamLearn_Train_Request {
optional .CMsgSteamLearnProjectConfig project_config = 1;
optional .CMsgSteamLearn_Train_Request_Fetch fetch = 2;
optional .CMsgSteamLearn_Train_Request_Train train = 3;
}
message CMsgSteamLearn_Train_Request_Fetch {
optional uint32 fetch_id = 1;
optional bool request_cancel = 2;
}
message CMsgSteamLearn_Train_Request_Train {
optional uint32 train_id = 1;
optional bool request_cancel = 2;
optional bool scheduled_train = 3;
}
message CMsgSteamLearn_Train_Response {
optional int32 result = 1 [(.description) = "enum"];
}
message CMsgSteamLearnAccessTokens {
optional string register_data_source_access_token = 1;
repeated .CMsgSteamLearnAccessTokens_CacheDataAccessToken cache_data_access_tokens = 2;
repeated .CMsgSteamLearnAccessTokens_SnapshotProjectAccessToken snapshot_project_access_tokens = 3;
repeated .CMsgSteamLearnAccessTokens_InferenceAccessToken inference_access_tokens = 4;
}
message CMsgSteamLearnAccessTokens_CacheDataAccessToken {
optional uint32 data_source_id = 1;
optional string access_token = 2;
}
message CMsgSteamLearnAccessTokens_InferenceAccessToken {
optional uint32 project_id = 1;
optional string access_token = 2;
}
message CMsgSteamLearnAccessTokens_SnapshotProjectAccessToken {
optional uint32 project_id = 1;
optional string access_token = 2;
}
message CMsgSteamLearnData {
optional uint32 data_source_id = 1;
repeated uint64 keys = 2;
optional .CMsgSteamLearnDataObject data_object = 3;
}
message CMsgSteamLearnDataElement {
optional string name = 1;
repeated int32 data_int32s = 20;
repeated float data_floats = 21;
repeated bool data_bools = 22;
repeated string data_strings = 23;
repeated .CMsgSteamLearnDataObject data_objects = 24;
}
message CMsgSteamLearnDataList {
repeated .CMsgSteamLearnData data = 1;
}
message CMsgSteamLearnDataObject {
repeated .CMsgSteamLearnDataElement elements = 1;
}
message CMsgSteamLearnDataRetentionConfig {
optional uint32 snapshot_keep_duration_days = 1;
optional uint32 fetch_keep_count = 2;
}
message CMsgSteamLearnDataSource {
optional uint32 id = 1;
optional string name = 2;
optional uint32 version = 3;
optional string source_description = 4;
optional .CMsgSteamLearnDataSourceDescObject structure = 5;
optional uint32 structure_crc = 6;
optional uint32 cache_duration_seconds = 7;
}
message CMsgSteamLearnDataSourceDescElement {
optional string name = 1;
optional int32 data_type = 2 [(.description) = "enum"];
optional .CMsgSteamLearnDataSourceDescObject object = 3;
optional uint32 count = 4;
}
message CMsgSteamLearnDataSourceDescObject {
repeated .CMsgSteamLearnDataSourceDescElement elements = 1;
}
message CMsgSteamLearnDataSourceElementUsage {
optional uint32 data_source_id = 1;
optional string data_element_path = 2;
optional bool is_string = 3;
optional uint32 input = 4;
optional uint32 sql_column = 5;
optional int32 preprocessing_type = 6 [(.description) = "enum"];
optional float min_range = 7;
optional float max_range = 8;
optional float std_dev = 9;
optional string compact_table = 10;
optional uint32 compact_table_count = 11;
optional string sequence_table = 12;
optional uint32 sequence_table_count = 13;
optional bool sort_sequence = 14;
optional uint32 sequence_min_length = 15;
}
message CMsgSteamLearnFetchInfo {
optional uint32 fetch_id = 1;
}
message CMsgSteamLearnModelNodeBatchNormalization {
}
message CMsgSteamLearnModelNodeCombine {
}
message CMsgSteamLearnModelNodeConcatenate {
optional uint32 axis = 1;
}
message CMsgSteamLearnModelNodeConditionalExtract {
optional int32 extract_filter_type = 10 [(.description) = "enum"];
optional int32 extract_weight_type = 11 [(.description) = "enum"];
optional .CMsgSteamLearnModelNodeConditionalExtract_FilterInfo filter_info = 12;
optional .CMsgSteamLearnModelNodeConditionalExtract_WeightInfo weight_info = 13;
optional string compact_table = 14;
optional string extracted_compact_table = 15;
}
message CMsgSteamLearnModelNodeConditionalExtract_FilterInfo {
optional uint32 appid_release_recency_months = 1;
optional uint32 appid_publisher_id = 2;
optional uint32 appid_featured_tag_id = 3;
optional uint32 appid_theme_tag_id = 4;
}
message CMsgSteamLearnModelNodeConditionalExtract_WeightInfo {
optional float appid_release_recency_bias = 1;
optional uint32 input_number = 2;
optional float input_strength = 3;
}
message CMsgSteamLearnModelNodeConditionalSwap {
}
message CMsgSteamLearnModelNodeConv1D {
optional uint32 filters = 1;
optional uint32 kernel_size = 2;
optional uint32 strides = 3;
optional int32 activation = 4 [(.description) = "enum"];
}
message CMsgSteamLearnModelNodeDense {
optional int32 activation = 1 [(.description) = "enum"];
optional uint32 width = 2;
optional int32 regularization = 3 [(.description) = "enum"];
}
message CMsgSteamLearnModelNodeDenseStack {
optional int32 activation = 1 [(.description) = "enum"];
repeated uint32 width = 2;
optional uint32 dropout_pct = 3;
optional int32 regularization = 4 [(.description) = "enum"];
}
message CMsgSteamLearnModelNodeDot {
optional bool normalize = 1;
}
message CMsgSteamLearnModelNodeDropout {
optional uint32 dropout_pct = 1;
}
message CMsgSteamLearnModelNodeEmbedding {
optional uint32 max_value = 1;
optional string compact_table = 2;
optional uint32 embedding_width = 3;
optional bool flatten = 4;
optional string export_name = 5;
optional string embed_name = 6;
}
message CMsgSteamLearnModelNodeExplode {
}
message CMsgSteamLearnModelNodeExternalEmbedding {
optional uint32 project_id = 1;
optional uint32 published_version = 2;
optional string embedding_name = 3;
optional string compact_table = 4;
}
message CMsgSteamLearnModelNodeExtract {
optional int32 input_type = 1 [(.description) = "enum"];
optional int32 mode = 2 [(.description) = "enum"];
optional int32 exclusion = 3 [(.description) = "enum"];
optional int32 selection = 4 [(.description) = "enum"];
optional float bias_start = 5;
optional float bias_end = 6;
optional uint32 input_bias_input_number = 7;
optional float input_bias_strength = 8;
optional uint32 positive_sample_percent = 9;
optional string compact_table = 10;
optional string extracted_compact_table = 11;
optional uint32 recency_months = 12;
}
message CMsgSteamLearnModelNodeFlatten {
}
message CMsgSteamLearnModelNodeGlobalAvgPooling1D {
}
message CMsgSteamLearnModelNodeGlobalMaxPooling1D {
}
message CMsgSteamLearnModelNodeInput {
optional uint32 input_num = 1;
}
message CMsgSteamLearnModelNodeKMeansCluster {
optional uint32 num_clusters = 1;
optional string name = 2;
optional bool generate_clusters = 3;
}
message CMsgSteamLearnModelNodeMaxPooling1D {
optional uint32 pool_size = 1;
optional uint32 strides = 2;
}
message CMsgSteamLearnModelNodeNamedInference {
optional string name = 1;
optional bool only_inference = 2;
}
message CMsgSteamLearnModelNodeNormalize {
}
message CMsgSteamLearnModelNodeOnehot {
optional uint32 width = 1;
optional string compact_table = 2;
optional bool multi_hot = 3;
}
message CMsgSteamLearnModelNodeSequenceSplit {
optional uint32 head_split_chance = 1;
optional uint32 mid_split_chance = 2;
optional uint32 tail_split_chance = 3;
optional string sequence_table_name = 4;
optional string compact_table_name = 5;
}
message CMsgSteamLearnModelNodeShuffle {
optional bool exclude_zeroes = 1;
}
message CMsgSteamLearnModelNodeSyncedShuffle {
optional bool exclude_zeroes = 1;
}
message CMsgSteamLearnModelNodeTextVectorization {
optional uint32 vocabulary_size = 1;
optional int32 standardize = 2 [(.description) = "enum"];
optional int32 output = 3 [(.description) = "enum"];
optional uint32 sequence_length = 4;
optional int32 split = 5 [(.description) = "enum"];
optional uint32 ngrams = 6;
}
message CMsgSteamLearnModelNodeTimeDistributedDense {
optional int32 activation = 1 [(.description) = "enum"];
optional uint32 width = 2;
}
message CMsgSteamLearnModelNodeTrain {
optional uint32 input_count = 1;
optional int32 activation = 2 [(.description) = "enum"];
optional uint32 width = 3;
optional string compact_table = 4;
optional int32 loss = 6 [(.description) = "enum"];
optional float learning_rate = 7;
}
message CMsgSteamLearnModelNodeTransformer {
optional uint32 num_heads = 1;
optional uint32 feedforward_size = 3;
optional uint32 dropout_pct = 4;
optional uint32 num_internal_blocks = 5;
optional int32 regularization = 6 [(.description) = "enum"];
}
message CMsgSteamLearnModelNodeWeightedAverage {
optional uint32 axis = 1;
optional bool use_weights = 2;
}
message CMsgSteamLearnProject {
optional uint32 project_id = 1;
optional string project_name = 2;
optional string project_description = 3;
optional uint32 creator_account_id = 4;
optional uint32 create_time = 5;
optional .CMsgSteamLearnProjectConfig unpublished_config = 6;
repeated .CMsgSteamLearnProjectConfig published_configs = 7;
}
message CMsgSteamLearnProjectConfig {
optional uint32 project_id = 1;
optional uint32 publish_time = 2;
optional uint32 published_version = 3;
repeated uint32 data_source_ids = 4;
repeated .CMsgSteamLearnDataSourceElementUsage data_source_element_usages = 5;
repeated .CMsgSteamLearnProjectNode project_nodes = 6;
optional .CMsgSteamLearnProjectSnapshotConfig snapshot_config = 7;
optional .CMsgSteamLearnTrainConfig train_config = 8;
optional .CMsgSteamLearnProjectSnapshotFilter snapshot_filter = 11;
repeated .CMsgSteamLearnProjectConfig_MapDataElementSqlColumnEntry map_data_element_sql_column = 12;
optional uint32 total_sql_columns = 13;
optional .CMsgSteamLearnDataRetentionConfig data_retention_config = 14;
optional .CMsgSteamLearnScheduledTrainConfig scheduled_train_config = 16;
repeated .CMsgSteamLearnFetchInfo fetch_infos = 17;
repeated .CMsgSteamLearnTrainInfo train_infos = 18;
}
message CMsgSteamLearnProjectConfig_MapDataElementSqlColumnEntry {
optional string key = 1;
optional int32 value = 2;
}
message CMsgSteamLearnProjectNode {
optional uint32 node_id = 1;
optional int32 location_x = 2;
optional int32 location_y = 3;
optional string comment = 4;
optional int32 type = 5 [(.description) = "enum"];
repeated .CMsgSteamLearnProjectNodeConnector connectors = 6;
optional .CMsgSteamLearnModelNodeInput input = 10;
optional .CMsgSteamLearnModelNodeDense dense = 11;
optional .CMsgSteamLearnModelNodeDenseStack dense_stack = 12;
optional .CMsgSteamLearnModelNodeDropout dropout = 13;
optional .CMsgSteamLearnModelNodeEmbedding embedding = 14;
optional .CMsgSteamLearnModelNodeTrain train = 15;
optional .CMsgSteamLearnModelNodeConditionalExtract conditional_extract = 16;
optional .CMsgSteamLearnModelNodeConcatenate concatenate = 17;
optional .CMsgSteamLearnModelNodeShuffle shuffle = 18;
optional .CMsgSteamLearnModelNodeSyncedShuffle synced_shuffle = 19;
optional .CMsgSteamLearnModelNodeOnehot onehot = 20;
optional .CMsgSteamLearnModelNodeExplode explode = 21;
optional .CMsgSteamLearnModelNodeConditionalSwap conditional_swap = 22;
optional .CMsgSteamLearnModelNodeKMeansCluster kmeans = 23;
optional .CMsgSteamLearnModelNodeCombine combine = 24;
optional .CMsgSteamLearnModelNodeTextVectorization text_vectorization = 25;
optional .CMsgSteamLearnModelNodeBatchNormalization batch_normalization = 26;
optional .CMsgSteamLearnModelNodeNormalize normalize = 27;
optional .CMsgSteamLearnModelNodeNamedInference named_inference = 28;
optional .CMsgSteamLearnModelNodeDot dot = 29;
optional .CMsgSteamLearnModelNodeExtract extract = 30;
optional .CMsgSteamLearnModelNodeConv1D conv_1d = 31;
optional .CMsgSteamLearnModelNodeMaxPooling1D max_pooling_1d = 32;
optional .CMsgSteamLearnModelNodeFlatten flatten = 33;
optional .CMsgSteamLearnModelNodeGlobalMaxPooling1D global_max_pooling = 34;
optional .CMsgSteamLearnModelNodeTransformer transformer = 35;
optional .CMsgSteamLearnModelNodeExternalEmbedding external_embedding = 36;
optional .CMsgSteamLearnModelNodeTimeDistributedDense time_distributed_dense = 37;
optional .CMsgSteamLearnModelNodeSequenceSplit sequence_split = 38;
optional .CMsgSteamLearnModelNodeWeightedAverage weighted_average = 39;
optional .CMsgSteamLearnModelNodeGlobalAvgPooling1D global_avg_pooling_1d = 40;
}
message CMsgSteamLearnProjectNodeConnector {
optional uint32 connector_id = 1;
repeated uint32 linked_connector_ids = 2;
optional bool is_input_connector = 3;
}
message CMsgSteamLearnProjectSnapshotConfig {
optional int32 snapshot_type = 1 [(.description) = "enum"];
optional .CMsgSteamLearnProjectSnapshotConfigAccountIDs config_account_ids = 2;
optional .CMsgSteamLearnProjectSnapshotConfigAppIDs config_app_ids = 3;
optional .CMsgSteamLearnProjectSnapshotConfigOtherProject config_other_project = 4;
optional int32 snapshot_schedule_type = 5 [(.description) = "enum"];
optional uint32 snapshot_schedule_day_of_week = 6;
optional uint32 snapshot_schedule_day_of_month = 7;
optional bool compress = 8;
optional uint32 job_count = 9;
optional uint32 snapshot_schedule_hour_of_day = 10;
}
message CMsgSteamLearnProjectSnapshotConfigAccountIDs {
optional uint32 percent = 1;
optional uint32 activity_recency_days = 2;
optional int32 filter = 3 [(.description) = "enum"];
}
message CMsgSteamLearnProjectSnapshotConfigAppIDs {
optional uint32 percent = 1;
optional uint32 release_recency_days = 2;
}
message CMsgSteamLearnProjectSnapshotConfigOtherProject {
optional uint32 project_id = 1;
optional uint32 published_version = 2;
}
message CMsgSteamLearnProjectSnapshotFilter {
optional uint32 sample_reduce_percent = 1;
optional .CMsgSteamLearnProjectSnapshotFilterHistogram histogram = 2;
}
message CMsgSteamLearnProjectSnapshotFilterHistogram {
optional string data_element_path = 1;
optional float min_value = 2;
optional float max_value = 3;
optional uint32 num_buckets = 4;
}
message CMsgSteamLearnRawDataElement {
optional float float_value = 1;
optional string string_value = 2;
}
message CMsgSteamLearnScheduledTrainConfig {
optional int32 scheduled_type = 1 [(.description) = "enum"];
optional uint32 scheduled_minute = 2;
optional uint32 scheduled_hour = 3;
optional uint32 scheduled_day_of_week = 4;
optional uint32 scheduled_day_of_month = 5;
optional float auto_activate_accuracy_threshold = 6;
}
message CMsgSteamLearnTrainConfig {
optional uint32 fetch_workers = 1;
optional uint32 fetch_chunk_size = 2;
optional uint32 train_batch_size = 3;
optional uint32 train_epoch_count = 4;
optional float train_loss_improvement_threshold = 5;
optional uint32 train_no_loss_improvement_epoch_limit = 6;
optional int32 train_optimizer = 7 [(.description) = "enum"];
optional float train_learning_rate = 8;
optional int32 train_gpu = 9 [(.description) = "enum"];
}
message CMsgSteamLearnTrainInfo {
optional uint32 fetch_id = 1;
optional uint32 train_id = 2;
optional bool scheduled_train = 3;
optional bool auto_snapshot_pending = 4;
}
service SteamLearn {
rpc BatchOperation (.CMsgSteamLearn_BatchOperation_Request) returns (.CMsgSteamLearn_BatchOperation_Response);
rpc CacheData (.CMsgSteamLearn_CacheData_Request) returns (.CMsgSteamLearn_CacheData_Response);
rpc CreateProject (.CMsgSteamLearn_CreateProject_Request) returns (.CMsgSteamLearn_CreateProject_Response);
rpc EditProject (.CMsgSteamLearn_EditProject_Request) returns (.CMsgSteamLearn_EditProject_Response);
rpc GetAccessTokensWeb (.CMsgSteamLearn_GetAccessTokens_Request) returns (.CMsgSteamLearn_GetAccessTokens_Response);
rpc GetBatchedStatus (.CMsgSteamLearn_GetBatchedStatus_Request) returns (.CMsgSteamLearn_GetBatchedStatus_Response);
rpc GetDataSource (.CMsgSteamLearn_GetDataSource_Request) returns (.CMsgSteamLearn_GetDataSource_Response);
rpc GetEmbeddingValues (.CMsgSteamLearn_GetEmbeddingValues_Request) returns (.CMsgSteamLearn_GetEmbeddingValues_Response);
rpc GetFetchStatus (.CMsgSteamLearn_GetFetchStatus_Request) returns (.CMsgSteamLearn_GetFetchStatus_Response);
rpc GetFetchStatusVersions (.CMsgSteamLearn_GetFetchStatusVersions_Request) returns (.CMsgSteamLearn_GetFetchStatusVersions_Response);
rpc GetLogEvents (.CMsgSteamLearn_GetLogEvents_Request) returns (.CMsgSteamLearn_GetLogEvents_Response);
rpc GetNearestEmbedding (.CMsgSteamLearn_GetNearestEmbedding_Request) returns (.CMsgSteamLearn_GetNearestEmbedding_Response);
rpc GetProject (.CMsgSteamLearn_GetProject_Request) returns (.CMsgSteamLearn_GetProject_Response);
rpc GetTrainLogs (.CMsgSteamLearn_GetTrainLogs_Request) returns (.CMsgSteamLearn_GetTrainLogs_Response);
rpc GetTrainStatus (.CMsgSteamLearn_GetTrainStatus_Request) returns (.CMsgSteamLearn_GetTrainStatus_Response);
rpc GetTrainStatusVersions (.CMsgSteamLearn_GetTrainStatusVersions_Request) returns (.CMsgSteamLearn_GetTrainStatusVersions_Response);
rpc Inference (.CMsgSteamLearn_Inference_Request) returns (.CMsgSteamLearn_Inference_Response);
rpc InferenceBackend (.CMsgSteamLearn_InferenceBackend_Request) returns (.CMsgSteamLearn_InferenceBackend_Response);
rpc InferenceMetadata (.CMsgSteamLearn_InferenceMetadata_Request) returns (.CMsgSteamLearn_InferenceMetadata_Response);
rpc ListDataSources (.CMsgSteamLearn_ListDataSources_Request) returns (.CMsgSteamLearn_ListDataSources_Response);
rpc ListProjects (.CMsgSteamLearn_ListProjects_Request) returns (.CMsgSteamLearn_ListProjects_Response);
rpc PublishProject (.CMsgSteamLearn_PublishProject_Request) returns (.CMsgSteamLearn_PublishProject_Response);
rpc RegisterDataSource (.CMsgSteamLearn_RegisterDataSource_Request) returns (.CMsgSteamLearn_RegisterDataSource_Response);
rpc SetTrainLive (.CMsgSteamLearn_SetTrainLive_Request) returns (.CMsgSteamLearn_SetTrainLive_Response);
rpc SnapshotProject (.CMsgSteamLearn_SnapshotProject_Request) returns (.CMsgSteamLearn_SnapshotProject_Response);
rpc Train (.CMsgSteamLearn_Train_Request) returns (.CMsgSteamLearn_Train_Response);
}

View File

@@ -0,0 +1,73 @@
import "common_base.proto";
message CSteamNotification_GetPreferences_Request {
}
message CSteamNotification_GetPreferences_Response {
repeated .SteamNotificationPreference preferences = 1;
}
message CSteamNotification_GetSteamNotifications_Request {
optional bool include_hidden = 1 [default = false];
optional int32 language = 2 [default = 0];
optional bool include_confirmation_count = 3 [default = true];
optional bool include_pinned_counts = 4 [default = false];
optional bool include_read = 5 [default = true];
optional bool count_only = 6 [default = false];
}
message CSteamNotification_GetSteamNotifications_Response {
repeated .SteamNotificationData notifications = 1;
optional int32 confirmation_count = 2;
optional uint32 pending_gift_count = 3;
optional uint32 pending_friend_count = 5;
optional uint32 unread_count = 6;
optional uint32 pending_family_invite_count = 7;
}
message CSteamNotification_NotificationsReceived_Notification {
repeated .SteamNotificationData notifications = 1;
optional uint32 pending_gift_count = 2;
optional uint32 pending_friend_count = 3;
optional uint32 pending_family_invite_count = 4;
}
message CSteamNotification_PreferencesUpdated_Notification {
repeated .SteamNotificationPreference preferences = 1;
}
message CSteamNotification_SetPreferences_Request {
repeated .SteamNotificationPreference preferences = 1;
}
message CSteamNotification_SetPreferences_Response {
}
message SteamNotificationData {
optional uint64 notification_id = 1;
optional uint32 notification_targets = 2;
optional int32 notification_type = 3 [(.description) = "enum"];
optional string body_data = 4;
optional bool read = 7;
optional uint32 timestamp = 8;
optional bool hidden = 9;
optional uint32 expiry = 10;
optional uint32 viewed = 11;
}
message SteamNotificationPreference {
optional int32 notification_type = 1 [(.description) = "enum"];
optional uint32 notification_targets = 2;
}
service SteamNotification {
rpc GetPreferences (.CSteamNotification_GetPreferences_Request) returns (.CSteamNotification_GetPreferences_Response);
rpc GetSteamNotifications (.CSteamNotification_GetSteamNotifications_Request) returns (.CSteamNotification_GetSteamNotifications_Response);
rpc SetPreferences (.CSteamNotification_SetPreferences_Request) returns (.CSteamNotification_SetPreferences_Response);
}
service SteamNotificationClient {
rpc NotificationsReceived (.CSteamNotification_NotificationsReceived_Notification) returns (.NoResponse);
rpc PreferencesUpdated (.CSteamNotification_PreferencesUpdated_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,63 @@
import "common_base.proto";
message CMsgFactoryResetState {
optional bool is_running = 1;
optional int32 progress = 2;
optional bool is_restart_pending = 3;
optional fixed32 rtime_estimated_completion = 4;
}
message CSteamOSManager_ApplyMandatoryUpdate_Request {
}
message CSteamOSManager_ApplyMandatoryUpdate_Response {
}
message CSteamOSManager_FactoryReset_Request {
optional bool reset_os = 1;
optional bool reset_user_data = 2;
}
message CSteamOSManager_FactoryReset_Response {
}
message CSteamOSManager_GetState_Request {
}
message CSteamOSManager_GetState_Response {
optional .CSteamOSManagerState state = 1;
}
message CSteamOSManager_OptOutOfSideloadedClient_Request {
}
message CSteamOSManager_OptOutOfSideloadedClient_Response {
}
message CSteamOSManager_StateChanged_Notification {
}
message CSteamOSManagerState {
optional bool is_service_available = 1;
optional string os_version = 2;
optional bool is_mandatory_update_available = 3;
optional int32 startup_movie_variant = 4 [(.description) = "enum"];
optional bool is_status_led_control_available = 5;
optional .CMsgFactoryResetState factory_reset_state = 6;
optional bool is_tdp_limit_available = 7;
optional int32 tdp_limit_min = 8;
optional int32 tdp_limit_max = 9;
optional bool is_cec_available = 10;
optional bool is_wifi_debug_supported = 11;
optional bool is_wifi_debug_force_disabled = 12;
optional bool is_wifi_force_wpa_supplicant_supported = 13;
}
service SteamOSManager {
rpc ApplyMandatoryUpdate (.CSteamOSManager_ApplyMandatoryUpdate_Request) returns (.CSteamOSManager_ApplyMandatoryUpdate_Response);
rpc FactoryReset (.CSteamOSManager_FactoryReset_Request) returns (.CSteamOSManager_FactoryReset_Response);
rpc GetState (.CSteamOSManager_GetState_Request) returns (.CSteamOSManager_GetState_Response);
rpc NotifyStateChanged (.CSteamOSManager_StateChanged_Notification) returns (.NoResponse);
rpc OptOutOfSideloadedClient (.CSteamOSManager_OptOutOfSideloadedClient_Request) returns (.CSteamOSManager_OptOutOfSideloadedClient_Response);
}

View File

@@ -0,0 +1,46 @@
import "common_base.proto";
message CSteamOSSLS_GetState_Request {
}
message CSteamOSSLS_GetState_Response {
optional .CSteamOSSLSState state = 1;
}
message CSteamOSSLS_SetEnabled_Request {
optional bool enabled = 1;
}
message CSteamOSSLS_SetEnabled_Response {
}
message CSteamOSSLS_SetPluginEnabled_Request {
optional int32 etype = 1 [(.description) = "enum"];
optional bool enabled = 2;
}
message CSteamOSSLS_SetPluginEnabled_Response {
}
message CSteamOSSLS_StateChanged_Notification {
}
message CSteamOSSLSPlugin {
optional int32 etype = 1 [(.description) = "enum"];
optional bool is_available = 2;
optional bool is_enabled = 3;
}
message CSteamOSSLSState {
optional bool is_available = 1;
optional bool is_enabled = 2;
repeated .CSteamOSSLSPlugin plugins = 3;
}
service SteamOSSLS {
rpc GetState (.CSteamOSSLS_GetState_Request) returns (.CSteamOSSLS_GetState_Response);
rpc NotifyStateChanged (.CSteamOSSLS_StateChanged_Notification) returns (.NoResponse);
rpc SetEnabled (.CSteamOSSLS_SetEnabled_Request) returns (.CSteamOSSLS_SetEnabled_Response);
rpc SetPluginEnabled (.CSteamOSSLS_SetPluginEnabled_Request) returns (.CSteamOSSLS_SetPluginEnabled_Response);
}

View File

@@ -0,0 +1,495 @@
import "common_base.proto";
message CSteamTV_AddChatBan_Request {
optional fixed64 broadcast_channel_id = 1;
optional fixed64 chatter_steamid = 2;
optional uint32 duration = 3;
optional bool permanent = 4;
optional bool undo = 5;
}
message CSteamTV_AddChatBan_Response {
}
message CSteamTV_AddChatModerator_Request {
optional fixed64 broadcast_channel_id = 1;
optional fixed64 moderator_steamid = 2;
optional bool undo = 3;
}
message CSteamTV_AddChatModerator_Response {
}
message CSteamTV_AddWordBan_Request {
optional fixed64 broadcast_channel_id = 1;
optional string word = 2;
optional bool undo = 3;
}
message CSteamTV_AddWordBan_Response {
}
message CSteamTV_AppCheer_Request {
optional uint32 app_id = 1;
optional fixed64 cheer_target_id = 2;
repeated .CSteamTV_AppCheer_SingleCheerType cheers = 3;
}
message CSteamTV_AppCheer_Response {
optional uint32 aggregation_delay_ms = 1;
}
message CSteamTV_AppCheer_SingleCheerType {
optional uint32 cheer_type = 1;
optional uint32 cheer_amount = 2;
}
message CSteamTV_BroadcastClipInfo {
optional uint64 broadcast_clip_id = 1;
optional uint64 channel_id = 2;
optional uint32 app_id = 3;
optional fixed64 broadcaster_steamid = 4;
optional fixed64 creator_steamid = 5;
optional string video_description = 6;
optional uint32 live_time = 7;
optional uint32 length_ms = 8;
optional string thumbnail_path = 9;
}
message CSteamTV_ChatBan {
optional fixed64 issuer_steamid = 1;
optional fixed64 chatter_steamid = 2;
optional string time_expires = 3;
optional bool permanent = 4;
optional string name = 5;
}
message CSteamTV_ChatModerator {
optional fixed64 steamid = 1;
optional string name = 2;
}
message CSteamTV_CreateBroadcastChannel_Request {
optional string unique_name = 1;
}
message CSteamTV_CreateBroadcastChannel_Response {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_FollowBroadcastChannel_Request {
optional fixed64 broadcast_channel_id = 1;
optional bool undo = 2;
}
message CSteamTV_FollowBroadcastChannel_Response {
optional bool is_followed = 1;
}
message CSteamTV_Game {
optional uint32 appid = 1;
optional string name = 2;
optional string image = 3;
optional uint64 viewers = 4;
repeated .GetBroadcastChannelEntry channels = 5;
optional string release_date = 6;
optional string developer = 7;
optional string publisher = 8;
}
message CSteamTV_GetBroadcastChannelBroadcasters_Request {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_GetBroadcastChannelBroadcasters_Response {
repeated .CSteamTV_GetBroadcastChannelBroadcasters_Response_Broadcaster broadcasters = 1;
}
message CSteamTV_GetBroadcastChannelBroadcasters_Response_Broadcaster {
optional fixed64 steamid = 1;
optional string name = 2;
optional string rtmp_token = 3;
}
message CSteamTV_GetBroadcastChannelClips_Request {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_GetBroadcastChannelClips_Response {
repeated .CSteamTV_BroadcastClipInfo clips = 1;
optional string thumbnail_host = 2;
}
message CSteamTV_GetBroadcastChannelID_Request {
optional string unique_name = 1;
}
message CSteamTV_GetBroadcastChannelID_Response {
optional fixed64 broadcast_channel_id = 1;
optional string unique_name = 2;
optional fixed64 steamid = 3;
}
message CSteamTV_GetBroadcastChannelImages_Request {
optional fixed64 broadcast_channel_id = 1;
repeated int32 image_types = 2 [(.description) = "enum"];
}
message CSteamTV_GetBroadcastChannelImages_Response {
repeated .CSteamTV_GetBroadcastChannelImages_Response_Images images = 1;
}
message CSteamTV_GetBroadcastChannelImages_Response_Images {
optional int32 image_type = 1 [(.description) = "enum"];
optional string image_path = 2;
optional uint32 image_index = 3;
}
message CSteamTV_GetBroadcastChannelInteraction_Request {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_GetBroadcastChannelInteraction_Response {
optional bool is_followed = 1;
optional bool is_subscribed = 2;
}
message CSteamTV_GetBroadcastChannelLinks_Request {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_GetBroadcastChannelLinks_Response {
repeated .CSteamTV_GetBroadcastChannelLinks_Response_Links links = 1;
}
message CSteamTV_GetBroadcastChannelLinks_Response_Links {
optional uint32 link_index = 1;
optional string url = 2;
optional string link_description = 3;
optional uint32 left = 4;
optional uint32 top = 5;
optional uint32 width = 6;
optional uint32 height = 7;
}
message CSteamTV_GetBroadcastChannelProfile_Request {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_GetBroadcastChannelProfile_Response {
optional string unique_name = 1;
optional fixed64 owner_steamid = 2;
optional string name = 3;
optional string language = 4;
optional string headline = 5;
optional string summary = 6;
optional string schedule = 7;
optional string rules = 8;
optional string panels = 9;
optional bool is_partnered = 10;
}
message CSteamTV_GetBroadcastChannelStatus_Request {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_GetBroadcastChannelStatus_Response {
optional bool is_live = 1;
optional bool is_disabled = 2;
optional uint32 appid = 3;
optional uint64 viewers = 4;
optional uint64 views = 5;
optional fixed64 broadcaster_steamid = 6;
optional string thumbnail_url = 7;
optional uint64 followers = 8;
optional uint64 subscribers = 9;
optional string unique_name = 10;
optional uint64 broadcast_session_id = 11;
}
message CSteamTV_GetChannels_Request {
optional int32 algorithm = 1 [(.description) = "enum"];
optional uint32 count = 2;
optional uint32 appid = 3;
}
message CSteamTV_GetChannels_Response {
repeated .GetBroadcastChannelEntry results = 1;
}
message CSteamTV_GetChatBans_Request {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_GetChatBans_Response {
repeated .CSteamTV_ChatBan results = 1;
}
message CSteamTV_GetChatModerators_Request {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_GetChatModerators_Response {
repeated .CSteamTV_ChatModerator results = 1;
}
message CSteamTV_GetFollowedChannels_Request {
}
message CSteamTV_GetFollowedChannels_Response {
repeated .GetBroadcastChannelEntry results = 1;
}
message CSteamTV_GetGames_Request {
optional uint32 appid = 1;
optional int32 algorithm = 2 [(.description) = "enum"];
optional uint32 count = 3;
}
message CSteamTV_GetGames_Response {
repeated .CSteamTV_Game results = 1;
}
message CSteamTV_GetHomePageContents_Request {
}
message CSteamTV_GetHomePageContents_Response {
repeated .CSteamTV_HomePageContentRow rows = 1;
}
message CSteamTV_GetMyBroadcastChannels_Request {
}
message CSteamTV_GetMyBroadcastChannels_Response {
repeated .GetBroadcastChannelEntry results = 1;
}
message CSteamTV_GetSteamTVUserSettings_Request {
}
message CSteamTV_GetSteamTVUserSettings_Response {
optional bool stream_live_email = 1;
optional bool stream_live_notification = 2;
}
message CSteamTV_GetSubscribedChannels_Request {
}
message CSteamTV_GetSubscribedChannels_Response {
repeated .GetBroadcastChannelEntry results = 1;
}
message CSteamTV_GetWordBans_Request {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_GetWordBans_Response {
repeated string results = 1;
}
message CSteamTV_HomePageContentRow {
optional int32 template_type = 1 [(.description) = "enum"];
optional .CSteamTV_HomePageTemplate_Takeover takeover = 2;
optional .CSteamTV_HomePageTemplate_SingleGame single_game = 3;
optional .CSteamTV_HomePageTemplate_GameList game_list = 4;
optional .CSteamTV_HomePageTemplate_QuickExplore quick_explore = 5;
optional .CSteamTV_HomePageTemplate_ConveyorBelt conveyor_belt = 6;
optional .CSteamTV_HomePageTemplate_WatchParty watch_party = 7;
optional .CSteamTV_HomePageTemplate_Developer developer = 8;
optional .CSteamTV_HomePageTemplate_Event event = 9;
}
message CSteamTV_HomePageTemplate_ConveyorBelt {
repeated .GetBroadcastChannelEntry broadcasts = 1;
optional string title = 2;
}
message CSteamTV_HomePageTemplate_Developer {
optional .GetBroadcastChannelEntry broadcast = 1;
optional string title = 2;
}
message CSteamTV_HomePageTemplate_Event {
optional string title = 1;
}
message CSteamTV_HomePageTemplate_GameList {
repeated .GameListEntry entries = 1;
optional string title = 2;
}
message CSteamTV_HomePageTemplate_QuickExplore {
repeated .GetBroadcastChannelEntry broadcasts = 1;
optional string title = 2;
}
message CSteamTV_HomePageTemplate_SingleGame {
repeated .GetBroadcastChannelEntry broadcasts = 1;
optional uint32 appid = 2;
optional string title = 3;
}
message CSteamTV_HomePageTemplate_Takeover {
repeated .GetBroadcastChannelEntry broadcasts = 1;
}
message CSteamTV_HomePageTemplate_WatchParty {
optional .GetBroadcastChannelEntry broadcast = 1;
optional string title = 2;
optional uint64 chat_group_id = 3;
}
message CSteamTV_JoinChat_Request {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_JoinChat_Response {
optional fixed64 chat_id = 1;
optional string view_url_template = 2;
repeated uint64 flair_group_ids = 3;
}
message CSteamTV_ReportBroadcastChannel_Request {
optional fixed64 broadcast_channel_id = 1;
optional string reason = 2;
}
message CSteamTV_ReportBroadcastChannel_Response {
}
message CSteamTV_Search_Request {
optional string term = 1;
}
message CSteamTV_Search_Response {
repeated .GetBroadcastChannelEntry results = 1;
}
message CSteamTV_SetBroadcastChannelImage_Request {
optional fixed64 broadcast_channel_id = 1;
optional int32 image_type = 2 [(.description) = "enum"];
optional uint32 image_index = 3;
optional uint32 image_width = 4;
optional uint32 image_height = 5;
optional uint32 file_size = 6;
optional string file_extension = 7;
optional string file_hash = 8;
optional bool undo = 9;
}
message CSteamTV_SetBroadcastChannelImage_Response {
optional string replace_image_hash = 1;
}
message CSteamTV_SetBroadcastChannelLinkRegions_Request {
optional fixed64 broadcast_channel_id = 1;
repeated .CSteamTV_SetBroadcastChannelLinkRegions_Request_Links links = 2;
}
message CSteamTV_SetBroadcastChannelLinkRegions_Request_Links {
optional uint32 link_index = 1;
optional string url = 2;
optional string link_description = 3;
optional uint32 left = 4;
optional uint32 top = 5;
optional uint32 width = 6;
optional uint32 height = 7;
}
message CSteamTV_SetBroadcastChannelLinkRegions_Response {
}
message CSteamTV_SetBroadcastChannelProfile_Request {
optional fixed64 broadcast_channel_id = 1;
optional string name = 2;
optional string language = 3;
optional string headline = 4;
optional string summary = 5;
optional string avatar_hash = 6;
optional string schedule = 7;
optional string rules = 8;
optional string panels = 9;
}
message CSteamTV_SetBroadcastChannelProfile_Response {
}
message CSteamTV_SetSteamTVUserSettings_Request {
optional bool stream_live_email = 1;
optional bool stream_live_notification = 2;
}
message CSteamTV_SetSteamTVUserSettings_Response {
}
message CSteamTV_SubscribeBroadcastChannel_Request {
optional fixed64 broadcast_channel_id = 1;
}
message CSteamTV_SubscribeBroadcastChannel_Response {
optional bool is_subscribed = 1;
}
message GameListEntry {
optional uint32 appid = 1;
optional string game_name = 2;
optional .GetBroadcastChannelEntry broadcast = 3;
}
message GetBroadcastChannelEntry {
optional fixed64 broadcast_channel_id = 1;
optional string unique_name = 2;
optional string name = 3;
optional uint32 appid = 4;
optional uint64 viewers = 5;
optional uint64 views = 6;
optional string thumbnail_url = 7;
optional uint64 followers = 8;
optional string headline = 9;
optional string avatar_url = 10;
optional fixed64 broadcaster_steamid = 11;
optional uint64 subscribers = 12;
optional string background_url = 13;
optional bool is_featured = 14;
optional bool is_disabled = 15;
optional bool is_live = 16;
optional string language = 17;
optional uint32 reports = 18;
optional bool is_partnered = 19;
}
service SteamTV {
rpc AddChatBan (.CSteamTV_AddChatBan_Request) returns (.CSteamTV_AddChatBan_Response);
rpc AddChatModerator (.CSteamTV_AddChatModerator_Request) returns (.CSteamTV_AddChatModerator_Response);
rpc AddWordBan (.CSteamTV_AddWordBan_Request) returns (.CSteamTV_AddWordBan_Response);
rpc AppCheer (.CSteamTV_AppCheer_Request) returns (.CSteamTV_AppCheer_Response);
rpc CreateBroadcastChannel (.CSteamTV_CreateBroadcastChannel_Request) returns (.CSteamTV_CreateBroadcastChannel_Response);
rpc FollowBroadcastChannel (.CSteamTV_FollowBroadcastChannel_Request) returns (.CSteamTV_FollowBroadcastChannel_Response);
rpc GetBroadcastChannelBroadcasters (.CSteamTV_GetBroadcastChannelBroadcasters_Request) returns (.CSteamTV_GetBroadcastChannelBroadcasters_Response);
rpc GetBroadcastChannelClips (.CSteamTV_GetBroadcastChannelClips_Request) returns (.CSteamTV_GetBroadcastChannelClips_Response);
rpc GetBroadcastChannelID (.CSteamTV_GetBroadcastChannelID_Request) returns (.CSteamTV_GetBroadcastChannelID_Response);
rpc GetBroadcastChannelImages (.CSteamTV_GetBroadcastChannelImages_Request) returns (.CSteamTV_GetBroadcastChannelImages_Response);
rpc GetBroadcastChannelInteraction (.CSteamTV_GetBroadcastChannelInteraction_Request) returns (.CSteamTV_GetBroadcastChannelInteraction_Response);
rpc GetBroadcastChannelLinks (.CSteamTV_GetBroadcastChannelLinks_Request) returns (.CSteamTV_GetBroadcastChannelLinks_Response);
rpc GetBroadcastChannelProfile (.CSteamTV_GetBroadcastChannelProfile_Request) returns (.CSteamTV_GetBroadcastChannelProfile_Response);
rpc GetBroadcastChannelStatus (.CSteamTV_GetBroadcastChannelStatus_Request) returns (.CSteamTV_GetBroadcastChannelStatus_Response);
rpc GetChannels (.CSteamTV_GetChannels_Request) returns (.CSteamTV_GetChannels_Response);
rpc GetChatBans (.CSteamTV_GetChatBans_Request) returns (.CSteamTV_GetChatBans_Response);
rpc GetChatModerators (.CSteamTV_GetChatModerators_Request) returns (.CSteamTV_GetChatModerators_Response);
rpc GetFollowedChannels (.CSteamTV_GetFollowedChannels_Request) returns (.CSteamTV_GetFollowedChannels_Response);
rpc GetGames (.CSteamTV_GetGames_Request) returns (.CSteamTV_GetGames_Response);
rpc GetHomePageContents (.CSteamTV_GetHomePageContents_Request) returns (.CSteamTV_GetHomePageContents_Response);
rpc GetMyBroadcastChannels (.CSteamTV_GetMyBroadcastChannels_Request) returns (.CSteamTV_GetMyBroadcastChannels_Response);
rpc GetSteamTVUserSettings (.CSteamTV_GetSteamTVUserSettings_Request) returns (.CSteamTV_GetSteamTVUserSettings_Response);
rpc GetSubscribedChannels (.CSteamTV_GetSubscribedChannels_Request) returns (.CSteamTV_GetSubscribedChannels_Response);
rpc GetWordBans (.CSteamTV_GetWordBans_Request) returns (.CSteamTV_GetWordBans_Response);
rpc JoinChat (.CSteamTV_JoinChat_Request) returns (.CSteamTV_JoinChat_Response);
rpc ReportBroadcastChannel (.CSteamTV_ReportBroadcastChannel_Request) returns (.CSteamTV_ReportBroadcastChannel_Response);
rpc Search (.CSteamTV_Search_Request) returns (.CSteamTV_Search_Response);
rpc SetBroadcastChannelImage (.CSteamTV_SetBroadcastChannelImage_Request) returns (.CSteamTV_SetBroadcastChannelImage_Response);
rpc SetBroadcastChannelLinkRegions (.CSteamTV_SetBroadcastChannelLinkRegions_Request) returns (.CSteamTV_SetBroadcastChannelLinkRegions_Response);
rpc SetBroadcastChannelProfile (.CSteamTV_SetBroadcastChannelProfile_Request) returns (.CSteamTV_SetBroadcastChannelProfile_Response);
rpc SetSteamTVUserSettings (.CSteamTV_SetSteamTVUserSettings_Request) returns (.CSteamTV_SetSteamTVUserSettings_Response);
rpc SubscribeBroadcastChannel (.CSteamTV_SubscribeBroadcastChannel_Request) returns (.CSteamTV_SubscribeBroadcastChannel_Response);
}

View File

@@ -0,0 +1,67 @@
import "common_base.proto";
message CSteamVR_Vector3 {
optional float x = 1;
optional float y = 2;
optional float z = 3;
}
message CSteamVR_VoiceChat_Active_Notification {
}
message CSteamVR_VoiceChat_GroupName_Notification {
optional string name = 1;
}
message CSteamVR_VoiceChat_Inactive_Notification {
}
message CSteamVR_VoiceChat_NewGroupChatMsgAdded_Notification {
optional uint64 chat_group_id = 1;
optional uint64 chat_room_id = 2;
optional uint32 sender_accountid = 3;
optional uint32 timestamp = 4;
optional uint32 ordinal = 5;
optional string message = 6;
}
message CSteamVR_VoiceChat_PerUserGainValue_Notification {
optional uint32 accountid = 1;
optional bool muted = 2;
optional float gain = 3;
}
message CSteamVR_VoiceChat_PerUserVoiceStatus_Notification {
optional uint32 accountid = 1;
optional bool mic_muted_locally = 2;
optional bool output_muted_locally = 3;
}
message CSteamVR_VoiceChat_SetDefaultSession_Notification {
optional uint64 chat_group_id = 1;
optional uint64 chat_room_id = 2;
}
message CSteamVR_VoiceChat_SetSpatialAudioListener_Notification {
optional .CSteamVR_Vector3 position = 1;
optional .CSteamVR_Vector3 forward = 2;
optional .CSteamVR_Vector3 up = 3;
}
message CSteamVR_VoiceChat_SetSpatialAudioSource_Notification {
optional fixed64 steamid = 1;
optional .CSteamVR_Vector3 position = 2;
}
service SteamVRVoiceChat {
rpc Active (.CSteamVR_VoiceChat_Active_Notification) returns (.NoResponse);
rpc GroupName (.CSteamVR_VoiceChat_GroupName_Notification) returns (.NoResponse);
rpc Inactive (.CSteamVR_VoiceChat_Inactive_Notification) returns (.NoResponse);
rpc NewGroupChatMsgAdded (.CSteamVR_VoiceChat_NewGroupChatMsgAdded_Notification) returns (.NoResponse);
rpc PerUserGainValue (.CSteamVR_VoiceChat_PerUserGainValue_Notification) returns (.NoResponse);
rpc PerUserVoiceStatus (.CSteamVR_VoiceChat_PerUserVoiceStatus_Notification) returns (.NoResponse);
rpc SetDefaultSession (.CSteamVR_VoiceChat_SetDefaultSession_Notification) returns (.NoResponse);
rpc SetSpatialAudioListener (.CSteamVR_VoiceChat_SetSpatialAudioListener_Notification) returns (.NoResponse);
rpc SetSpatialAudioSource (.CSteamVR_VoiceChat_SetSpatialAudioSource_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,48 @@
import "common_base.proto";
message CSteamVR_Header {
optional int32 type = 1 [(.description) = "enum"];
optional uint32 id = 2;
}
message CSteamVR_WebRTC_Active_Notification {
}
message CSteamVR_WebRTC_DataChannel_Close_Notification {
optional uint32 channel_id = 1;
}
message CSteamVR_WebRTC_DataChannel_Error_Notification {
optional uint32 channel_id = 1;
optional string reason = 2;
}
message CSteamVR_WebRTC_DataChannel_Message_Notification {
optional uint32 channel_id = 1;
optional bytes data = 2;
}
message CSteamVR_WebRTC_DataChannel_Open_Notification {
optional uint32 channel_id = 1;
}
message CSteamVR_WebRTC_Inactive_Notification {
}
message CSteamVR_WebRTC_OnDataChannel_Notification {
optional fixed64 source_steamid = 1;
optional uint32 channel_id = 2;
optional string label = 3;
}
service SteamVRWebRTC {
rpc Active (.CSteamVR_WebRTC_Active_Notification) returns (.NoResponse);
rpc Header (.CSteamVR_Header) returns (.NoResponse);
rpc Inactive (.CSteamVR_WebRTC_Inactive_Notification) returns (.NoResponse);
rpc Notify_DataChannelClose (.CSteamVR_WebRTC_DataChannel_Close_Notification) returns (.NoResponse);
rpc Notify_DataChannelError (.CSteamVR_WebRTC_DataChannel_Error_Notification) returns (.NoResponse);
rpc Notify_DataChannelMessage (.CSteamVR_WebRTC_DataChannel_Message_Notification) returns (.NoResponse);
rpc Notify_DataChannelOpen (.CSteamVR_WebRTC_DataChannel_Open_Notification) returns (.NoResponse);
rpc Notify_OnDataChannel (.CSteamVR_WebRTC_OnDataChannel_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,106 @@
import "common_base.proto";
message CStorageDeviceManager_Adopt_Request {
optional uint32 drive_id = 1;
optional string label = 2;
optional bool validate = 3;
}
message CStorageDeviceManager_Adopt_Response {
}
message CStorageDeviceManager_Eject_Request {
optional uint32 drive_id = 1;
}
message CStorageDeviceManager_Eject_Response {
}
message CStorageDeviceManager_Format_Request {
optional uint32 block_device_id = 1;
}
message CStorageDeviceManager_Format_Response {
}
message CStorageDeviceManager_GetState_Request {
}
message CStorageDeviceManager_GetState_Response {
optional .CStorageDeviceManagerState state = 1;
}
message CStorageDeviceManager_IsServiceAvailable_Request {
}
message CStorageDeviceManager_IsServiceAvailable_Response {
optional bool is_available = 1;
}
message CStorageDeviceManager_StateChanged_Notification {
}
message CStorageDeviceManager_TrimAll_Request {
}
message CStorageDeviceManager_TrimAll_Response {
}
message CStorageDeviceManager_Unmount_Request {
optional uint32 block_device_id = 1;
}
message CStorageDeviceManager_Unmount_Response {
}
message CStorageDeviceManagerBlockDevice {
optional uint32 id = 1 [default = 0];
optional uint32 drive_id = 2 [default = 0];
optional string path = 3;
optional string friendly_path = 4;
optional string label = 5;
optional uint64 size_bytes = 6;
optional bool is_formattable = 7;
optional bool is_read_only = 8;
optional bool is_root_device = 9;
optional int32 content_type = 10 [(.description) = "enum"];
optional int32 filesystem_type = 11 [(.description) = "enum"];
repeated string mount_paths = 12;
optional bool is_unmounting = 13;
optional bool has_steam_library = 14;
}
message CStorageDeviceManagerDrive {
optional uint32 id = 1 [default = 0];
optional string model = 2;
optional string vendor = 3;
optional string serial = 4;
optional bool is_ejectable = 5;
optional uint64 size_bytes = 6;
optional int32 media_type = 7 [(.description) = "enum"];
optional bool is_unformatted = 8;
optional int32 adopt_stage = 9 [(.description) = "enum"];
optional bool is_formattable = 10;
optional bool is_media_available = 11;
}
message CStorageDeviceManagerState {
repeated .CStorageDeviceManagerDrive drives = 1;
repeated .CStorageDeviceManagerBlockDevice block_devices = 2;
optional bool is_unmount_supported = 3;
optional bool is_trim_supported = 4;
optional bool is_trim_running = 5;
optional bool is_adopt_supported = 6;
}
service StorageDeviceManager {
rpc Adopt (.CStorageDeviceManager_Adopt_Request) returns (.CStorageDeviceManager_Adopt_Response);
rpc Eject (.CStorageDeviceManager_Eject_Request) returns (.CStorageDeviceManager_Eject_Response);
rpc Format (.CStorageDeviceManager_Format_Request) returns (.CStorageDeviceManager_Format_Response);
rpc GetState (.CStorageDeviceManager_GetState_Request) returns (.CStorageDeviceManager_GetState_Response);
rpc IsServiceAvailable (.CStorageDeviceManager_IsServiceAvailable_Request) returns (.CStorageDeviceManager_IsServiceAvailable_Response);
rpc NotifyStateChanged (.CStorageDeviceManager_StateChanged_Notification) returns (.NoResponse);
rpc TrimAll (.CStorageDeviceManager_TrimAll_Request) returns (.CStorageDeviceManager_TrimAll_Response);
rpc Unmount (.CStorageDeviceManager_Unmount_Request) returns (.CStorageDeviceManager_Unmount_Response);
}

View File

@@ -0,0 +1,380 @@
import "common_base.proto";
import "common.proto";
message CPackageReservationStatus {
optional uint32 packageid = 1;
optional int32 reservation_state = 2;
optional int32 queue_position = 3;
optional int32 total_queue_size = 4;
optional string reservation_country_code = 5;
optional bool expired = 6;
optional uint32 time_expires = 7;
optional uint32 time_reserved = 8;
optional uint32 rtime_estimated_notification = 9;
optional string notificaton_token = 10;
}
message CReservationPositionMessage {
optional uint32 edistributor = 1;
optional string product_identifier = 2;
optional uint32 start_queue_position = 3;
optional uint32 rtime_estimated_notification = 4;
optional string localization_token = 5;
optional uint32 accountid = 6;
optional uint32 rtime_created = 7;
}
message CSteamDeckCompatibility_SetFeedback_Request {
optional uint32 appid = 1;
optional int32 feedback = 2 [(.description) = "enum"];
}
message CSteamDeckCompatibility_SetFeedback_Response {
}
message CSteamDeckCompatibility_ShouldPrompt_Request {
optional uint32 appid = 1;
}
message CSteamDeckCompatibility_ShouldPrompt_Response {
optional bool prompt = 1;
optional bool feedback_eligible = 2;
optional int32 existing_feedback = 3 [(.description) = "enum"];
}
message CStore_DeleteReservationPositionMessage_Request {
optional uint32 edistributor = 1;
optional string product_identifier = 2;
optional uint32 start_queue_position = 3;
}
message CStore_DeleteReservationPositionMessage_Response {
}
message CStore_GetAllReservationPositionMessages_Request {
}
message CStore_GetAllReservationPositionMessages_Response {
repeated .CReservationPositionMessage settings = 1;
}
message CStore_GetDiscoveryQueue_Request {
optional int32 queue_type = 1 [(.description) = "enum"];
optional string country_code = 2;
optional bool rebuild_queue = 3;
optional bool settings_changed = 4;
optional .CStoreDiscoveryQueueSettings settings = 5;
optional bool rebuild_queue_if_stale = 6;
optional bool ignore_user_preferences = 8;
optional bool no_experimental_results = 9;
optional uint32 experimental_cohort = 10;
optional bool debug_get_solr_query = 11;
optional .CStorePageFilter store_page_filter = 12;
}
message CStore_GetDiscoveryQueue_Response {
repeated uint32 appids = 1;
optional string country_code = 2;
optional .CStoreDiscoveryQueueSettings settings = 3;
optional int32 skipped = 4;
optional bool exhausted = 5;
optional uint32 experimental_cohort = 6;
optional string debug_solr_query = 7;
}
message CStore_GetDiscoveryQueueSettings_Request {
optional int32 queue_type = 1 [(.description) = "enum"];
optional .CStorePageFilter store_page_filter = 2;
}
message CStore_GetDiscoveryQueueSettings_Response {
optional string country_code = 1;
optional .CStoreDiscoveryQueueSettings settings = 2;
}
message CStore_GetDiscoveryQueueSkippedApps_Request {
optional fixed64 steamid = 1;
optional int32 queue_type = 2 [(.description) = "enum"];
optional .CStorePageFilter store_page_filter = 3;
}
message CStore_GetDiscoveryQueueSkippedApps_Response {
repeated uint32 appids = 1;
}
message CStore_GetLocalizedNameForTags_Request {
optional string language = 1;
repeated uint32 tagids = 2;
}
message CStore_GetLocalizedNameForTags_Response {
repeated .CStore_GetLocalizedNameForTags_Response_Tag tags = 1;
}
message CStore_GetLocalizedNameForTags_Response_Tag {
optional uint32 tagid = 1;
optional string english_name = 2;
optional string name = 3;
optional string normalized_name = 4;
}
message CStore_GetMostPopularTags_Request {
optional string language = 1;
}
message CStore_GetMostPopularTags_Response {
repeated .CStore_GetMostPopularTags_Response_Tag tags = 1;
}
message CStore_GetMostPopularTags_Response_Tag {
optional uint32 tagid = 1;
optional string name = 2;
}
message CStore_GetStorePreferences_Request {
}
message CStore_GetStorePreferences_Response {
optional .CStore_UserPreferences preferences = 1;
optional .CStore_UserTagPreferences tag_preferences = 2;
optional .CStore_UserContentDescriptorPreferences content_descriptor_preferences = 3;
//optional .UserContentDescriptorPreferences content_descriptor_preferences = 3;
}
message CStore_GetTagList_Request {
optional string language = 1;
optional string have_version_hash = 2;
}
message CStore_GetTagList_Response {
optional string version_hash = 1;
repeated .CStore_GetTagList_Response_Tag tags = 2;
}
message CStore_GetTagList_Response_Tag {
optional uint32 tagid = 1;
optional string name = 2;
}
message CStore_GetTrendingAppsAmongFriends_Request {
optional uint32 num_apps = 1;
optional uint32 num_top_friends = 2;
}
message CStore_GetTrendingAppsAmongFriends_Response {
repeated .CStore_GetTrendingAppsAmongFriends_Response_TrendingAppData trending_apps = 1;
}
message CStore_GetTrendingAppsAmongFriends_Response_TrendingAppData {
optional uint32 appid = 1;
repeated uint64 steamids_top_friends = 2;
optional uint32 total_friends = 3;
}
message CStore_GetUserGameInterestState_Request {
optional uint32 appid = 1;
optional uint32 store_appid = 2;
optional uint32 beta_appid = 3;
}
message CStore_GetUserGameInterestState_Response {
optional bool owned = 1;
optional bool wishlist = 2;
optional bool ignored = 3;
optional bool following = 4;
repeated int32 in_queues = 5 [(.description) = "enum"];
repeated int32 queues_with_skip = 6 [(.description) = "enum"];
repeated int32 queue_items_remaining = 7;
repeated uint32 queue_items_next_appid = 8;
optional bool temporarily_owned = 9;
repeated .CStore_GetUserGameInterestState_Response_InQueue queues = 10;
optional int32 ignored_reason = 11;
optional int32 beta_status = 12 [(.description) = "enum"];
}
message CStore_GetUserGameInterestState_Response_InQueue {
optional int32 type = 1 [(.description) = "enum"];
optional bool skipped = 2;
optional int32 items_remaining = 3;
optional uint32 next_appid = 4;
optional uint32 experimental_cohort = 5;
}
message CStore_GetWishlistDemoEmailStatus_Request {
optional uint32 appid = 1;
optional uint32 demo_appid = 2;
}
message CStore_GetWishlistDemoEmailStatus_Response {
optional bool can_fire = 1 [default = false];
optional uint32 time_staged = 2;
optional uint32 demo_release_date = 3;
}
message CStore_PurchaseReceiptInfo {
optional uint64 transactionid = 1;
optional uint32 packageid = 2;
optional uint32 purchase_status = 3;
optional uint32 result_detail = 4;
optional uint32 transaction_time = 5;
optional uint32 payment_method = 6;
optional uint64 base_price = 7;
optional uint64 total_discount = 8;
optional uint64 tax = 9;
optional uint64 shipping = 10;
optional uint32 currency_code = 11;
optional string country_code = 12;
optional string error_headline = 13;
optional string error_string = 14;
optional string error_link_text = 15;
optional string error_link_url = 16;
optional uint32 error_appid = 17;
repeated .CStore_PurchaseReceiptInfo_LineItem line_items = 18;
}
message CStore_PurchaseReceiptInfo_LineItem {
optional uint32 packageid = 1;
optional uint32 appid = 2;
optional string line_item_description = 3;
}
message CStore_QueueWishlistDemoEmailToFire_Request {
optional uint32 appid = 1;
optional uint32 demo_appid = 2;
}
message CStore_QueueWishlistDemoEmailToFire_Response {
}
message CStore_RegisterCDKey_Request {
optional string activation_code = 1;
optional int32 purchase_platform = 2;
optional bool is_request_from_client = 3;
}
message CStore_RegisterCDKey_Response {
optional int32 purchase_result_details = 1;
optional .CStore_PurchaseReceiptInfo purchase_receipt_info = 2;
}
message CStore_ReportApp_Request {
optional uint32 appid = 1;
optional int32 report_type = 2 [(.description) = "enum"];
optional string report = 3;
}
message CStore_ReportApp_Response {
}
message CStore_SetReservationPositionMessage_Request {
repeated .CReservationPositionMessage settings = 1;
}
message CStore_SetReservationPositionMessage_Response {
}
message CStore_SkipDiscoveryQueueItem_Request {
optional int32 queue_type = 1 [(.description) = "enum"];
optional uint32 appid = 2;
optional .CStorePageFilter store_page_filter = 3;
}
message CStore_SkipDiscoveryQueueItem_Response {
}
message CStore_StorePreferencesChanged_Notification {
optional .CStore_UserPreferences preferences = 1;
optional .CStore_UserTagPreferences tag_preferences = 2;
optional .CStore_UserContentDescriptorPreferences content_descriptor_preferences = 3;
//optional .UserContentDescriptorPreferences content_descriptor_preferences = 3;
}
message CStore_UpdatePackageReservations_Request {
repeated uint32 packages_to_reserve = 1;
repeated uint32 packages_to_unreserve = 2;
optional string country_code = 3;
}
message CStore_UpdatePackageReservations_Response {
repeated .CPackageReservationStatus reservation_status = 1;
}
message CStore_UserContentDescriptorPreferences {
repeated .CStore_UserContentDescriptorPreferences_ContentDescriptor content_descriptors_to_exclude = 1;
}
message CStore_UserContentDescriptorPreferences_ContentDescriptor {
optional uint32 content_descriptorid = 1;
optional uint32 timestamp_added = 2;
}
message CStore_UserPreferences {
optional int32 primary_language = 1;
//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 review_score_preference = 10 [(.description) = "enum"];
optional int32 timestamp_content_descriptor_preferences_updated = 11;
optional int32 provide_deck_feedback = 12 [(.description) = "enum"];
optional string additional_languages = 13;
}
message CStore_UserTagPreferences {
repeated .CStore_UserTagPreferences_Tag tags_to_exclude = 1;
}
message CStore_UserTagPreferences_Tag {
optional uint32 tagid = 1;
optional string name = 2;
optional uint32 timestamp_added = 3;
}
message CStoreDiscoveryQueueSettings {
optional bool os_win = 4;
optional bool os_mac = 5;
optional bool os_linux = 6;
optional bool full_controller_support = 7;
optional bool native_steam_controller = 8;
optional bool include_coming_soon = 9;
repeated uint32 excluded_tagids = 10;
optional bool exclude_early_access = 11;
optional bool exclude_videos = 12;
optional bool exclude_software = 13;
optional bool exclude_dlc = 14;
optional bool exclude_soundtracks = 15;
repeated uint32 featured_tagids = 16;
}
service Store {
rpc DeleteReservationPositionMessage (.CStore_DeleteReservationPositionMessage_Request) returns (.CStore_DeleteReservationPositionMessage_Response);
rpc GetAllReservationPositionMessages (.CStore_GetAllReservationPositionMessages_Request) returns (.CStore_GetAllReservationPositionMessages_Response);
rpc GetDiscoveryQueue (.CStore_GetDiscoveryQueue_Request) returns (.CStore_GetDiscoveryQueue_Response);
rpc GetDiscoveryQueueSettings (.CStore_GetDiscoveryQueueSettings_Request) returns (.CStore_GetDiscoveryQueueSettings_Response);
rpc GetDiscoveryQueueSkippedApps (.CStore_GetDiscoveryQueueSkippedApps_Request) returns (.CStore_GetDiscoveryQueueSkippedApps_Response);
rpc GetLocalizedNameForTags (.CStore_GetLocalizedNameForTags_Request) returns (.CStore_GetLocalizedNameForTags_Response);
rpc GetMostPopularTags (.CStore_GetMostPopularTags_Request) returns (.CStore_GetMostPopularTags_Response);
rpc GetStorePreferences (.CStore_GetStorePreferences_Request) returns (.CStore_GetStorePreferences_Response);
rpc GetTagList (.CStore_GetTagList_Request) returns (.CStore_GetTagList_Response);
rpc GetTrendingAppsAmongFriends (.CStore_GetTrendingAppsAmongFriends_Request) returns (.CStore_GetTrendingAppsAmongFriends_Response);
rpc GetUserGameInterestState (.CStore_GetUserGameInterestState_Request) returns (.CStore_GetUserGameInterestState_Response);
rpc GetWishlistDemoEmailStatus (.CStore_GetWishlistDemoEmailStatus_Request) returns (.CStore_GetWishlistDemoEmailStatus_Response);
rpc QueueWishlistDemoEmailToFire (.CStore_QueueWishlistDemoEmailToFire_Request) returns (.CStore_QueueWishlistDemoEmailToFire_Response);
rpc RegisterCDKey (.CStore_RegisterCDKey_Request) returns (.CStore_RegisterCDKey_Response);
rpc ReportApp (.CStore_ReportApp_Request) returns (.CStore_ReportApp_Response);
rpc SetCompatibilityFeedback (.CSteamDeckCompatibility_SetFeedback_Request) returns (.CSteamDeckCompatibility_SetFeedback_Response);
rpc SetReservationPositionMessage (.CStore_SetReservationPositionMessage_Request) returns (.CStore_SetReservationPositionMessage_Response);
rpc ShouldPromptForCompatibilityFeedback (.CSteamDeckCompatibility_ShouldPrompt_Request) returns (.CSteamDeckCompatibility_ShouldPrompt_Response);
rpc SkipDiscoveryQueueItem (.CStore_SkipDiscoveryQueueItem_Request) returns (.CStore_SkipDiscoveryQueueItem_Response);
rpc UpdatePackageReservations (.CStore_UpdatePackageReservations_Request) returns (.CStore_UpdatePackageReservations_Response);
}
service StoreClient {
rpc NotifyStorePreferencesChanged (.CStore_StorePreferencesChanged_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,76 @@
import "common_base.proto";
import "common.proto";
message CStoreAppSimilarity_IdentifyClustersFromPlaytime_Request {
optional fixed64 steamid = 1;
optional int32 sort = 2 [default = 1, (.description) = "enum"];
optional int32 clusters_to_return = 3;
optional int32 cluster_index = 4;
optional .StoreBrowseContext context = 10;
optional .StoreBrowseItemDataRequest data_request = 11;
}
message CStoreAppSimilarity_IdentifyClustersFromPlaytime_Response {
repeated .CStoreAppSimilarity_IdentifyClustersFromPlaytime_Response_Cluster clusters = 1;
}
message CStoreAppSimilarity_IdentifyClustersFromPlaytime_Response_Cluster {
optional int32 cluster_id = 1;
optional int32 playtime_forever = 2;
optional int32 playtime_2weeks = 3;
optional uint32 last_played = 4;
repeated int32 played_appids = 5;
repeated int32 similar_items_appids = 6;
repeated .StoreItem similar_items = 7;
optional double similar_item_popularity_score = 8;
}
message CStoreAppSimilarity_PrioritizeAppsForUser_Request {
optional fixed64 steamid = 1;
optional string country_code = 2;
repeated .StoreItemID ids = 3;
optional .StoreAppSimilarityPriorityOptions options = 4;
optional bool debug = 5;
optional bool include_owned_games = 6;
}
message CStoreAppSimilarity_PrioritizeAppsForUser_Response {
repeated .CStoreAppSimilarity_PrioritizeAppsForUser_Response_ResultItem items = 1;
}
message CStoreAppSimilarity_PrioritizeAppsForUser_Response_ResultItem {
optional .StoreItemID id = 1;
optional bool already_owned = 2;
optional double weight = 3;
optional double weight_before_dedupe = 4;
repeated .CStoreAppSimilarity_PrioritizeAppsForUser_Response_ResultItem_MatchDebugInfo debug_matches = 50;
optional .CStoreAppSimilarity_PrioritizeAppsForUser_Response_ResultItem_PopularityDebugInfo debug_popularity = 51;
}
message CStoreAppSimilarity_PrioritizeAppsForUser_Response_ResultItem_MatchDebugInfo {
optional int32 source_app = 1;
optional double weight = 2;
optional double similarity = 3;
}
message CStoreAppSimilarity_PrioritizeAppsForUser_Response_ResultItem_PopularityDebugInfo {
optional uint32 rank = 1;
optional double popularity_factor = 2;
optional double weight_before_popularity = 3;
}
message StoreAppSimilarityPriorityOptions {
optional double tag_score_factor = 1 [default = 1];
optional int32 playtime_max_seconds = 10 [default = 360000];
optional int32 playtime_max_games = 11 [default = 3];
optional double playtime_score_factor = 12 [default = 0.9];
optional int32 popularity_factor = 20 [default = 5, (.description) = "enum"];
optional int32 popularity_reciprocal = 21 [default = 10000];
optional int64 popularity_base_score = 22 [default = 5000000];
}
service StoreAppSimilarity {
rpc IdentifyClustersFromPlaytime (.CStoreAppSimilarity_IdentifyClustersFromPlaytime_Request) returns (.CStoreAppSimilarity_IdentifyClustersFromPlaytime_Response);
rpc PrioritizeAppsForUser (.CStoreAppSimilarity_PrioritizeAppsForUser_Request) returns (.CStoreAppSimilarity_PrioritizeAppsForUser_Response);
}

View File

@@ -0,0 +1,103 @@
import "common.proto";
import "common_base.proto";
message CHardwarePackageDetails {
optional uint32 packageid = 1;
optional bool inventory_available = 3;
optional bool high_pending_orders = 4;
optional bool account_restricted_from_purchasing = 5;
optional bool requires_reservation = 6;
optional uint32 rtime_estimated_notification = 7;
optional string notificaton_token = 8;
optional int32 reservation_state = 9;
optional bool expired = 10;
optional uint32 time_expires = 11;
optional uint32 time_reserved = 12;
optional bool allow_quantity_purchase = 13;
optional int32 max_quantity_per_purchase = 14;
optional bool allow_purchase_in_country = 15;
optional uint32 estimated_delivery_soonest_business_days = 17;
optional uint32 estimated_delivery_latest_business_days = 18;
}
message CStoreBrowse_GetDLCForApps_Request {
optional .StoreBrowseContext context = 1;
optional .CStorePageFilter store_page_filter = 2;
repeated .StoreItemID appids = 3;
optional uint64 steamid = 4;
}
message CStoreBrowse_GetDLCForApps_Response {
repeated .CStoreBrowse_GetDLCForApps_Response_DLCData dlc_data = 1;
repeated .CStoreBrowse_GetDLCForApps_Response_PlaytimeForApp playtime = 2;
}
message CStoreBrowse_GetDLCForApps_Response_DLCData {
optional uint32 appid = 1;
optional uint32 parentappid = 2;
optional uint32 release_date = 3;
optional bool coming_soon = 4;
optional int64 price = 5;
optional uint32 discount = 6;
optional bool free = 7;
}
message CStoreBrowse_GetDLCForApps_Response_PlaytimeForApp {
optional uint32 appid = 1;
optional uint32 playtime = 2;
optional uint32 last_played = 3;
}
message CStoreBrowse_GetDLCForAppsSolr_Request {
optional .StoreBrowseContext context = 1;
repeated uint32 appids = 2;
optional string flavor = 3;
optional uint32 count = 4;
optional .CStorePageFilter store_page_filter = 5;
}
message CStoreBrowse_GetDLCForAppsSolr_Response {
repeated .CStoreBrowse_GetDLCForAppsSolr_Response_DLCList dlc_lists = 1;
}
message CStoreBrowse_GetDLCForAppsSolr_Response_DLCList {
optional uint32 parent_appid = 1;
repeated uint32 dlc_appids = 2;
}
message CStoreBrowse_GetHardwareItems_Request {
repeated uint32 packageid = 1;
optional .StoreBrowseContext context = 2;
}
message CStoreBrowse_GetHardwareItems_Response {
repeated .CHardwarePackageDetails details = 1;
}
message CStoreBrowse_GetStoreCategories_Request {
optional string language = 1;
optional int32 elanguage = 2 [default = -1];
}
message CStoreBrowse_GetStoreCategories_Response {
repeated .CStoreBrowse_GetStoreCategories_Response_Category categories = 1;
}
message CStoreBrowse_GetStoreCategories_Response_Category {
optional uint32 categoryid = 1;
optional int32 type = 2 [(.description) = "enum"];
optional string internal_name = 3;
optional string display_name = 4;
optional string image_url = 5;
optional bool show_in_search = 6;
optional bool computed = 7;
}
service StoreBrowse {
rpc GetDLCForApps (.CStoreBrowse_GetDLCForApps_Request) returns (.CStoreBrowse_GetDLCForApps_Response);
rpc GetDLCForAppsSolr (.CStoreBrowse_GetDLCForAppsSolr_Request) returns (.CStoreBrowse_GetDLCForAppsSolr_Response);
rpc GetHardwareItems (.CStoreBrowse_GetHardwareItems_Request) returns (.CStoreBrowse_GetHardwareItems_Response);
rpc GetItems (.CStoreBrowse_GetItems_Request) returns (.CStoreBrowse_GetItems_Response);
rpc GetStoreCategories (.CStoreBrowse_GetStoreCategories_Request) returns (.CStoreBrowse_GetStoreCategories_Response);
}

View File

@@ -0,0 +1,19 @@
message CDeveloperPageToApps {
optional uint32 clan_account_id = 1;
repeated uint32 appid_list = 2;
}
message CStoreCatalog_GetDevPageAllAppsLinked_Request {
repeated uint32 clan_account_ids = 1;
optional bool ignore_dlc = 2;
}
message CStoreCatalog_GetDevPageAllAppsLinked_Response {
repeated .CDeveloperPageToApps results = 1;
}
service StoreCatalog {
rpc GetDevPageAllAppsLinked (.CStoreCatalog_GetDevPageAllAppsLinked_Request) returns (.CStoreCatalog_GetDevPageAllAppsLinked_Response);
}

View File

@@ -0,0 +1,44 @@
import "common.proto";
message CStoreMarketing_GetItemsToFeature_Request {
optional .StoreBrowseContext context = 1;
optional .StoreBrowseItemDataRequest data_request = 2;
optional .CStoreMarketing_GetItemsToFeature_Request_SpotlightFilter include_spotlights = 5;
optional bool include_dailydeals = 6;
optional int32 include_top_specials_count = 7;
optional bool include_purchase_recommendations = 8;
repeated .StoreItemID additional_purchase_item_ids = 9;
}
message CStoreMarketing_GetItemsToFeature_Request_SpotlightFilter {
optional string location = 1;
optional string category = 2;
optional int32 genre_id = 3;
}
message CStoreMarketing_GetItemsToFeature_Response {
repeated .CStoreMarketing_GetItemsToFeature_Response_Spotlight spotlights = 1;
repeated .CStoreMarketing_GetItemsToFeature_Response_FeaturedItem daily_deals = 2;
repeated .CStoreMarketing_GetItemsToFeature_Response_FeaturedItem specials = 3;
repeated .CStoreMarketing_GetItemsToFeature_Response_FeaturedItem purchase_recommendations = 4;
}
message CStoreMarketing_GetItemsToFeature_Response_FeaturedItem {
optional .StoreItemID item_id = 1;
optional .StoreItem item = 2;
}
message CStoreMarketing_GetItemsToFeature_Response_Spotlight {
optional .StoreItemID item_id = 1;
optional .StoreItem associated_item = 2;
optional string spotlight_template = 3;
optional string spotlight_title = 4;
optional string spotlight_body = 5;
optional string asset_url = 6;
optional string spotlight_link_url = 7;
}
service StoreMarketing {
rpc GetItemsToFeature (.CStoreMarketing_GetItemsToFeature_Request) returns (.CStoreMarketing_GetItemsToFeature_Response);
}

View File

@@ -0,0 +1,128 @@
import "common.proto";
import "common_base.proto";
message CStoreQuery_GetItemsByUserRecommendedTags_Request {
optional .CStorePageFilter filters = 2;
optional .StoreBrowseContext context = 5;
repeated .CStoreQuery_GetItemsByUserRecommendedTags_Request_Section sections = 6;
}
message CStoreQuery_GetItemsByUserRecommendedTags_Request_Section {
optional int32 sort = 1 [default = 0, (.description) = "enum"];
optional uint32 min_items = 2;
optional bool randomize = 3;
optional bool include_packages = 4 [default = false];
optional bool include_bundles = 5 [default = false];
}
message CStoreQuery_GetItemsByUserRecommendedTags_Response {
repeated .CStoreQuery_GetItemsByUserRecommendedTags_Response_Section sections = 1;
}
message CStoreQuery_GetItemsByUserRecommendedTags_Response_Section {
optional uint32 tagid = 1;
repeated .StoreItemID store_item_ids = 2;
optional string tag_name = 3;
}
message CStoreQuery_Query_Request {
optional string query_name = 1;
optional .CStoreQueryParams query = 2;
optional .StoreBrowseContext context = 3;
optional .StoreBrowseItemDataRequest data_request = 4;
optional string override_country_code = 5;
}
message CStoreQuery_Query_Response {
optional .CStoreQueryResultMetadata metadata = 1;
repeated .StoreItemID ids = 2;
repeated .StoreItem store_items = 3;
}
message CStoreQuery_SearchSuggestions_Request {
optional string query_name = 1;
optional .StoreBrowseContext context = 2;
optional string search_term = 3;
optional uint32 max_results = 4;
optional .CStoreQueryFilters filters = 5;
optional .StoreBrowseItemDataRequest data_request = 6;
optional bool use_spellcheck = 7;
optional bool search_tags = 8;
optional bool search_creators = 9;
optional bool prefilter_creators = 10;
}
message CStoreQuery_SearchSuggestions_Response {
optional .CStoreQueryResultMetadata metadata = 1;
repeated .StoreItemID ids = 2;
repeated .StoreItem store_items = 3;
}
message CStoreQueryFilters {
optional bool released_only = 1;
optional bool coming_soon_only = 2;
optional .CStoreQueryFilters_TypeFilters type_filters = 3;
repeated .CStoreQueryFilters_TagFilter tagids_must_match = 10;
repeated int32 tagids_exclude = 11;
optional .CStoreQueryFilters_PriceFilters price_filters = 12;
repeated int32 content_descriptors_must_match = 15 [(.description) = "enum"];
repeated int32 content_descriptors_excluded = 16 [(.description) = "enum"];
optional int32 regional_top_n_sellers = 40;
optional int32 global_top_n_sellers = 41;
optional int32 regional_long_term_top_n_sellers = 42;
optional int32 global_long_term_top_n_sellers = 43;
optional .CStorePageFilter store_page_filter = 44;
repeated uint32 parent_appids = 45;
}
message CStoreQueryFilters_PriceFilters {
optional bool only_free_items = 1;
optional bool exclude_free_items = 2;
}
message CStoreQueryFilters_TagFilter {
repeated int32 tagids = 1;
}
message CStoreQueryFilters_TypeFilters {
optional bool include_apps = 1;
optional bool include_packages = 2;
optional bool include_bundles = 3;
optional bool include_games = 10;
optional bool include_demos = 11;
optional bool include_mods = 12;
optional bool include_dlc = 13;
optional bool include_software = 14;
optional bool include_video = 15;
optional bool include_hardware = 16;
optional bool include_series = 17;
optional bool include_music = 18;
}
message CStoreQueryParams {
optional int32 start = 1 [default = 0];
optional int32 count = 2 [default = 10];
optional int32 sort = 10 [default = 0, (.description) = "enum"];
optional .CStoreQueryFilters filters = 20;
}
message CStoreQueryPerResultMetadata {
optional .StoreItemID id = 1;
optional double score = 2;
optional bool spellcheck_generated_result = 3;
}
message CStoreQueryResultMetadata {
optional int32 total_matching_records = 1;
optional int32 start = 2;
optional int32 count = 3;
repeated .CStoreQueryPerResultMetadata per_result_metadata = 4;
repeated string spellcheck_suggestions = 5;
}
service StoreQuery {
rpc GetItemsByUserRecommendedTags (.CStoreQuery_GetItemsByUserRecommendedTags_Request) returns (.CStoreQuery_GetItemsByUserRecommendedTags_Response);
rpc Query (.CStoreQuery_Query_Request) returns (.CStoreQuery_Query_Response);
rpc SearchSuggestions (.CStoreQuery_SearchSuggestions_Request) returns (.CStoreQuery_SearchSuggestions_Response);
}

View File

@@ -0,0 +1,87 @@
import "common_base.proto";
message CStore_GetUserVotes_Request {
optional uint32 sale_appid = 1;
}
message CStore_GetUserVotes_Response {
repeated .SteamAwardsUserVote user_votes = 1;
}
message CStore_GetVoteDefinitions_Request {
optional string language = 1;
optional uint32 sale_appid = 2;
}
message CStore_GetVoteDefinitions_Response {
repeated .CStore_VoteDefinition votes = 1;
}
message CStore_GetVoteDefinitionsForEvents_Response {
repeated .CStore_GetVoteDefinitionsForEvents_Response_Vote_Defintion definitions = 1;
}
message CStore_GetVoteDefinitionsForEvents_Response_Vote_Defintion {
optional int32 voteid = 1;
optional uint32 appid = 2;
}
message CStore_SetVote_Request {
optional int32 voteid = 1;
optional uint32 appid = 2;
optional uint32 sale_appid = 3;
}
message CStore_SetVote_Response {
repeated .SteamAwardsUserVote user_votes = 1;
}
message CStore_VoteDefinition {
optional int32 voteid = 1;
optional bool active = 2;
optional uint32 start_time = 3;
optional uint32 end_time = 4;
repeated .CStore_VoteDefinition_AppDefinition app_discounts = 5;
optional uint32 grouped_vote_options = 6;
repeated .CStore_VoteDefinition_GroupDefinition groups = 7;
optional string internal_name = 8;
optional .CStore_VoteDefinition_Localization localization = 9;
optional uint32 reveal_time = 10;
optional uint32 release_date_min = 11;
optional uint32 winner_appid = 12;
optional int32 flag = 13 [(.description) = "enum"];
optional uint32 release_date_max = 14;
optional uint32 item_type = 15;
}
message CStore_VoteDefinition_AppDefinition {
optional uint32 appid = 1;
optional uint32 discount = 2;
}
message CStore_VoteDefinition_GroupDefinition {
optional uint32 groupid = 1;
optional string group_name = 2;
repeated .CStore_VoteDefinition_AppDefinition app_discounts = 3;
}
message CStore_VoteDefinition_Localization {
optional string title = 1;
optional string title_linebreak = 2;
optional string title_award = 3;
optional string award_description = 4;
}
message SteamAwardsUserVote {
optional uint32 voteid = 1;
optional uint32 appid = 2;
optional uint64 communityitemid = 3;
}
service StoreSales {
rpc GetUserVotes (.CStore_GetUserVotes_Request) returns (.CStore_GetUserVotes_Response);
rpc GetVoteDefinitions (.CStore_GetVoteDefinitions_Request) returns (.CStore_GetVoteDefinitions_Response);
rpc GetVoteDefinitionsForEvents (.NotImplemented) returns (.CStore_GetVoteDefinitionsForEvents_Response);
rpc SetVote (.CStore_SetVote_Request) returns (.CStore_SetVote_Response);
}

View File

@@ -0,0 +1,44 @@
import "common.proto";
message CStoreTopSellers_GetCountryList_Request {
optional string language = 1;
}
message CStoreTopSellers_GetCountryList_Response {
repeated .CStoreTopSellers_GetCountryList_Response_Country countries = 1;
}
message CStoreTopSellers_GetCountryList_Response_Country {
optional string country_code = 1;
optional string name = 2;
}
message CStoreTopSellers_GetWeeklyTopSellers_Request {
optional string country_code = 1;
optional .StoreBrowseContext context = 2;
optional .StoreBrowseItemDataRequest data_request = 3;
optional uint32 start_date = 4;
optional int32 page_start = 5;
optional int32 page_count = 6 [default = 20];
}
message CStoreTopSellers_GetWeeklyTopSellers_Response {
optional uint32 start_date = 1;
repeated .CStoreTopSellers_GetWeeklyTopSellers_Response_TopSellersRank ranks = 2;
optional int32 next_page_start = 3;
}
message CStoreTopSellers_GetWeeklyTopSellers_Response_TopSellersRank {
optional int32 rank = 1;
optional int32 appid = 2;
optional .StoreItem item = 3;
optional int32 last_week_rank = 4;
optional int32 consecutive_weeks = 5;
optional bool first_top100 = 6;
}
service StoreTopSellers {
rpc GetCountryList (.CStoreTopSellers_GetCountryList_Request) returns (.CStoreTopSellers_GetCountryList_Response);
rpc GetWeeklyTopSellers (.CStoreTopSellers_GetWeeklyTopSellers_Request) returns (.CStoreTopSellers_GetWeeklyTopSellers_Response);
}

View File

@@ -0,0 +1,20 @@
message CSystemManager_Hibernate_Request {
}
message CSystemManager_Hibernate_Response {
}
message CSystemManager_WriteFile_Request {
optional string path = 1;
optional bytes data = 2;
}
message CSystemManager_WriteFile_Response {
}
service SystemManager {
rpc Hibernate (.CSystemManager_Hibernate_Request) returns (.CSystemManager_Hibernate_Response);
rpc WriteFile (.CSystemManager_WriteFile_Request) returns (.CSystemManager_WriteFile_Response);
}

View File

@@ -0,0 +1,6 @@
import "common.proto";
service Test_TransportError {
rpc InvalidService (.CTransportValidation_AppendToString_Request) returns (.CTransportValidation_AppendToString_Response);
}

View File

@@ -0,0 +1,17 @@
import "common_base.proto";
message CTransportAuth_Authenticate_Request {
optional string auth_key = 1;
}
message CTransportAuth_Authenticate_Response {
}
message CTransportAuth_StartShutdown_Notification {
}
service TransportAuth {
rpc Authenticate (.CTransportAuth_Authenticate_Request) returns (.CTransportAuth_Authenticate_Response);
rpc NotifyStartShutdown (.CTransportAuth_StartShutdown_Notification) returns (.NoResponse);
}

View File

@@ -0,0 +1,115 @@
import "common.proto";
import "common_base.proto";
message CTransportValidation_AddNumbers_Request {
repeated int32 numbers = 1;
}
message CTransportValidation_AddNumbers_Response {
optional int32 accumulated = 1;
}
message CTransportValidation_CountOrderedBytes_Request {
optional bytes ordered_bytes = 1;
}
message CTransportValidation_CountOrderedBytes_Response {
optional int32 byte_count = 1;
}
message CTransportValidation_GetLargeResponse_Request {
optional uint32 data_size = 1;
}
message CTransportValidation_GetLargeResponse_Response {
optional bytes data = 1;
}
message CTransportValidation_GetLastNotifyNumber_Request {
}
message CTransportValidation_GetLastNotifyNumber_Response {
optional int32 last_notify_number = 1;
}
message CTransportValidation_NotifyCount_Notification {
optional int32 num = 1;
}
message CTransportValidation_NotifyLarge_Notification {
optional bytes data = 1;
}
message CTransportValidation_NotifyNumber_Notification {
optional int32 number = 1;
}
message CTransportValidation_NotifySyntheticEvent_Notification {
optional int32 sequence = 1;
}
message CTransportValidation_NotifyText_Notification {
optional string text = 1;
}
message CTransportValidation_RequestInvalidBool_Request {
}
message CTransportValidation_RequestInvalidBool_Response {
optional int32 before = 1;
optional bool output = 2;
optional int32 after = 3;
}
message CTransportValidation_RequestLargeNotification_Request {
optional uint32 data_size = 1;
}
message CTransportValidation_RequestLargeNotification_Response {
}
message CTransportValidation_ThreadedCount_Request {
optional int32 start_num = 1;
optional int32 end_num = 2;
}
message CTransportValidation_ThreadedCount_Response {
}
message CTransportValidation_TriggerSyntheticEvents_Request {
optional int32 count = 1;
}
message CTransportValidation_TriggerSyntheticEvents_Response {
}
message CTransportValidationClient_AddNumbers_Request {
repeated int32 numbers = 1;
}
message CTransportValidationClient_AddNumbers_Response {
optional int32 accumulated = 1;
}
service TransportValidation {
rpc AddNumbers (.CTransportValidation_AddNumbers_Request) returns (.CTransportValidation_AddNumbers_Response);
rpc AddNumbersStatic (.CTransportValidation_AddNumbers_Request) returns (.CTransportValidation_AddNumbers_Response);
rpc AppendToString (.CTransportValidation_AppendToString_Request) returns (.CTransportValidation_AppendToString_Response);
rpc CountOrderedBytes (.CTransportValidation_CountOrderedBytes_Request) returns (.CTransportValidation_CountOrderedBytes_Response);
rpc GetLargeResponse (.CTransportValidation_GetLargeResponse_Request) returns (.CTransportValidation_GetLargeResponse_Response);
rpc GetLastNotifyNumber (.CTransportValidation_GetLastNotifyNumber_Request) returns (.CTransportValidation_GetLastNotifyNumber_Response);
rpc NotifyCount (.CTransportValidation_NotifyCount_Notification) returns (.NoResponse);
rpc NotifyLarge (.CTransportValidation_NotifyLarge_Notification) returns (.NoResponse);
rpc NotifyNumber (.CTransportValidation_NotifyNumber_Notification) returns (.NoResponse);
rpc NotifySyntheticEvent (.CTransportValidation_NotifySyntheticEvent_Notification) returns (.NoResponse);
rpc NotifyText (.CTransportValidation_NotifyText_Notification) returns (.NoResponse);
rpc RequestInvalidBool (.CTransportValidation_RequestInvalidBool_Request) returns (.CTransportValidation_RequestInvalidBool_Response);
rpc RequestLargeNotification (.CTransportValidation_RequestLargeNotification_Request) returns (.CTransportValidation_RequestLargeNotification_Response);
rpc ThreadedCount (.CTransportValidation_ThreadedCount_Request) returns (.CTransportValidation_ThreadedCount_Response);
rpc TriggerSyntheticEvents (.CTransportValidation_TriggerSyntheticEvents_Request) returns (.CTransportValidation_TriggerSyntheticEvents_Response);
}
service TransportValidationClient {
rpc AddNumbers (.CTransportValidationClient_AddNumbers_Request) returns (.CTransportValidationClient_AddNumbers_Response);
}

View File

@@ -0,0 +1,170 @@
import "common_base.proto";
message CRemoveAuthenticatorViaChallengeContinue_Replacement_Token {
optional bytes shared_secret = 1;
optional fixed64 serial_number = 2;
optional string revocation_code = 3;
optional string uri = 4;
optional uint64 server_time = 5;
optional string account_name = 6;
optional string token_gid = 7;
optional bytes identity_secret = 8;
optional bytes secret_1 = 9;
optional int32 status = 10;
optional uint32 steamguard_scheme = 11;
optional fixed64 steamid = 12;
}
message CTwoFactor_AddAuthenticator_Request {
optional fixed64 steamid = 1;
optional uint64 authenticator_time = 2;
optional fixed64 serial_number = 3;
optional uint32 authenticator_type = 4;
optional string device_identifier = 5;
repeated string http_headers = 7;
optional uint32 version = 8 [default = 1];
}
message CTwoFactor_AddAuthenticator_Response {
optional bytes shared_secret = 1;
optional fixed64 serial_number = 2;
optional string revocation_code = 3;
optional string uri = 4;
optional uint64 server_time = 5;
optional string account_name = 6;
optional string token_gid = 7;
optional bytes identity_secret = 8;
optional bytes secret_1 = 9;
optional int32 status = 10;
optional string phone_number_hint = 11;
optional int32 confirm_type = 12;
}
message CTwoFactor_CreateEmergencyCodes_Response {
repeated string codes = 1;
}
message CTwoFactor_DestroyEmergencyCodes_Response {
}
message CTwoFactor_FinalizeAddAuthenticator_Request {
optional fixed64 steamid = 1;
optional string authenticator_code = 2;
optional uint64 authenticator_time = 3;
optional string activation_code = 4;
repeated string http_headers = 5;
optional bool validate_sms_code = 6;
}
message CTwoFactor_FinalizeAddAuthenticator_Response {
optional bool success = 1;
optional bool want_more = 2;
optional uint64 server_time = 3;
optional int32 status = 4;
}
message CTwoFactor_RemoveAuthenticator_Request {
optional string revocation_code = 2;
optional uint32 revocation_reason = 5;
optional uint32 steamguard_scheme = 6;
optional bool remove_all_steamguard_cookies = 7;
}
message CTwoFactor_RemoveAuthenticator_Response {
optional bool success = 1;
optional uint64 server_time = 3;
optional uint32 revocation_attempts_remaining = 5;
}
message CTwoFactor_RemoveAuthenticatorViaChallengeContinue_Request {
optional string sms_code = 1;
optional bool generate_new_token = 2;
optional uint32 version = 3 [default = 1];
}
message CTwoFactor_RemoveAuthenticatorViaChallengeContinue_Response {
optional bool success = 1;
optional .CRemoveAuthenticatorViaChallengeContinue_Replacement_Token replacement_token = 2;
}
message CTwoFactor_RemoveAuthenticatorViaChallengeStart_Request {
}
message CTwoFactor_RemoveAuthenticatorViaChallengeStart_Response {
optional bool success = 1;
}
message CTwoFactor_SendEmail_Request {
optional fixed64 steamid = 1;
optional uint32 email_type = 2;
optional bool include_activation_code = 3;
}
message CTwoFactor_SendEmail_Response {
}
message CTwoFactor_Status_Request {
optional fixed64 steamid = 1;
}
message CTwoFactor_Status_Response {
optional uint32 state = 1;
optional uint32 inactivation_reason = 2;
optional uint32 authenticator_type = 3;
optional bool authenticator_allowed = 4;
optional uint32 steamguard_scheme = 5;
optional string token_gid = 6;
optional bool email_validated = 7;
optional string device_identifier = 8;
optional uint32 time_created = 9;
optional uint32 revocation_attempts_remaining = 10;
optional string classified_agent = 11;
optional bool allow_external_authenticator = 12;
optional uint32 time_transferred = 13;
optional uint32 version = 14;
}
message CTwoFactor_Time_Request {
optional uint64 sender_time = 1;
}
message CTwoFactor_Time_Response {
optional uint64 server_time = 1;
optional uint64 skew_tolerance_seconds = 2;
optional uint64 large_time_jink = 3;
optional uint32 probe_frequency_seconds = 4;
optional uint32 adjusted_time_probe_frequency_seconds = 5;
optional uint32 hint_probe_frequency_seconds = 6;
optional uint32 sync_timeout = 7;
optional uint32 try_again_seconds = 8;
optional uint32 max_attempts = 9;
}
message CTwoFactor_UpdateTokenVersion_Request {
optional fixed64 steamid = 1;
optional uint32 version = 2;
optional bytes signature = 3;
}
message CTwoFactor_UpdateTokenVersion_Response {
}
message CTwoFactor_ValidateToken_Response {
optional bool valid = 1;
}
service TwoFactor {
rpc AddAuthenticator (.CTwoFactor_AddAuthenticator_Request) returns (.CTwoFactor_AddAuthenticator_Response);
rpc CreateEmergencyCodes (.NotImplemented) returns (.CTwoFactor_CreateEmergencyCodes_Response);
rpc DestroyEmergencyCodes (.NotImplemented) returns (.CTwoFactor_DestroyEmergencyCodes_Response);
rpc FinalizeAddAuthenticator (.CTwoFactor_FinalizeAddAuthenticator_Request) returns (.CTwoFactor_FinalizeAddAuthenticator_Response);
rpc QueryStatus (.CTwoFactor_Status_Request) returns (.CTwoFactor_Status_Response);
rpc QueryTime (.CTwoFactor_Time_Request) returns (.CTwoFactor_Time_Response);
rpc RemoveAuthenticator (.CTwoFactor_RemoveAuthenticator_Request) returns (.CTwoFactor_RemoveAuthenticator_Response);
rpc RemoveAuthenticatorViaChallengeContinue (.CTwoFactor_RemoveAuthenticatorViaChallengeContinue_Request) returns (.CTwoFactor_RemoveAuthenticatorViaChallengeContinue_Response);
rpc RemoveAuthenticatorViaChallengeStart (.CTwoFactor_RemoveAuthenticatorViaChallengeStart_Request) returns (.CTwoFactor_RemoveAuthenticatorViaChallengeStart_Response);
rpc SendEmail (.CTwoFactor_SendEmail_Request) returns (.CTwoFactor_SendEmail_Response);
rpc UpdateTokenVersion (.CTwoFactor_UpdateTokenVersion_Request) returns (.CTwoFactor_UpdateTokenVersion_Response);
rpc ValidateToken (.NotImplemented) returns (.CTwoFactor_ValidateToken_Response);
}

View File

@@ -0,0 +1,142 @@
message CUserAccount_CancelLicenseForApp_Request {
optional uint32 appid = 1;
}
message CUserAccount_CancelLicenseForApp_Response {
}
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_GetAccountLinkStatus_Request {
}
message CUserAccount_GetAccountLinkStatus_Response {
optional uint32 pwid = 1;
optional uint32 identity_verification = 2;
optional bool performed_age_verification = 3;
}
message CUserAccount_GetAvailableValveDiscountPromotions_Request {
optional string country_code = 1;
}
message CUserAccount_GetAvailableValveDiscountPromotions_Response {
repeated .CUserAccount_GetAvailableValveDiscountPromotions_Response_ValveDiscountPromotionDetails promotions = 1;
}
message CUserAccount_GetAvailableValveDiscountPromotions_Response_ValveDiscountPromotionDetails {
optional uint32 promotionid = 1;
optional string promotion_description = 2;
optional int64 minimum_cart_amount = 3;
optional int64 minimum_cart_amount_for_display = 4;
optional int64 discount_amount = 5;
optional int32 currency_code = 6;
optional int32 available_use_count = 7;
optional int32 promotional_discount_type = 8;
optional int32 loyalty_reward_id = 9;
optional string localized_name_token = 10;
optional int32 max_use_count = 11;
}
message CUserAccount_GetClientWalletDetails_Request {
optional bool include_balance_in_usd = 1;
optional int32 wallet_region = 2 [default = 1];
optional bool include_formatted_balance = 3;
}
message CUserAccount_GetFriendInviteTokens_Request {
}
message CUserAccount_GetFriendInviteTokens_Response {
repeated .CUserAccount_CreateFriendInviteToken_Response tokens = 1;
}
message CUserAccount_GetUserCountry_Request {
optional fixed64 steamid = 1;
}
message CUserAccount_GetUserCountry_Response {
optional string country = 1;
}
message CUserAccount_GetWalletDetails_Response {
optional bool has_wallet = 1;
optional string user_country_code = 2;
optional string wallet_country_code = 3;
optional string wallet_state = 4;
optional int64 balance = 5;
optional int64 delayed_balance = 6;
optional int32 currency_code = 7;
optional uint32 time_most_recent_txn = 8;
optional uint64 most_recent_txnid = 9;
optional int64 balance_in_usd = 10;
optional int64 delayed_balance_in_usd = 11;
optional bool has_wallet_in_other_regions = 12;
repeated int32 other_regions = 13;
optional string formatted_balance = 14;
optional string formatted_delayed_balance = 15;
optional int32 delayed_balance_available_min_time = 16;
optional int32 delayed_balance_available_max_time = 17;
optional int32 delayed_balance_newest_source = 18;
}
message CUserAccount_RedeemFriendInviteToken_Request {
optional fixed64 steamid = 1;
optional string invite_token = 2;
}
message CUserAccount_RedeemFriendInviteToken_Response {
}
message CUserAccount_RegisterCompatTool_Request {
optional uint32 compat_tool = 1;
}
message CUserAccount_RegisterCompatTool_Response {
}
message CUserAccount_RevokeFriendInviteToken_Request {
optional string invite_token = 1;
}
message CUserAccount_RevokeFriendInviteToken_Response {
}
message CUserAccount_ViewFriendInviteToken_Request {
optional fixed64 steamid = 1;
optional string invite_token = 2;
}
message CUserAccount_ViewFriendInviteToken_Response {
optional bool valid = 1;
optional uint64 steamid = 2;
optional uint64 invite_duration = 3;
}
service UserAccount {
rpc CancelLicenseForApp (.CUserAccount_CancelLicenseForApp_Request) returns (.CUserAccount_CancelLicenseForApp_Response);
rpc CreateFriendInviteToken (.CUserAccount_CreateFriendInviteToken_Request) returns (.CUserAccount_CreateFriendInviteToken_Response);
rpc GetAccountLinkStatus (.CUserAccount_GetAccountLinkStatus_Request) returns (.CUserAccount_GetAccountLinkStatus_Response);
rpc GetAvailableValveDiscountPromotions (.CUserAccount_GetAvailableValveDiscountPromotions_Request) returns (.CUserAccount_GetAvailableValveDiscountPromotions_Response);
rpc GetClientWalletDetails (.CUserAccount_GetClientWalletDetails_Request) returns (.CUserAccount_GetWalletDetails_Response);
rpc GetFriendInviteTokens (.CUserAccount_GetFriendInviteTokens_Request) returns (.CUserAccount_GetFriendInviteTokens_Response);
rpc GetUserCountry (.CUserAccount_GetUserCountry_Request) returns (.CUserAccount_GetUserCountry_Response);
rpc RedeemFriendInviteToken (.CUserAccount_RedeemFriendInviteToken_Request) returns (.CUserAccount_RedeemFriendInviteToken_Response);
rpc RegisterCompatTool (.CUserAccount_RegisterCompatTool_Request) returns (.CUserAccount_RegisterCompatTool_Response);
rpc RevokeFriendInviteToken (.CUserAccount_RevokeFriendInviteToken_Request) returns (.CUserAccount_RevokeFriendInviteToken_Response);
rpc ViewFriendInviteToken (.CUserAccount_ViewFriendInviteToken_Request) returns (.CUserAccount_ViewFriendInviteToken_Response);
}

View File

@@ -0,0 +1,34 @@
import "common_base.proto";
message CUserGameActivity_Event {
optional uint32 timestamp = 2;
optional int32 event_type = 3 [(.description) = "enum"];
optional uint32 event_sub_type = 4;
optional int64 data1 = 5;
optional int64 data2 = 6;
optional int64 data3 = 7;
optional int64 data4 = 8;
optional uint32 item_appid = 10;
optional uint64 item_contextid = 11;
optional uint64 item_assetid = 12;
optional bytes proto_data = 13;
}
message CUserGameActivity_GetActivity_Request {
optional fixed64 steamid = 1;
optional uint32 appid = 2;
optional int32 count = 3;
optional uint32 starttime = 4;
optional uint32 endtime = 5;
}
message CUserGameActivity_GetActivity_Response {
optional fixed64 steamid = 1;
optional uint32 appid = 2;
repeated .CUserGameActivity_Event events = 3;
}
service UserGameActivity {
rpc GetActivity (.CUserGameActivity_GetActivity_Request) returns (.CUserGameActivity_GetActivity_Response);
}

View File

@@ -0,0 +1,70 @@
message CUserGameNote {
optional string id = 1;
optional uint32 appid = 2;
optional string shortcut_name = 3;
optional uint32 shortcutid = 4;
optional uint32 ordinal = 5;
optional uint32 time_created = 6;
optional uint32 time_modified = 7;
optional string title = 8;
optional string content = 9;
}
message CUserGameNotes_DeleteNote_Request {
optional uint32 appid = 1;
optional string shortcut_name = 2;
optional uint32 shortcutid = 3;
optional string note_id = 4;
}
message CUserGameNotes_DeleteNote_Response {
}
message CUserGameNotes_GetGamesWithNotes_Request {
}
message CUserGameNotes_GetGamesWithNotes_Response {
repeated .CUserGameNotes_GetGamesWithNotes_Response_GameWithNotes games_with_notes = 1;
}
message CUserGameNotes_GetGamesWithNotes_Response_GameWithNotes {
optional uint32 appid = 1;
optional uint32 shortcutid = 2;
optional string shortcut_name = 3;
optional uint32 last_modified = 4;
optional uint32 note_count = 5;
}
message CUserGameNotes_GetNotesForGame_Request {
optional uint32 appid = 1;
optional string shortcut_name = 2;
optional uint32 shortcutid = 3;
optional bool include_content = 4;
}
message CUserGameNotes_GetNotesForGame_Response {
repeated .CUserGameNote notes = 1;
}
message CUserGameNotes_SaveNote_Request {
optional uint32 appid = 1;
optional string shortcut_name = 2;
optional uint32 shortcutid = 3;
optional string note_id = 4;
optional bool create_new = 5;
optional string title = 6;
optional string content = 7;
}
message CUserGameNotes_SaveNote_Response {
optional string note_id = 1;
}
service UserGameNotes {
rpc DeleteNote (.CUserGameNotes_DeleteNote_Request) returns (.CUserGameNotes_DeleteNote_Response);
rpc GetGamesWithNotes (.CUserGameNotes_GetGamesWithNotes_Request) returns (.CUserGameNotes_GetGamesWithNotes_Response);
rpc GetNotesForGame (.CUserGameNotes_GetNotesForGame_Request) returns (.CUserGameNotes_GetNotesForGame_Response);
rpc SaveNote (.CUserGameNotes_SaveNote_Request) returns (.CUserGameNotes_SaveNote_Response);
}

View File

@@ -0,0 +1,69 @@
message CUserNews_Event {
optional uint32 eventtype = 1;
optional uint32 eventtime = 2;
optional fixed64 steamid_actor = 3;
optional fixed64 steamid_target = 4;
optional fixed64 gameid = 5;
optional uint32 packageid = 6;
optional uint32 shortcutid = 7;
repeated string achievement_names = 8;
optional fixed64 clan_eventid = 9;
optional fixed64 clan_announcementid = 10;
optional fixed64 publishedfileid = 11;
optional uint32 event_last_mod_time = 12;
repeated uint32 appids = 13;
optional uint32 event_post_time = 14;
}
message CUserNews_GetAppDetailsSpotlight_Request {
optional uint32 appid = 1;
optional bool include_already_seen = 2;
}
message CUserNews_GetAppDetailsSpotlight_Response {
repeated .CUserNews_GetAppDetailsSpotlight_Response_FeaturedEvent events = 1;
}
message CUserNews_GetAppDetailsSpotlight_Response_FeaturedEvent {
optional uint32 event_type = 1;
optional uint32 event_time = 2;
optional fixed64 clan_id = 3;
optional fixed64 clan_announcementid = 4;
optional uint32 appid = 5;
optional uint32 rtime32_last_modified = 6;
}
message CUserNews_GetUserNews_Request {
optional uint32 count = 1;
optional uint32 starttime = 2;
optional uint32 endtime = 3;
optional string language = 4;
optional uint32 filterflags = 5;
optional uint32 filterappid = 6;
}
message CUserNews_GetUserNews_Response {
repeated .CUserNews_Event news = 1;
repeated .CUserNewsAchievementDisplayData achievement_display_data = 2;
}
message CUserNewsAchievementDisplayData {
optional uint32 appid = 1;
repeated .CUserNewsAchievementDisplayData_CAchievement achievements = 2;
}
message CUserNewsAchievementDisplayData_CAchievement {
optional string name = 1;
optional string display_name = 2;
optional string display_description = 3;
optional string icon = 4;
optional float unlocked_pct = 5;
optional bool hidden = 6;
}
service UserNews {
rpc GetAppDetailsSpotlight (.CUserNews_GetAppDetailsSpotlight_Request) returns (.CUserNews_GetAppDetailsSpotlight_Response);
rpc GetUserNews (.CUserNews_GetUserNews_Request) returns (.CUserNews_GetUserNews_Response);
}

View File

@@ -0,0 +1,103 @@
import "common_base.proto";
message CUserReviews_GetFriendsRecommendedApp_Request {
optional uint32 appid = 1;
}
message CUserReviews_GetFriendsRecommendedApp_Response {
repeated uint32 accountids_recommended = 1;
repeated uint32 accountids_not_recommended = 3;
}
message CUserReviews_GetIndividualRecommendations_Request {
repeated .CUserReviews_GetIndividualRecommendations_Request_RecommendationRequest requests = 1;
}
message CUserReviews_GetIndividualRecommendations_Request_RecommendationRequest {
optional uint64 steamid = 1;
optional uint32 appid = 2;
}
message CUserReviews_GetIndividualRecommendations_Response {
repeated .RecommendationDetails recommendations = 1;
}
message CUserReviews_Recommendation_LoyaltyReaction {
optional uint32 reaction_type = 1;
optional uint32 count = 2;
}
message CUserReviews_Update_Request {
optional uint64 recommendationid = 1;
optional string review_text = 2;
optional bool voted_up = 3;
optional bool is_public = 4;
optional string language = 5;
optional bool is_in_early_access = 6;
optional bool received_compensation = 7;
optional bool comments_disabled = 8;
optional bool hide_in_steam_china = 9;
}
message CUserReviews_Update_Response {
}
message RecommendationDetails {
optional uint64 recommendationid = 1;
optional uint64 steamid = 2;
optional uint32 appid = 3;
optional string review = 4;
optional uint32 time_created = 5;
optional uint32 time_updated = 6;
optional uint32 votes_up = 7;
optional uint32 votes_down = 8;
optional float vote_score = 9;
optional string language = 10;
optional uint32 comment_count = 11;
optional bool voted_up = 12;
optional bool is_public = 13;
optional bool moderator_hidden = 14;
optional int32 flagged_by_developer = 15 [(.description) = "enum"];
optional uint32 report_score = 16;
optional uint64 steamid_moderator = 17;
optional uint64 steamid_developer = 18;
optional uint64 steamid_dev_responder = 19;
optional string developer_response = 20;
optional uint32 time_developer_responded = 21;
optional bool developer_flag_cleared = 22;
optional bool written_during_early_access = 23;
optional uint32 votes_funny = 24;
optional bool received_compensation = 25;
optional bool unverified_purchase = 26;
repeated int32 review_qualities = 27 [(.description) = "enum"];
//optional int32 review_quality = 27 [(.description) = "enum"];
optional float weighted_vote_score = 28;
optional string moderation_note = 29;
optional int32 payment_method = 30;
optional int32 playtime_2weeks = 31;
optional int32 playtime_forever = 32;
optional int32 last_playtime = 33;
optional bool comments_disabled = 34;
optional int32 playtime_at_review = 35;
optional bool approved_for_china = 36;
optional int32 ban_check_result = 37 [(.description) = "enum"];
optional bool refunded = 38;
optional int32 account_score_spend = 39;
repeated .CUserReviews_Recommendation_LoyaltyReaction reactions = 40;
optional string ipaddress = 41;
optional bool hidden_in_steam_china = 42;
optional string steam_china_location = 43;
optional uint32 category_ascii_pct = 44;
optional uint32 category_meme_pct = 45;
optional uint32 category_offtopic_pct = 46;
optional uint32 category_uninformative_pct = 47;
optional uint32 category_votefarming_pct = 48;
optional int32 deck_playtime_at_review = 49;
}
service UserReviews {
rpc GetFriendsRecommendedApp (.CUserReviews_GetFriendsRecommendedApp_Request) returns (.CUserReviews_GetFriendsRecommendedApp_Response);
rpc GetIndividualRecommendations (.CUserReviews_GetIndividualRecommendations_Request) returns (.CUserReviews_GetIndividualRecommendations_Response);
rpc Update (.CUserReviews_Update_Request) returns (.CUserReviews_Update_Response);
}

View File

@@ -0,0 +1,50 @@
import "common_base.proto";
message CVideo_ClientGetVideoURL_Request {
optional uint64 video_id = 1;
optional uint32 client_cellid = 2;
}
message CVideo_ClientGetVideoURL_Response {
optional uint64 video_id = 1;
optional string video_url = 2;
}
message CVideo_GetVideoBookmarks_Request {
repeated uint32 appids = 1;
optional uint32 updated_since = 2;
}
message CVideo_GetVideoBookmarks_Response {
repeated .VideoBookmark bookmarks = 1;
}
message CVideo_SetVideoBookmark_Notification {
repeated .VideoBookmark bookmarks = 1;
}
message CVideo_UnlockedH264_Notification {
optional bytes encryption_key = 1;
}
message VideoBookmark {
optional uint32 app_id = 1;
optional uint32 playback_position_in_seconds = 2;
optional uint64 video_track_id = 3;
optional uint64 audio_track_id = 4;
optional uint64 timedtext_track_id = 5;
optional uint32 last_modified = 6;
optional bool hide_from_watch_history = 7 [default = false];
optional bool hide_from_library = 8 [default = false];
}
service Video {
rpc ClientGetVideoURL (.CVideo_ClientGetVideoURL_Request) returns (.CVideo_ClientGetVideoURL_Response);
rpc GetVideoBookmarks (.CVideo_GetVideoBookmarks_Request) returns (.CVideo_GetVideoBookmarks_Response);
rpc SetVideoBookmark (.CVideo_SetVideoBookmark_Notification) returns (.NoResponse);
}
service VideoClient {
rpc NotifyUnlockedH264 (.CVideo_UnlockedH264_Notification) returns (.NoResponse);
}

Some files were not shown because too many files have changed in this diff Show More