steamutils 1.3.69 → 1.3.71

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/SteamClient.js +1 -2
  2. package/index.js +192 -5
  3. package/package.json +1 -1
  4. package/protos/webui/common.proto +4024 -0
  5. package/protos/webui/common_base.proto +27 -0
  6. package/protos/webui/service_accountcart.proto +153 -0
  7. package/protos/webui/service_accountlinking.proto +27 -0
  8. package/protos/webui/service_accountprivacy.proto +42 -0
  9. package/protos/webui/service_accountprivateapps.proto +34 -0
  10. package/protos/webui/service_auction.proto +97 -0
  11. package/protos/webui/service_authentication.proto +222 -0
  12. package/protos/webui/service_authenticationsupport.proto +74 -0
  13. package/protos/webui/service_broadcast.proto +562 -0
  14. package/protos/webui/service_chat.proto +11 -0
  15. package/protos/webui/service_chatroom.proto +810 -0
  16. package/protos/webui/service_chatusability.proto +107 -0
  17. package/protos/webui/service_checkout.proto +84 -0
  18. package/protos/webui/service_clan.proto +41 -0
  19. package/protos/webui/service_clanchatrooms.proto +25 -0
  20. package/protos/webui/service_clanfaqs.proto +202 -0
  21. package/protos/webui/service_clientcomm.proto +151 -0
  22. package/protos/webui/service_clientmetrics.proto +22 -0
  23. package/protos/webui/service_cloud.proto +222 -0
  24. package/protos/webui/service_cloudconfigstore.proto +51 -0
  25. package/protos/webui/service_cloudgaming.proto +30 -0
  26. package/protos/webui/service_community.proto +365 -0
  27. package/protos/webui/service_dailydeal.proto +89 -0
  28. package/protos/webui/service_econ.proto +134 -0
  29. package/protos/webui/service_embedded.proto +24 -0
  30. package/protos/webui/service_experimentservice.proto +6 -0
  31. package/protos/webui/service_familygroups.proto +355 -0
  32. package/protos/webui/service_fovasvideo.proto +15 -0
  33. package/protos/webui/service_friendmessages.proto +133 -0
  34. package/protos/webui/service_friendslist.proto +70 -0
  35. package/protos/webui/service_gamenotes.proto +15 -0
  36. package/protos/webui/service_gamerecording.proto +265 -0
  37. package/protos/webui/service_gamerecordingclip.proto +85 -0
  38. package/protos/webui/service_gamerecordingdebug.proto +52 -0
  39. package/protos/webui/service_helprequestlogs.proto +16 -0
  40. package/protos/webui/service_loyaltyrewards.proto +252 -0
  41. package/protos/webui/service_marketingmessages.proto +215 -0
  42. package/protos/webui/service_mobileapp.proto +18 -0
  43. package/protos/webui/service_mobileauth.proto +24 -0
  44. package/protos/webui/service_mobiledevice.proto +26 -0
  45. package/protos/webui/service_mobileperaccount.proto +31 -0
  46. package/protos/webui/service_news.proto +110 -0
  47. package/protos/webui/service_parental.proto +258 -0
  48. package/protos/webui/service_partnermembershipinvite.proto +34 -0
  49. package/protos/webui/service_partnerstorebrowse.proto +28 -0
  50. package/protos/webui/service_phone.proto +51 -0
  51. package/protos/webui/service_physicalgoods.proto +15 -0
  52. package/protos/webui/service_player.proto +918 -0
  53. package/protos/webui/service_promotioneventinvites.proto +109 -0
  54. package/protos/webui/service_promotionplanning.proto +186 -0
  55. package/protos/webui/service_promotionstats.proto +23 -0
  56. package/protos/webui/service_publishedfile.proto +714 -0
  57. package/protos/webui/service_publishing.proto +200 -0
  58. package/protos/webui/service_quest.proto +127 -0
  59. package/protos/webui/service_salefeature.proto +373 -0
  60. package/protos/webui/service_saleitemrewards.proto +54 -0
  61. package/protos/webui/service_shoppingcart.proto +152 -0
  62. package/protos/webui/service_steamawards.proto +76 -0
  63. package/protos/webui/service_steamcharts.proto +75 -0
  64. package/protos/webui/service_steamengine.proto +36 -0
  65. package/protos/webui/service_steamlearn.proto +876 -0
  66. package/protos/webui/service_steamnotification.proto +73 -0
  67. package/protos/webui/service_steamtv.proto +495 -0
  68. package/protos/webui/service_steamvrvoicechat.proto +67 -0
  69. package/protos/webui/service_steamvrwebrtc.proto +48 -0
  70. package/protos/webui/service_storagedevicemanager.proto +104 -0
  71. package/protos/webui/service_store.proto +359 -0
  72. package/protos/webui/service_storeappsimilarity.proto +76 -0
  73. package/protos/webui/service_storebrowse.proto +103 -0
  74. package/protos/webui/service_storemarketing.proto +44 -0
  75. package/protos/webui/service_storequery.proto +103 -0
  76. package/protos/webui/service_storesales.proto +87 -0
  77. package/protos/webui/service_storetopsellers.proto +44 -0
  78. package/protos/webui/service_systemmanager.proto +11 -0
  79. package/protos/webui/service_test_transporterror.proto +6 -0
  80. package/protos/webui/service_transportauth.proto +17 -0
  81. package/protos/webui/service_transportvalidation.proto +69 -0
  82. package/protos/webui/service_twofactor.proto +170 -0
  83. package/protos/webui/service_useraccount.proto +142 -0
  84. package/protos/webui/service_usergameactivity.proto +34 -0
  85. package/protos/webui/service_usergamenotes.proto +70 -0
  86. package/protos/webui/service_usernews.proto +68 -0
  87. package/protos/webui/service_userreviews.proto +97 -0
  88. package/protos/webui/service_video.proto +50 -0
  89. package/protos/webui/service_videoclip.proto +62 -0
  90. package/protos/webui/service_voicechat.proto +139 -0
  91. package/protos/webui/service_webrtc.proto +52 -0
