Skip to content

Commit c0f5022

Browse files
5 files | steam/enums_clientserver.proto, steam/steammessages_appoverview.proto steam/steammessages_remoteclient.proto, steam/steammessages_remoteclient_discovery.proto webui/common.proto
1 parent 0c0c99a commit c0f5022

File tree

5 files changed

+141
-15
lines changed

5 files changed

+141
-15
lines changed

steam/enums_clientserver.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1380,6 +1380,18 @@ enum EMsg {
13801380
k_EMsgRemoteClientWifiAPStatus = 9523;
13811381
k_EMsgRemoteClientPairWifiAP = 9524;
13821382
k_EMsgRemoteClientPairWifiAPResponse = 9525;
1383+
k_EMsgRemoteClientDownloadScheduleChanged = 9526;
1384+
k_EMsgRemoteClientDownloadItemScheduleChanged = 9527;
1385+
k_EMsgRemoteClientAppUpdateStopped = 9528;
1386+
k_EMsgRemoteClientAppDownloadStats = 9529;
1387+
k_EMsgRemoteClientAppUploadStats = 9530;
1388+
k_EMsgRemoteClientAppInfoUpdateComplete = 9531;
1389+
k_eMsgRemoteClientDownloadsManagement = 9532;
1390+
k_eMsgRemoteClientDownloadingAppID = 9533;
1391+
k_eMsgRemoteClientPeerContentServerChanged = 9534;
1392+
k_eMsgRemoteClientRestrictAutoUpdatesChanged = 9535;
1393+
k_eMsgRemoteClientSuspendLanPeerContent = 9536;
1394+
k_eMsgRemoteClientUpdateDownloadsController = 9537;
13831395
k_EMsgClientConcurrentSessionsBase = 9600;
13841396
k_EMsgClientPlayingSessionState = 9600;
13851397
k_EMsgClientKickPlayingSession = 9601;

steam/steammessages_appoverview.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ message CAppOverview {
147147
optional int32 display_name_elanguage = 75 [default = -1];
148148
optional bool has_custom_sort_as = 76;
149149
optional uint64 bitfield_supported_languages = 77 [default = 0];
150+
repeated .CAppOverview_PerClientData remote_per_client_data = 78;
150151
}
151152

152153
message CAppOverview_Change {

steam/steammessages_remoteclient.proto

Lines changed: 126 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,69 @@ message CMsgRemoteClientStatus {
2020
optional .CMsgRemoteClientBroadcastStatus status = 3;
2121
}
2222

23+
message CMsgRemoteClientDownloadStatus {
24+
optional uint32 current_connections = 1;
25+
optional uint32 current_bps = 2;
26+
optional uint64 total_bytes_downloaded = 3;
27+
optional uint32 recent_bps = 4;
28+
optional uint64 remote_client_id = 5;
29+
optional int32 download_throttle_rate = 6;
30+
optional string remote_client_name = 7;
31+
}
32+
33+
message CMsgRemoteClientUploadStatus {
34+
optional uint32 served_app_id = 1;
35+
optional uint32 num_clients = 2;
36+
optional uint32 send_bytes_per_sec = 3;
37+
optional uint32 read_bytes_per_sec = 4;
38+
optional uint64 send_bytes_total = 5;
39+
optional uint64 read_bytes_total = 6;
40+
optional uint64 remote_client_id = 7;
41+
optional string remote_client_name = 8;
42+
}
43+
44+
message CMsgRemoteClientRestrictAutoUpdates {
45+
optional bool restrict_auto_updates = 1;
46+
optional int32 restrict_auto_updates_start = 2;
47+
optional int32 restrict_auto_updates_end = 3;
48+
}
49+
50+
message AppStageProgress {
51+
optional uint64 in_progress = 1;
52+
optional uint64 total = 2;
53+
optional int32 estimated_time_remaining_secs = 3;
54+
optional float weight = 4;
55+
}
56+
57+
message AppUpdateInfo {
58+
optional fixed32 time_update_start = 1;
59+
optional uint64 bytes_to_download = 2;
60+
optional uint64 bytes_downloaded = 3;
61+
optional uint64 bytes_to_process = 4;
62+
optional uint64 bytes_processed = 5;
63+
optional int32 estimated_seconds_remaining = 6 [default = -1];
64+
optional int32 update_result = 7;
65+
optional uint32 update_state = 8;
66+
optional uint32 download_type = 9;
67+
optional uint64 staging_bytes_staged = 10;
68+
optional uint64 staging_bytes_to_stage = 11;
69+
optional uint32 bytes_to_disc_per_second = 12;
70+
repeated .AppStageProgress progress_weights = 13;
71+
optional uint32 time_deferred_until = 14;
72+
optional uint32 source_build_id = 15;
73+
optional uint32 target_build_id = 16;
74+
}
75+
2376
message CMsgRemoteClientAppStatus {
24-
message AppUpdateInfo {
25-
optional fixed32 time_update_start = 1;
26-
optional uint64 bytes_to_download = 2;
27-
optional uint64 bytes_downloaded = 3;
28-
optional uint64 bytes_to_process = 4;
29-
optional uint64 bytes_processed = 5;
30-
optional int32 estimated_seconds_remaining = 6 [default = -1];
31-
optional int32 update_result = 7;
32-
optional uint32 update_state = 8;
77+
message AppStatus {
78+
optional uint32 app_id = 1;
79+
optional uint32 app_install_state = 2;
80+
optional .AppUpdateInfo update_info = 3;
81+
optional .CMsgRemoteClientAppStatus.ShortcutInfo shortcut_info = 4;
82+
optional bool vr_not_required = 5 [default = true];
83+
optional bool shader_update_available = 6;
84+
optional bool workshop_update_avilable = 7;
85+
optional bool download_complete = 8;
3386
}
3487

3588
message ShortcutInfo {
@@ -39,15 +92,73 @@ message CMsgRemoteClientAppStatus {
3992
optional string exepath = 4;
4093
}
4194

42-
message AppStatus {
95+
repeated .CMsgRemoteClientAppStatus.AppStatus status_updates = 1;
96+
}
97+
98+
message CMsgRemoteClientDownloadsManagement {
99+
message ChangeAppQueuePlacement {
43100
optional uint32 app_id = 1;
44-
optional uint32 app_state = 2;
45-
optional .CMsgRemoteClientAppStatus.AppUpdateInfo update_info = 3;
46-
optional .CMsgRemoteClientAppStatus.ShortcutInfo shortcut_info = 4;
47-
optional bool vr_not_required = 5 [default = true];
101+
optional uint32 queue_placement = 2;
48102
}
49103

50-
repeated .CMsgRemoteClientAppStatus.AppStatus status_updates = 1;
104+
message ChangeDownloadIndex {
105+
optional uint32 app_id = 1;
106+
optional uint32 download_index = 3;
107+
}
108+
109+
optional .CMsgRemoteClientDownloadsManagement.ChangeAppQueuePlacement change_queue_placement = 1;
110+
optional .CMsgRemoteClientDownloadsManagement.ChangeDownloadIndex change_download_index = 2;
111+
optional bool enable_all_downloads = 3;
112+
optional uint32 remove_from_download_list_app_id = 4;
113+
optional bool suspend_download_throttling = 5;
114+
}
115+
116+
message CMsgRemoteClientUpdateDownloadsController {
117+
optional bool update_download_items = 1;
118+
optional bool update_download_overview = 2;
119+
}
120+
121+
message CMsgRemoteClientPeerContentServerChanged {
122+
optional uint32 app_id = 1;
123+
optional uint32 num_connections = 2;
124+
optional uint64 remote_client_id = 3;
125+
}
126+
127+
message CMsgRemoteClientDownloadingAppChanged {
128+
optional uint32 downloading_app_id = 1;
129+
}
130+
131+
message CMsgRemoteClientSuspendLanPeerContent {
132+
optional bool suspend = 1;
133+
}
134+
135+
message CMsgRemoteClientDownloadScheduleChanged {
136+
optional bool download_enabled = 1;
137+
optional uint32 start_index = 2;
138+
optional bool final_message = 3;
139+
optional uint32 num_apps_scheduled = 4;
140+
repeated uint32 apps_scheduled = 5;
141+
}
142+
143+
message CMsgRemoteClientDownloadScheduleItemChanged {
144+
optional uint32 app_id = 2;
145+
}
146+
147+
message CMsgRemoteClientAppUpdateStopped {
148+
optional uint32 app_id = 1;
149+
optional .AppUpdateInfo update_info = 2;
150+
optional string error_detail = 3;
151+
optional int32 install_folder_index = 4;
152+
optional uint32 app_install_state = 5;
153+
}
154+
155+
message CMsgRemoteClientAppUpdateInfoComplete {
156+
optional uint32 result = 1;
157+
}
158+
159+
message CMsgRemoteClientDownloadingAppID {
160+
optional uint32 downloading_app_id = 1;
161+
optional .AppUpdateInfo update_info = 2;
51162
}
52163

53164
message CMsgRemoteClientStartStream {

steam/steammessages_remoteclient_discovery.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ enum ERemoteClientService {
2525
k_ERemoteClientServiceSiteLicense = 4;
2626
k_ERemoteClientServiceContentCache = 8;
2727
k_ERemoteClientServiceContentServer = 16;
28+
k_ERemoteClientServiceManageDownloads = 32;
2829
}
2930

3031
enum EVRLinkCaps {

webui/common.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ message CAppOverview {
5454
optional int32 display_name_elanguage = 75 [default = -1];
5555
optional bool has_custom_sort_as = 76;
5656
optional uint64 bitfield_supported_languages = 77 [default = 0];
57+
repeated .CAppOverview_PerClientData remote_per_client_data = 78;
5758
}
5859

5960
message CAppOverview_Change {

0 commit comments

Comments
 (0)