-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsteamdiscover.proto
More file actions
134 lines (114 loc) · 3.9 KB
/
Copy pathsteamdiscover.proto
File metadata and controls
134 lines (114 loc) · 3.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
option optimize_for = SPEED;
enum ERemoteClientBroadcastMsg {
k_ERemoteClientBroadcastMsgDiscovery = 0;
k_ERemoteClientBroadcastMsgStatus = 1;
k_ERemoteClientBroadcastMsgOffline = 2;
k_ERemoteDeviceAuthorizationRequest = 3;
k_ERemoteDeviceAuthorizationResponse = 4;
k_ERemoteDeviceStreamingRequest = 5;
k_ERemoteDeviceStreamingResponse = 6;
k_ERemoteDeviceProofRequest = 7;
k_ERemoteDeviceProofResponse = 8;
k_ERemoteDeviceAuthorizationCancelRequest = 9;
k_ERemoteDeviceStreamingCancelRequest = 10;
}
enum ERemoteClientService {
k_ERemoteClientServiceNone = 0;
k_ERemoteClientServiceRemoteControl = 1;
k_ERemoteClientServiceGameStreaming = 2;
}
enum ERemoteDeviceAuthorizationResult {
k_ERemoteDeviceAuthorizationSuccess = 0;
k_ERemoteDeviceAuthorizationDenied = 1;
k_ERemoteDeviceAuthorizationNotLoggedIn = 2;
k_ERemoteDeviceAuthorizationOffline = 3;
k_ERemoteDeviceAuthorizationBusy = 4;
k_ERemoteDeviceAuthorizationInProgress = 5;
k_ERemoteDeviceAuthorizationTimedOut = 6;
k_ERemoteDeviceAuthorizationFailed = 7;
k_ERemoteDeviceAuthorizationCanceled = 8;
}
enum ERemoteDeviceStreamingResult {
k_ERemoteDeviceStreamingSuccess = 0;
k_ERemoteDeviceStreamingUnauthorized = 1;
k_ERemoteDeviceStreamingScreenLocked = 2;
k_ERemoteDeviceStreamingFailed = 3;
k_ERemoteDeviceStreamingBusy = 4;
k_ERemoteDeviceStreamingInProgress = 5;
k_ERemoteDeviceStreamingCanceled = 6;
k_ERemoteDeviceStreamingDriversNotInstalled = 7;
k_ERemoteDeviceStreamingDisabled = 8;
}
message CMsgRemoteClientBroadcastHeader {
optional uint64 client_id = 1;
optional ERemoteClientBroadcastMsg msg_type = 2 [default = k_ERemoteClientBroadcastMsgDiscovery];
optional uint64 instance_id = 3;
}
message CMsgRemoteClientBroadcastStatus {
message User {
optional fixed64 steamid = 1;
optional uint32 auth_key_id = 2;
}
optional int32 version = 1;
optional int32 min_version = 2;
optional uint32 connect_port = 3;
optional string hostname = 4;
optional uint32 enabled_services = 6;
optional int32 ostype = 7 [default = 0];
optional bool is64bit = 8 [default = false];
repeated CMsgRemoteClientBroadcastStatus.User users = 9;
optional int32 euniverse = 11;
optional uint32 timestamp = 12;
optional bool screen_locked = 13;
optional bool games_running = 14;
repeated string mac_addresses = 15;
}
message CMsgRemoteClientBroadcastDiscovery {
optional uint32 seq_num = 1;
repeated uint64 client_ids = 2;
}
message CMsgRemoteDeviceAuthorizationRequest {
message CKeyEscrow_Ticket {
optional bytes password = 1;
optional uint64 identifier = 2;
optional bytes payload = 3;
optional uint32 timestamp = 4;
optional CMsgRemoteDeviceAuthorizationRequest.EKeyEscrowUsage usage = 5 [default = k_EKeyEscrowUsageStreamingDevice];
optional string device_name = 6;
optional string device_model = 7;
optional string device_serial = 8;
optional uint32 device_provisioning_id = 9;
}
enum EKeyEscrowUsage {
k_EKeyEscrowUsageStreamingDevice = 0;
}
required bytes device_token = 1;
optional string device_name = 2;
required bytes encrypted_request = 3;
}
message CMsgRemoteDeviceAuthorizationCancelRequest {
}
message CMsgRemoteDeviceAuthorizationResponse {
required ERemoteDeviceAuthorizationResult result = 1 [default = k_ERemoteDeviceAuthorizationSuccess];
}
message CMsgRemoteDeviceStreamingRequest {
required uint32 request_id = 1;
optional int32 maximum_resolution_x = 2;
optional int32 maximum_resolution_y = 3;
optional int32 audio_channel_count = 4 [default = 2];
}
message CMsgRemoteDeviceStreamingCancelRequest {
required uint32 request_id = 1;
}
message CMsgRemoteDeviceStreamingResponse {
required uint32 request_id = 1;
required ERemoteDeviceStreamingResult result = 2 [default = k_ERemoteDeviceStreamingSuccess];
optional uint32 port = 3;
optional bytes encrypted_session_key = 4;
}
message CMsgRemoteDeviceProofRequest {
required bytes challenge = 1;
}
message CMsgRemoteDeviceProofResponse {
required bytes response = 1;
}