@@ -0,0 +1,200 @@
1
+ import "common_base.proto";
2
+
3
+ message CPartnerAppOptInData {
4
+ optional uint32 appid = 1;
5
+ optional bool opt_in = 2;
6
+ optional string opt_in_name = 3;
7
+ optional string jsondata = 4;
8
+ optional int32 type = 5 [(.description) = "enum"];
9
+ optional uint32 accountid_add = 6;
10
+ optional uint32 time_opted_in = 7;
11
+ optional uint32 time_updated = 8;
12
+ optional uint32 accountid_lastmod = 9;
13
+ optional bool invited = 10;
14
+ optional uint32 accountid_remove = 11;
15
+ optional uint32 time_opted_out = 12;
16
+ optional bool pruned = 13;
17
+ optional uint32 accountid_prune = 14;
18
+ optional uint32 time_pruned = 15;
19
+ optional bool additional_featuring = 16;
20
+ optional uint32 feature_day = 17;
21
+ optional uint32 accountid_invited = 18;
22
+ optional bool no_planned_discount = 19;
23
+ optional uint32 pending_review = 20;
24
+ optional int32 appeal_state = 21 [(.description) = "enum"];
25
+ optional uint32 accountid_appeal = 22;
26
+ optional uint32 time_appeal_decision = 23;
27
+ }
28
+
29
+ message CPartnerAppOptInEmailDef {
30
+ optional string opt_in_name = 1;
31
+ optional fixed64 targeting_flag = 2;
32
+ optional fixed64 settings_flag = 3;
33
+ optional string email_templates = 4;
34
+ optional uint32 start_rtime = 5;
35
+ optional uint32 end_rtime = 6;
36
+ optional .CPartnerAppOptInEmailStats stats = 7;
37
+ optional uint32 creator_accountid = 8;
38
+ optional uint32 create_time = 9;
39
+ optional uint32 last_update_time = 10;
40
+ optional fixed64 email_def_id = 11;
41
+ optional bool completed = 12;
42
+ optional bool aborted = 13;
43
+ optional bool deleted = 14;
44
+ optional bool reviewed = 15;
45
+ }
46
+
47
+ message CPartnerAppOptInEmailStats {
48
+ optional uint32 accounts_examined = 1;
49
+ optional uint32 accounts_emailed = 2;
50
+ optional uint32 accounts_not_emailed_opted_out = 3;
51
+ optional uint32 accounts_email_failed = 4;
52
+ optional bool completed = 5;
53
+ optional uint32 rt_last_updated = 6;
54
+ }
55
+
56
+ message CPartnerOptInEmailTracking {
57
+ optional uint32 accountid = 1;
58
+ optional uint32 appid = 2;
59
+ optional uint32 partnerid = 3;
60
+ optional uint32 rtime_notified = 4;
61
+ optional bool ignored_unverified_email = 5;
62
+ optional bool ignored_email_optout = 6;
63
+ optional uint32 status = 7;
64
+ optional uint32 send_rtime = 8;
65
+ }
66
+
67
+ message CPublishing_CreatePartnerAppOptInEmail_Request {
68
+ optional string opt_in_name = 1;
69
+ optional fixed64 targeting_flag = 2;
70
+ optional fixed64 settings_flag = 3;
71
+ optional string email_templates = 4;
72
+ optional uint32 start_rtime = 5 [default = 0];
73
+ optional uint32 end_rtime = 6 [default = 0];
74
+ }
75
+
76
+ message CPublishing_CreatePartnerAppOptInEmail_Response {
77
+ optional fixed64 email_def_id = 1;
78
+ }
79
+
80
+ message CPublishing_GetEstimatePartnerAppOptInEmail_Request {
81
+ optional fixed64 email_def_id = 1;
82
+ }
83
+
84
+ message CPublishing_GetEstimatePartnerAppOptInEmail_Response {
85
+ optional .CPartnerAppOptInEmailStats stats = 1;
86
+ }
87
+
88
+ message CPublishing_GetOptInAppealsSummaryStats_Request {
89
+ repeated string opt_in_names = 1;
90
+ }
91
+
92
+ message CPublishing_GetOptInAppealsSummaryStats_Response {
93
+ repeated .CPublishing_GetOptInAppealsSummaryStats_Response_CSummary summary = 1;
94
+ }
95
+
96
+ message CPublishing_GetOptInAppealsSummaryStats_Response_CSummary {
97
+ optional string opt_in_name = 1;
98
+ optional uint32 open_appeals = 2;
99
+ optional uint32 reject_appeals = 3;
100
+ optional uint32 accepted_appeals = 4;
101
+ }
102
+
103
+ message CPublishing_GetOptInEmailTracking_Request {
104
+ optional fixed64 email_def_id = 1;
105
+ }
106
+
107
+ message CPublishing_GetOptInEmailTracking_Response {
108
+ optional fixed64 email_def_id = 1;
109
+ repeated .CPartnerOptInEmailTracking results = 2;
110
+ }
111
+
112
+ message CPublishing_GetPartnerAppOptInEmailDefAndStats_Request {
113
+ optional string opt_in_name = 1;
114
+ }
115
+
116
+ message CPublishing_GetPartnerAppOptInEmailDefAndStats_Response {
117
+ repeated .CPartnerAppOptInEmailDef defs = 1;
118
+ }
119
+
120
+ message CPublishing_GetPartnerOptInInvites_Response {
121
+ repeated .CPartnerAppOptInData data = 1;
122
+ }
123
+
124
+ message CPublishing_GetPartnerPaidGivenPackageList_Request {
125
+ repeated uint32 packageids = 1;
126
+ }
127
+
128
+ message CPublishing_GetPartnerPaidGivenPackageList_Response {
129
+ repeated .CPublishing_GetPartnerPaidGivenPackageList_Response_CPackageAndPartnerPair paid = 1;
130
+ }
131
+
132
+ message CPublishing_GetPartnerPaidGivenPackageList_Response_CPackageAndPartnerPair {
133
+ optional uint32 partnerid = 1;
134
+ optional uint32 packageid = 2;
135
+ }
136
+
137
+ message CPublishing_GetSinglePartnerAppOptIns_Request {
138
+ optional uint32 appid = 1;
139
+ }
140
+
141
+ message CPublishing_GetSinglePartnerAppOptIns_Response {
142
+ repeated .CPartnerAppOptInData data = 1;
143
+ }
144
+
145
+ message CPublishing_SendPartnerAppOptInEmailAndWait_Request {
146
+ optional fixed64 email_def_id = 1;
147
+ optional bool force_resend = 2;
148
+ }
149
+
150
+ message CPublishing_SendPartnerAppOptInEmailAndWait_Response {
151
+ optional .CPartnerAppOptInEmailStats results = 1;
152
+ }
153
+
154
+ message CPublishing_SetFeaturingOnPartnerAppOptIn_Request {
155
+ repeated uint32 appids = 1;
156
+ optional bool additional_featuring = 2 [default = true];
157
+ optional string opt_in_name = 3;
158
+ }
159
+
160
+ message CPublishing_SetFeaturingOnPartnerAppOptIn_Response {
161
+ repeated uint32 appids = 1;
162
+ }
163
+
164
+ message CPublishing_TestFirePartnerAppOptInEmail_Request {
165
+ optional fixed64 email_def_id = 1;
166
+ optional uint32 appid = 2;
167
+ optional uint32 partnerid = 3;
168
+ }
169
+
170
+ message CPublishing_TestFirePartnerAppOptInEmail_Response {
171
+ }
172
+
173
+ message CPublishing_UpdatePartnerAppOptInEmail_Request {
174
+ optional fixed64 email_def_id = 1;
175
+ optional fixed64 targeting_flag = 2;
176
+ optional fixed64 settings_flag = 3;
177
+ optional string email_templates = 4;
178
+ optional uint32 start_rtime = 5 [default = 0];
179
+ optional uint32 end_rtime = 6 [default = 0];
180
+ optional bool reviewed = 7 [default = false];
181
+ }
182
+
183
+ message CPublishing_UpdatePartnerAppOptInEmail_Response {
184
+ }
185
+
186
+ service Publishing {
187
+ rpc CreatePartnerAppOptInEmails (.CPublishing_CreatePartnerAppOptInEmail_Request) returns (.CPublishing_CreatePartnerAppOptInEmail_Response);
188
+ rpc GetEstimatePartnerAppOptInEmail (.CPublishing_GetEstimatePartnerAppOptInEmail_Request) returns (.CPublishing_GetEstimatePartnerAppOptInEmail_Response);
189
+ rpc GetOptInAppealsSummaryStats (.CPublishing_GetOptInAppealsSummaryStats_Request) returns (.CPublishing_GetOptInAppealsSummaryStats_Response);
190
+ rpc GetOptInEmailTracking (.CPublishing_GetOptInEmailTracking_Request) returns (.CPublishing_GetOptInEmailTracking_Response);
191
+ rpc GetPartnerAppOptInEmailDefAndStats (.CPublishing_GetPartnerAppOptInEmailDefAndStats_Request) returns (.CPublishing_GetPartnerAppOptInEmailDefAndStats_Response);
192
+ rpc GetPartnerOptInInvites (.NotImplemented) returns (.CPublishing_GetPartnerOptInInvites_Response);
193
+ rpc GetPartnerPaidGivenPackageList (.CPublishing_GetPartnerPaidGivenPackageList_Request) returns (.CPublishing_GetPartnerPaidGivenPackageList_Response);
194
+ rpc GetSinglePartnerAppOptIn (.CPublishing_GetSinglePartnerAppOptIns_Request) returns (.CPublishing_GetSinglePartnerAppOptIns_Response);
195
+ rpc SendPartnerOptInEmailAndWait (.CPublishing_SendPartnerAppOptInEmailAndWait_Request) returns (.CPublishing_SendPartnerAppOptInEmailAndWait_Response);
196
+ rpc SetFeaturingOnPartnerAppOptIn (.CPublishing_SetFeaturingOnPartnerAppOptIn_Request) returns (.CPublishing_SetFeaturingOnPartnerAppOptIn_Response);
197
+ rpc TestFirePartnerAppOptInEmail (.CPublishing_TestFirePartnerAppOptInEmail_Request) returns (.CPublishing_TestFirePartnerAppOptInEmail_Response);
198
+ rpc UpdatePartnerAppOptInEmails (.CPublishing_UpdatePartnerAppOptInEmail_Request) returns (.CPublishing_UpdatePartnerAppOptInEmail_Response);
199
+ }
200
+
@@ -0,0 +1,127 @@
1
+ import "common_base.proto";
2
+
3
+ message CQuest_ActivateProfileModifierItem_Request {
4
+ optional uint32 appid = 1;
5
+ optional uint64 communityitemid = 2;
6
+ optional bool activate = 3;
7
+ }
8
+
9
+ message CQuest_ActivateProfileModifierItem_Response {
10
+ }
11
+
12
+ message CQuest_CommunityItem {
13
+ optional uint64 communityitemid = 1;
14
+ optional uint32 item_type = 2;
15
+ optional uint32 appid = 3;
16
+ optional uint32 owner = 4;
17
+ repeated .CQuest_CommunityItem_Attribute attributes = 5;
18
+ optional bool used = 6;
19
+ optional uint32 owner_origin = 7;
20
+ optional int64 amount = 8;
21
+ }
22
+
23
+ message CQuest_CommunityItem_Attribute {
24
+ optional uint32 attributeid = 1;
25
+ optional uint64 value = 2;
26
+ }
27
+
28
+ message CQuest_GetCommunityInventory_Request {
29
+ repeated uint32 filter_appids = 1;
30
+ }
31
+
32
+ message CQuest_GetCommunityInventory_Response {
33
+ repeated .CQuest_CommunityItem items = 1;
34
+ }
35
+
36
+ message CQuest_GetCommunityItemDefinitions_Request {
37
+ optional uint32 appid = 1;
38
+ optional uint32 item_type = 3;
39
+ optional string language = 4;
40
+ optional uint64 broadcast_channel_id = 5;
41
+ optional bool keyvalues_as_json = 6;
42
+ }
43
+
44
+ message CQuest_GetCommunityItemDefinitions_Response {
45
+ repeated .CQuest_GetCommunityItemDefinitions_Response_ItemDefinition item_definitions = 1;
46
+ }
47
+
48
+ message CQuest_GetCommunityItemDefinitions_Response_ItemDefinition {
49
+ optional uint32 item_type = 1;
50
+ optional uint32 appid = 2;
51
+ optional string item_name = 3;
52
+ optional string item_title = 4;
53
+ optional string item_description = 5;
54
+ optional string item_image_small = 6;
55
+ optional string item_image_large = 7;
56
+ optional string item_key_values = 8;
57
+ optional uint32 item_series = 9;
58
+ optional uint32 item_class = 10;
59
+ optional uint32 editor_accountid = 11;
60
+ optional bool active = 12;
61
+ optional string item_image_composed = 13;
62
+ optional string item_image_composed_foil = 14;
63
+ optional bool deleted = 15;
64
+ optional uint32 item_last_changed = 16;
65
+ optional uint64 broadcast_channel_id = 17;
66
+ optional string item_movie_webm = 18;
67
+ optional string item_movie_mp4 = 19;
68
+ optional string item_movie_webm_small = 20;
69
+ optional string item_movie_mp4_small = 21;
70
+ optional string item_internal_name = 22;
71
+ }
72
+
73
+ message CQuest_GetNumTradingCardsEarned_Request {
74
+ optional uint32 timestamp_start = 1 [default = 0];
75
+ optional uint32 timestamp_end = 2 [default = 4294967295];
76
+ }
77
+
78
+ message CQuest_GetNumTradingCardsEarned_Response {
79
+ optional uint32 num_trading_cards = 1;
80
+ }
81
+
82
+ message CQuest_SetVirtualItemRewardDefinition_Request {
83
+ optional int32 eventid = 1 [(.description) = "enum"];
84
+ repeated .CVirtualItemRewardDefinition itemsdefs = 2;
85
+ optional int32 action = 3 [(.description) = "enum"];
86
+ }
87
+
88
+ message CQuest_SetVirtualItemRewardDefinition_Response {
89
+ }
90
+
91
+ message CQuest_VirtualItemRewardDefinition_Request {
92
+ optional int32 eventid = 1 [(.description) = "enum"];
93
+ optional bool include_inactive = 2;
94
+ }
95
+
96
+ message CQuest_VirtualItemRewardDefinition_Response {
97
+ repeated .CVirtualItemRewardDefinition rewards = 1;
98
+ }
99
+
100
+ message CVirtualItemRewardDefinition {
101
+ optional int32 eventid = 1 [(.description) = "enum"];
102
+ optional uint32 item_bucket = 2;
103
+ optional uint32 appid = 3;
104
+ optional bool active = 4;
105
+ optional uint32 rarity = 5;
106
+ optional uint32 package_to_grant = 6;
107
+ optional fixed64 game_item_id = 7;
108
+ optional int32 community_item_class = 8;
109
+ optional uint32 community_item_type = 9;
110
+ optional uint32 loyalty_point_type = 10;
111
+ optional int64 amount = 11;
112
+ optional uint32 rtime_time_active = 12;
113
+ optional uint32 loyalty_reward_defid = 13;
114
+ optional uint32 user_badge_to_grant = 14;
115
+ optional uint32 user_badge_level = 15;
116
+ optional uint32 virtual_item_def_id = 16;
117
+ }
118
+
119
+ service Quest {
120
+ rpc ActivateProfileModifierItem (.CQuest_ActivateProfileModifierItem_Request) returns (.CQuest_ActivateProfileModifierItem_Response);
121
+ rpc GetCommunityInventory (.CQuest_GetCommunityInventory_Request) returns (.CQuest_GetCommunityInventory_Response);
122
+ rpc GetCommunityItemDefinitions (.CQuest_GetCommunityItemDefinitions_Request) returns (.CQuest_GetCommunityItemDefinitions_Response);
123
+ rpc GetNumTradingCardsEarned (.CQuest_GetNumTradingCardsEarned_Request) returns (.CQuest_GetNumTradingCardsEarned_Response);
124
+ rpc GetVirtualItemRewardDefinition (.CQuest_VirtualItemRewardDefinition_Request) returns (.CQuest_VirtualItemRewardDefinition_Response);
125
+ rpc SetVirtualItemRewardDefinition (.CQuest_SetVirtualItemRewardDefinition_Request) returns (.CQuest_SetVirtualItemRewardDefinition_Response);
126
+ }
127
+
@@ -0,0 +1,373 @@
1
+ import "common_base.proto";
2
+
3
+ message CAchievementDetails {
4
+ optional uint32 statid = 1;
5
+ optional uint32 fieldid = 2;
6
+ optional string achievement_name_internal = 3;
7
+ optional uint32 rtime_unlocked = 4;
8
+ }
9
+
10
+ message CFriendSharedYearInView {
11
+ optional fixed64 steamid = 1;
12
+ optional int32 privacy_state = 3 [(.description) = "enum"];
13
+ optional uint32 rt_privacy_updated = 4;
14
+ }
15
+
16
+ message CGameAchievements {
17
+ optional uint32 appid = 1;
18
+ repeated .CAchievementDetails achievements = 2;
19
+ optional uint32 all_time_unlocked_achievements = 3;
20
+ optional bool unlocked_more_in_future = 4;
21
+ }
22
+
23
+ message CGamePlaytimeStats {
24
+ optional uint32 appid = 1;
25
+ optional .CPlaytimeStats stats = 2;
26
+ optional .CPlaytimeStreak playtime_streak = 3;
27
+ optional .CPlaytimeRanks playtime_ranks = 4;
28
+ optional uint32 rtime_first_played = 5;
29
+ optional .CPlaytimeStats relative_game_stats = 6;
30
+ }
31
+
32
+ message CGameRank {
33
+ optional uint32 appid = 1;
34
+ optional uint32 rank = 2;
35
+ }
36
+
37
+ message CGameRankings {
38
+ optional .CRankingCategory overall_ranking = 1;
39
+ optional .CRankingCategory vr_ranking = 2;
40
+ optional .CRankingCategory deck_ranking = 3;
41
+ optional .CRankingCategory controller_ranking = 4;
42
+ optional .CRankingCategory linux_ranking = 5;
43
+ optional .CRankingCategory mac_ranking = 6;
44
+ optional .CRankingCategory windows_ranking = 7;
45
+ }
46
+
47
+ message CGameSummary {
48
+ optional uint32 appid = 1;
49
+ optional bool new_this_year = 2;
50
+ optional uint32 rtime_first_played_lifetime = 3;
51
+ optional bool demo = 4;
52
+ optional bool playtest = 5;
53
+ optional bool played_during_early_access = 6;
54
+ optional bool played_vr = 7;
55
+ optional bool played_deck = 8;
56
+ optional bool played_controller = 9;
57
+ optional bool played_linux = 10;
58
+ optional bool played_mac = 11;
59
+ optional bool played_windows = 12;
60
+ optional uint32 total_playtime_percentagex100 = 13;
61
+ optional uint32 total_sessions = 14;
62
+ optional uint32 rtime_release_date = 15;
63
+ }
64
+
65
+ message CGlobalPercentiles {
66
+ optional uint32 median_achievements = 1;
67
+ optional uint32 median_games = 2;
68
+ optional uint32 median_streak = 3;
69
+ }
70
+
71
+ message CGlobalPlaytimeDistribution {
72
+ optional uint32 new_releases = 1;
73
+ optional uint32 recent_releases = 2;
74
+ optional uint32 classic_releases = 3;
75
+ optional uint32 recent_cutoff_year = 4;
76
+ }
77
+
78
+ message CMonthlyPlaytimeStats {
79
+ optional uint32 rtime_month = 1;
80
+ optional .CPlaytimeStats stats = 2;
81
+ optional .CPlaytimeStreak playtime_streak = 3;
82
+ repeated .CGamePlaytimeStats appid = 4;
83
+ optional .CPlaytimeStats relative_monthly_stats = 5;
84
+ repeated .CSimpleGameSummary game_summary = 6;
85
+ }
86
+
87
+ message CMonthlyProgress {
88
+ optional uint32 year = 1;
89
+ optional uint32 month = 2;
90
+ optional uint32 rt_processing_start = 3;
91
+ optional uint32 rt_queue_complete = 4;
92
+ optional uint32 rt_queue_emptied = 5;
93
+ optional uint32 rt_platform_summary = 6;
94
+ optional uint32 accounts_queued = 7;
95
+ optional uint32 largest_account_id = 8;
96
+ }
97
+
98
+ message CPlaytimeByNumbers {
99
+ optional uint32 screenshots_shared = 1;
100
+ optional uint32 gifts_sent = 2;
101
+ optional uint32 loyalty_reactions = 3;
102
+ optional uint32 written_reviews = 4;
103
+ optional uint32 guides_submitted = 5;
104
+ optional uint32 workshop_contributions = 6;
105
+ optional uint32 badges_earned = 7;
106
+ optional uint32 friends_added = 8;
107
+ optional uint32 forum_posts = 9;
108
+ optional uint32 workshop_subscriptions = 10;
109
+ optional uint32 guide_subscribers = 11;
110
+ optional uint32 workshop_subscribers = 12;
111
+ optional uint32 games_played_pct = 13;
112
+ optional uint32 achievements_pct = 14;
113
+ optional uint32 game_streak_pct = 15;
114
+ optional uint32 games_played_avg = 16;
115
+ optional uint32 achievements_avg = 17;
116
+ optional uint32 game_streak_avg = 18;
117
+ }
118
+
119
+ message CPlaytimeRanks {
120
+ optional uint32 overall_rank = 1;
121
+ optional uint32 vr_rank = 2;
122
+ optional uint32 deck_rank = 3;
123
+ optional uint32 controller_rank = 4;
124
+ optional uint32 linux_rank = 5;
125
+ optional uint32 mac_rank = 6;
126
+ optional uint32 windows_rank = 7;
127
+ }
128
+
129
+ message CPlaytimeStats {
130
+ optional uint32 total_playtime_seconds = 1;
131
+ optional uint32 total_sessions = 20;
132
+ optional uint32 vr_sessions = 21;
133
+ optional uint32 deck_sessions = 22;
134
+ optional uint32 controller_sessions = 23;
135
+ optional uint32 linux_sessions = 24;
136
+ optional uint32 macos_sessions = 25;
137
+ optional uint32 windows_sessions = 26;
138
+ optional uint32 total_playtime_percentagex100 = 27;
139
+ optional uint32 vr_playtime_percentagex100 = 28;
140
+ optional uint32 deck_playtime_percentagex100 = 29;
141
+ optional uint32 controller_playtime_percentagex100 = 30;
142
+ optional uint32 linux_playtime_percentagex100 = 31;
143
+ optional uint32 macos_playtime_percentagex100 = 32;
144
+ optional uint32 windows_playtime_percentagex100 = 33;
145
+ }
146
+
147
+ message CPlaytimeStreak {
148
+ optional uint32 longest_consecutive_days = 1;
149
+ optional uint32 rtime_start = 2;
150
+ repeated .CPlaytimeStreakGame streak_games = 3;
151
+ }
152
+
153
+ message CPlaytimeStreakGame {
154
+ optional uint32 appid = 1;
155
+ }
156
+
157
+ message CRankingCategory {
158
+ optional string category = 1;
159
+ repeated .CGameRank rankings = 2;
160
+ }
161
+
162
+ message CSaleFeature_GetFriendsSharedYearInReview_Request {
163
+ optional fixed64 steamid = 1;
164
+ optional uint32 year = 2;
165
+ optional bool return_private = 3;
166
+ }
167
+
168
+ message CSaleFeature_GetFriendsSharedYearInReview_Response {
169
+ repeated .CFriendSharedYearInView friend_shares = 1;
170
+ optional uint32 year = 2;
171
+ }
172
+
173
+ message CSaleFeature_GetUpdateProcessingProgress_Request {
174
+ optional uint32 year = 1;
175
+ }
176
+
177
+ message CSaleFeature_GetUpdateProcessingProgress_Response {
178
+ repeated .CMonthlyProgress results = 1;
179
+ }
180
+
181
+ message CSaleFeature_GetUserActionData_Request {
182
+ optional fixed64 steamid = 1;
183
+ optional fixed64 gid = 2;
184
+ optional int32 type = 3 [(.description) = "enum"];
185
+ }
186
+
187
+ message CSaleFeature_GetUserActionData_Response {
188
+ optional string jsondata = 1;
189
+ }
190
+
191
+ message CSaleFeature_GetUserSharingPermissions_Request {
192
+ optional fixed64 steamid = 1;
193
+ optional uint32 year = 2;
194
+ }
195
+
196
+ message CSaleFeature_GetUserSharingPermissions_Response {
197
+ optional int32 privacy_state = 1 [(.description) = "enum"];
198
+ optional bool generated_value = 2;
199
+ optional fixed64 steamid = 3;
200
+ optional uint32 rt_privacy_updated = 4;
201
+ }
202
+
203
+ message CSaleFeature_GetUserYearAchievements_Request {
204
+ optional fixed64 steamid = 1;
205
+ optional uint32 year = 2;
206
+ repeated uint32 appids = 3;
207
+ optional bool total_only = 4;
208
+ }
209
+
210
+ message CSaleFeature_GetUserYearAchievements_Response {
211
+ repeated .CGameAchievements game_achievements = 1;
212
+ optional uint32 total_achievements = 2;
213
+ optional uint32 total_rare_achievements = 3;
214
+ optional uint32 total_games_with_achievements = 4;
215
+ }
216
+
217
+ message CSaleFeature_GetUserYearInReview_Request {
218
+ optional fixed64 steamid = 1;
219
+ optional uint32 year = 2;
220
+ optional bool force_regenerate = 3;
221
+ optional int32 access_source = 4;
222
+ }
223
+
224
+ message CSaleFeature_GetUserYearInReview_Response {
225
+ optional .CUserYearInReviewStats stats = 1;
226
+ optional .CYearInReviewPerformanceStats performance_stats = 2;
227
+ optional .CGlobalPercentiles percentiles = 3;
228
+ optional .CGlobalPlaytimeDistribution distribution = 4;
229
+ }
230
+
231
+ message CSaleFeature_GetUserYearInReviewShareImage_Request {
232
+ optional fixed64 steamid = 1;
233
+ optional uint32 year = 2;
234
+ optional string language = 3;
235
+ }
236
+
237
+ message CSaleFeature_GetUserYearInReviewShareImage_Response {
238
+ repeated .CSaleFeature_GetUserYearInReviewShareImage_Response_Image images = 1;
239
+ }
240
+
241
+ message CSaleFeature_GetUserYearInReviewShareImage_Response_Image {
242
+ optional string name = 1;
243
+ optional string url_path = 2;
244
+ }
245
+
246
+ message CSaleFeature_GetUserYearScreenshots_Request {
247
+ optional fixed64 steamid = 1;
248
+ optional uint32 year = 2;
249
+ repeated uint32 appids = 3;
250
+ }
251
+
252
+ message CSaleFeature_GetUserYearScreenshots_Response {
253
+ repeated .CSaleFeature_GetUserYearScreenshots_Response_ScreenshotsByApp apps = 1;
254
+ }
255
+
256
+ message CSaleFeature_GetUserYearScreenshots_Response_Screenshot {
257
+ optional string image_url = 1;
258
+ optional string preview_url = 2;
259
+ optional uint32 image_width = 3;
260
+ optional uint32 image_height = 4;
261
+ optional bool maybe_inappropriate_sex = 5;
262
+ optional bool maybe_inappropriate_violence = 6;
263
+ optional uint32 visibility = 7;
264
+ optional bool spoiler_tag = 8;
265
+ }
266
+
267
+ message CSaleFeature_GetUserYearScreenshots_Response_ScreenshotsByApp {
268
+ optional uint32 appid = 1;
269
+ repeated .CSaleFeature_GetUserYearScreenshots_Response_Screenshot screenshots = 2;
270
+ }
271
+
272
+ message CSaleFeature_GetYIRCurrentMonthlySummary_Request {
273
+ optional fixed64 steamid = 1;
274
+ }
275
+
276
+ message CSaleFeature_GetYIRCurrentMonthlySummary_Response {
277
+ optional uint32 year = 1;
278
+ optional uint32 month = 2;
279
+ optional uint32 games_played = 4;
280
+ optional uint32 top_played_appid = 5;
281
+ optional uint32 longest_streak_days = 6;
282
+ optional uint32 rt_streak_start = 7;
283
+ optional uint32 achievements = 8;
284
+ optional uint32 screenshots = 9;
285
+ }
286
+
287
+ message CSaleFeature_SetUserActionData_Request {
288
+ optional fixed64 steamid = 1;
289
+ optional fixed64 gid = 2;
290
+ optional int32 type = 3 [(.description) = "enum"];
291
+ optional string jsondata = 4;
292
+ }
293
+
294
+ message CSaleFeature_SetUserActionData_Response {
295
+ }
296
+
297
+ message CSaleFeature_SetUserSharingPermissions_Request {
298
+ optional fixed64 steamid = 1;
299
+ optional uint32 year = 2;
300
+ optional int32 privacy_state = 3 [(.description) = "enum"];
301
+ }
302
+
303
+ message CSaleFeature_SetUserSharingPermissions_Response {
304
+ optional int32 privacy_state = 1 [(.description) = "enum"];
305
+ }
306
+
307
+ message CSimpleGameSummary {
308
+ optional uint32 appid = 1;
309
+ optional uint32 total_playtime_percentagex100 = 2;
310
+ optional uint32 relative_playtime_percentagex100 = 3;
311
+ }
312
+
313
+ message CUserPlaytimeStats {
314
+ optional .CPlaytimeStats total_stats = 1;
315
+ repeated .CGamePlaytimeStats games = 2;
316
+ optional .CPlaytimeStreak playtime_streak = 3;
317
+ repeated .CMonthlyPlaytimeStats months = 5;
318
+ repeated .CGameSummary game_summary = 6;
319
+ optional uint32 demos_played = 7;
320
+ optional .CGameRankings game_rankings = 8;
321
+ optional uint32 playtests_played = 9;
322
+ optional .CUserPlaytimeSummaryStats summary_stats = 10;
323
+ optional bool substantial = 11 [default = true];
324
+ optional .CUserTagStats tag_stats = 12;
325
+ optional .CPlaytimeByNumbers by_numbers = 13;
326
+ }
327
+
328
+ message CUserPlaytimeSummaryStats {
329
+ optional uint32 total_achievements = 2;
330
+ optional uint32 total_games_with_achievements = 3;
331
+ optional uint32 total_rare_achievements = 4;
332
+ }
333
+
334
+ message CUserTagStats {
335
+ repeated .CUserTagStats_Tag stats = 1;
336
+ }
337
+
338
+ message CUserTagStats_Tag {
339
+ optional uint32 tag_id = 1;
340
+ optional float tag_weight = 2;
341
+ optional float tag_weight_pre_selection = 3;
342
+ }
343
+
344
+ message CUserYearInReviewStats {
345
+ optional uint32 account_id = 1;
346
+ optional uint32 year = 2;
347
+ optional .CUserPlaytimeStats playtime_stats = 3;
348
+ optional int32 privacy_state = 4 [(.description) = "enum"];
349
+ }
350
+
351
+ message CYearInReviewPerformanceStats {
352
+ optional bool from_dbo = 1;
353
+ optional uint64 overall_time_ms = 2;
354
+ optional uint64 dbo_load_ms = 3;
355
+ optional uint64 query_execution_ms = 4;
356
+ optional uint64 message_population_ms = 5;
357
+ optional uint64 dbo_lock_load_ms = 6;
358
+ }
359
+
360
+ service SaleFeature {
361
+ rpc GetFriendsSharedYearInReview (.CSaleFeature_GetFriendsSharedYearInReview_Request) returns (.CSaleFeature_GetFriendsSharedYearInReview_Response);
362
+ rpc GetUpdateProcessingProgress (.CSaleFeature_GetUpdateProcessingProgress_Request) returns (.CSaleFeature_GetUpdateProcessingProgress_Response);
363
+ rpc GetUserActionData (.CSaleFeature_GetUserActionData_Request) returns (.CSaleFeature_GetUserActionData_Response);
364
+ rpc GetUserSharingPermissions (.CSaleFeature_GetUserSharingPermissions_Request) returns (.CSaleFeature_GetUserSharingPermissions_Response);
365
+ rpc GetUserYearAchievements (.CSaleFeature_GetUserYearAchievements_Request) returns (.CSaleFeature_GetUserYearAchievements_Response);
366
+ rpc GetUserYearInReview (.CSaleFeature_GetUserYearInReview_Request) returns (.CSaleFeature_GetUserYearInReview_Response);
367
+ rpc GetUserYearInReviewShareImage (.CSaleFeature_GetUserYearInReviewShareImage_Request) returns (.CSaleFeature_GetUserYearInReviewShareImage_Response);
368
+ rpc GetUserYearScreenshots (.CSaleFeature_GetUserYearScreenshots_Request) returns (.CSaleFeature_GetUserYearScreenshots_Response);
369
+ rpc GetYIRCurrentMonthlySummary (.CSaleFeature_GetYIRCurrentMonthlySummary_Request) returns (.CSaleFeature_GetYIRCurrentMonthlySummary_Response);
370
+ rpc SetUserActionData (.CSaleFeature_SetUserActionData_Request) returns (.CSaleFeature_SetUserActionData_Response);
371
+ rpc SetUserSharingPermissions (.CSaleFeature_SetUserSharingPermissions_Request) returns (.CSaleFeature_SetUserSharingPermissions_Response);
372
+ }
373
+