@@ -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+
2376message 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
53164message CMsgRemoteClientStartStream {
0 commit comments