steamutils 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/protos/base_gcmessages.proto +533 -0
- package/protos/clientmetrics.proto +45 -0
- package/protos/content_manifest.proto +62 -0
- package/protos/cstrike15_gcmessages.proto +1344 -0
- package/protos/cstrike15_usermessages.proto +597 -0
- package/protos/econ_gcmessages.proto +225 -0
- package/protos/encrypted_app_ticket.proto +10 -0
- package/protos/engine_gcmessages.proto +16 -0
- package/protos/enums.proto +285 -0
- package/protos/enums_clientserver.proto +1534 -0
- package/protos/fatdemo.proto +125 -0
- package/protos/gcsdk_gcmessages.proto +302 -0
- package/protos/gcsystemmsgs.proto +246 -0
- package/protos/htmlmessages.proto +993 -0
- package/protos/netmessages.proto +491 -0
- package/protos/network_connection.proto +70 -0
- package/protos/renderer/rendermessages.proto +893 -0
- package/protos/steamdatagram_messages.proto +205 -0
- package/protos/steamdatagram_messages_auth.proto +65 -0
- package/protos/steamdatagram_messages_sdr.proto +518 -0
- package/protos/steammessages.proto +601 -0
- package/protos/steammessages_accounthardware.steamclient.proto +188 -0
- package/protos/steammessages_appoverview.proto +185 -0
- package/protos/steammessages_auth.steamclient.proto +192 -0
- package/protos/steammessages_base.proto +288 -0
- package/protos/steammessages_broadcast.steamclient.proto +756 -0
- package/protos/steammessages_chat.steamclient.proto +1281 -0
- package/protos/steammessages_client_objects.proto +336 -0
- package/protos/steammessages_clientlanp2p.proto +26 -0
- package/protos/steammessages_clientmetrics.steamclient.proto +176 -0
- package/protos/steammessages_clientnotificationtypes.proto +129 -0
- package/protos/steammessages_clientserver.proto +384 -0
- package/protos/steammessages_clientserver_2.proto +776 -0
- package/protos/steammessages_clientserver_appinfo.proto +166 -0
- package/protos/steammessages_clientserver_friends.proto +260 -0
- package/protos/steammessages_clientserver_gameservers.proto +159 -0
- package/protos/steammessages_clientserver_lbs.proto +70 -0
- package/protos/steammessages_clientserver_login.proto +159 -0
- package/protos/steammessages_clientserver_mms.proto +235 -0
- package/protos/steammessages_clientserver_ucm.proto +202 -0
- package/protos/steammessages_clientserver_uds.proto +104 -0
- package/protos/steammessages_clientserver_ufs.proto +172 -0
- package/protos/steammessages_clientserver_userstats.proto +80 -0
- package/protos/steammessages_cloud.steamclient.proto +512 -0
- package/protos/steammessages_contentsystem.steamclient.proto +77 -0
- package/protos/steammessages_credentials.steamclient.proto +141 -0
- package/protos/steammessages_datapublisher.steamclient.proto +67 -0
- package/protos/steammessages_depotbuilder.steamclient.proto +118 -0
- package/protos/steammessages_deviceauth.steamclient.proto +200 -0
- package/protos/steammessages_econ.steamclient.proto +105 -0
- package/protos/steammessages_friendmessages.steamclient.proto +168 -0
- package/protos/steammessages_gamenetworking.steamclient.proto +32 -0
- package/protos/steammessages_gamenetworkingui.proto +42 -0
- package/protos/steammessages_gamenotifications.steamclient.proto +156 -0
- package/protos/steammessages_gameservers.steamclient.proto +152 -0
- package/protos/steammessages_hiddevices.proto +156 -0
- package/protos/steammessages_inventory.steamclient.proto +224 -0
- package/protos/steammessages_linkfilter.steamclient.proto +49 -0
- package/protos/steammessages_lobbymatchmaking.steamclient.proto +33 -0
- package/protos/steammessages_market.steamclient.proto +26 -0
- package/protos/steammessages_offline.steamclient.proto +37 -0
- package/protos/steammessages_parental.steamclient.proto +186 -0
- package/protos/steammessages_parties.steamclient.proto +94 -0
- package/protos/steammessages_partnerapps.steamclient.proto +136 -0
- package/protos/steammessages_player.steamclient.proto +912 -0
- package/protos/steammessages_publishedfile.steamclient.proto +711 -0
- package/protos/steammessages_qms.steamclient.proto +125 -0
- package/protos/steammessages_remoteclient.proto +99 -0
- package/protos/steammessages_remoteclient_discovery.proto +228 -0
- package/protos/steammessages_remoteclient_service.steamclient.proto +90 -0
- package/protos/steammessages_remoteclient_service_messages.proto +196 -0
- package/protos/steammessages_remoteplay.proto +871 -0
- package/protos/steammessages_secrets.steamclient.proto +39 -0
- package/protos/steammessages_shader.steamclient.proto +96 -0
- package/protos/steammessages_site_license.steamclient.proto +128 -0
- package/protos/steammessages_sitelicenseclient.proto +38 -0
- package/protos/steammessages_siteserverui.proto +130 -0
- package/protos/steammessages_star.steamclient.proto +64 -0
- package/protos/steammessages_steamtv.steamclient.proto +630 -0
- package/protos/steammessages_store.steamclient.proto +262 -0
- package/protos/steammessages_timedtrial.steamclient.proto +50 -0
- package/protos/steammessages_twofactor.steamclient.proto +154 -0
- package/protos/steammessages_unified_base.steamclient.proto +33 -0
- package/protos/steammessages_unified_test.steamclient.proto +50 -0
- package/protos/steammessages_useraccount.steamclient.proto +210 -0
- package/protos/steammessages_vac.steamclient.proto +44 -0
- package/protos/steammessages_video.steamclient.proto +84 -0
- package/protos/steammessages_virtualcontroller.proto +138 -0
- package/protos/steammessages_workshop.steamclient.proto +23 -0
- package/protos/steamnetworkingsockets_messages.proto +204 -0
- package/protos/steamnetworkingsockets_messages_certs.proto +38 -0
- package/protos/steamnetworkingsockets_messages_udp.proto +75 -0
- package/protos/uifontfile_format.proto +16 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "steammessages_unified_base.steamclient.proto";
|
3
|
+
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
enum EKeyEscrowUsage {
|
7
|
+
k_EKeyEscrowUsageStreamingDevice = 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
message CKeyEscrow_Request {
|
11
|
+
optional bytes rsa_oaep_sha_ticket = 1;
|
12
|
+
optional bytes password = 2;
|
13
|
+
optional .EKeyEscrowUsage usage = 3 [default = k_EKeyEscrowUsageStreamingDevice];
|
14
|
+
optional string device_name = 4;
|
15
|
+
}
|
16
|
+
|
17
|
+
message CKeyEscrow_Ticket {
|
18
|
+
optional bytes password = 1;
|
19
|
+
optional uint64 identifier = 2;
|
20
|
+
optional bytes payload = 3;
|
21
|
+
optional uint32 timestamp = 4;
|
22
|
+
optional .EKeyEscrowUsage usage = 5 [default = k_EKeyEscrowUsageStreamingDevice];
|
23
|
+
optional string device_name = 6;
|
24
|
+
optional string device_model = 7;
|
25
|
+
optional string device_serial = 8;
|
26
|
+
optional uint32 device_provisioning_id = 9;
|
27
|
+
}
|
28
|
+
|
29
|
+
message CKeyEscrow_Response {
|
30
|
+
optional .CKeyEscrow_Ticket ticket = 1;
|
31
|
+
}
|
32
|
+
|
33
|
+
service Secrets {
|
34
|
+
option (service_description) = "Service for accessing credentials and guarding secrets";
|
35
|
+
|
36
|
+
rpc KeyEscrow (.CKeyEscrow_Request) returns (.CKeyEscrow_Response) {
|
37
|
+
option (method_description) = "Service to perform authenticated key-exchange involving Steam Client";
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "steammessages_unified_base.steamclient.proto";
|
3
|
+
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
message CShader_RegisterShader_Request {
|
7
|
+
message Shader {
|
8
|
+
optional bytes cache_key_sha = 1;
|
9
|
+
optional bytes shader_code_sha = 2;
|
10
|
+
}
|
11
|
+
|
12
|
+
optional uint32 appid = 1;
|
13
|
+
optional string gpu_desc = 2;
|
14
|
+
optional string driver_desc = 3;
|
15
|
+
repeated .CShader_RegisterShader_Request.Shader shaders = 4;
|
16
|
+
}
|
17
|
+
|
18
|
+
message CShader_RegisterShader_Response {
|
19
|
+
repeated uint32 requested_codeids = 1;
|
20
|
+
}
|
21
|
+
|
22
|
+
message CShader_SendShader_Request {
|
23
|
+
message ShaderCode {
|
24
|
+
optional bytes shader_code_sha = 1;
|
25
|
+
optional bytes shader_code = 2;
|
26
|
+
}
|
27
|
+
|
28
|
+
optional uint32 appid = 1;
|
29
|
+
repeated .CShader_SendShader_Request.ShaderCode shaders = 2;
|
30
|
+
}
|
31
|
+
|
32
|
+
message CShader_SendShader_Response {
|
33
|
+
}
|
34
|
+
|
35
|
+
message CShader_GetBucketManifest_Request {
|
36
|
+
optional uint32 appid = 1;
|
37
|
+
optional string gpu_desc = 2;
|
38
|
+
optional string driver_desc = 3;
|
39
|
+
}
|
40
|
+
|
41
|
+
message CShader_GetBucketManifest_Response {
|
42
|
+
optional uint64 manifestid = 1;
|
43
|
+
optional uint64 depotsize = 2;
|
44
|
+
optional uint64 bucketid = 3;
|
45
|
+
}
|
46
|
+
|
47
|
+
message CShader_GetStaleBucket_Request {
|
48
|
+
optional string gpu_desc = 1;
|
49
|
+
optional string driver_desc = 2;
|
50
|
+
}
|
51
|
+
|
52
|
+
message CShader_GetStaleBucket_Response {
|
53
|
+
optional uint64 bucketid = 1;
|
54
|
+
optional uint32 appid = 2;
|
55
|
+
optional uint64 manifestid = 3;
|
56
|
+
optional string gpu_desc = 4;
|
57
|
+
optional string driver_desc = 5;
|
58
|
+
optional bytes depot_encryption_key = 6;
|
59
|
+
}
|
60
|
+
|
61
|
+
message CShader_ReportExternalBuild_Request {
|
62
|
+
optional uint32 appid = 1;
|
63
|
+
optional string gpu_desc = 2;
|
64
|
+
optional string driver_desc = 3;
|
65
|
+
optional uint64 manifestid = 4;
|
66
|
+
optional string source_gpu_desc = 5;
|
67
|
+
optional string source_driver_desc = 6;
|
68
|
+
optional uint64 depotsize = 7;
|
69
|
+
}
|
70
|
+
|
71
|
+
message CShader_ReportExternalBuild_Response {
|
72
|
+
}
|
73
|
+
|
74
|
+
service Shader {
|
75
|
+
option (service_description) = "Shader methods";
|
76
|
+
|
77
|
+
rpc RegisterShader (.CShader_RegisterShader_Request) returns (.CShader_RegisterShader_Response) {
|
78
|
+
option (method_description) = "Client just finished playing a game, detected new shader cache entries and is notifying us about them";
|
79
|
+
}
|
80
|
+
|
81
|
+
rpc SendShader (.CShader_SendShader_Request) returns (.CShader_SendShader_Response) {
|
82
|
+
option (method_description) = "Client is sending us actual compiled shader code that we requested";
|
83
|
+
}
|
84
|
+
|
85
|
+
rpc GetBucketManifest (.CShader_GetBucketManifest_Request) returns (.CShader_GetBucketManifest_Response) {
|
86
|
+
option (method_description) = "Client wants to know the manifest ID to fetch (if any) for a bucket's depot";
|
87
|
+
}
|
88
|
+
|
89
|
+
rpc GetStaleBucket (.CShader_GetStaleBucket_Request) returns (.CShader_GetStaleBucket_Response) {
|
90
|
+
option (method_description) = "Job to get a stale bucket given a gpu and driver desc";
|
91
|
+
}
|
92
|
+
|
93
|
+
rpc ReportExternalBuild (.CShader_ReportExternalBuild_Request) returns (.CShader_ReportExternalBuild_Response) {
|
94
|
+
option (method_description) = "Report an exernally built bucket";
|
95
|
+
}
|
96
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "steammessages_unified_base.steamclient.proto";
|
3
|
+
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
message CSiteManagerClient_IncomingClient_Request {
|
7
|
+
optional fixed64 site_instanceid = 1;
|
8
|
+
optional fixed64 client_steamid = 2;
|
9
|
+
optional fixed32 client_local_ip = 3;
|
10
|
+
optional bytes connection_key = 4;
|
11
|
+
}
|
12
|
+
|
13
|
+
message CSiteManagerClient_IncomingClient_Response {
|
14
|
+
}
|
15
|
+
|
16
|
+
message CSiteLicense_ClientSeatCheckout_Notification {
|
17
|
+
optional uint32 appid = 1;
|
18
|
+
optional uint32 eresult = 2;
|
19
|
+
}
|
20
|
+
|
21
|
+
message CSiteManagerClient_TrackedPayments_Notification {
|
22
|
+
message Payment {
|
23
|
+
optional uint64 transid = 1;
|
24
|
+
optional uint64 steamid = 2;
|
25
|
+
optional int64 amount = 3;
|
26
|
+
optional uint32 ecurrency = 4;
|
27
|
+
optional int32 time_created = 5;
|
28
|
+
optional int32 purchase_status = 6;
|
29
|
+
optional string machine_name = 7;
|
30
|
+
optional string persona_name = 8;
|
31
|
+
optional string profile_url = 9;
|
32
|
+
optional string avatar_url = 10;
|
33
|
+
}
|
34
|
+
|
35
|
+
optional fixed64 site_id = 1;
|
36
|
+
repeated .CSiteManagerClient_TrackedPayments_Notification.Payment payments = 2;
|
37
|
+
}
|
38
|
+
|
39
|
+
message CSiteLicense_InitiateAssociation_Request {
|
40
|
+
optional fixed64 site_steamid = 1;
|
41
|
+
optional fixed64 site_instanceid = 2;
|
42
|
+
optional fixed32 client_local_ip = 3;
|
43
|
+
}
|
44
|
+
|
45
|
+
message CSiteLicense_InitiateAssociation_Response {
|
46
|
+
optional bytes connection_key = 1;
|
47
|
+
}
|
48
|
+
|
49
|
+
message CSiteLicense_LCSAuthenticate_Request {
|
50
|
+
optional fixed64 instanceid = 1;
|
51
|
+
}
|
52
|
+
|
53
|
+
message CSiteLicense_LCSAuthenticate_Response {
|
54
|
+
optional uint64 site_id = 1;
|
55
|
+
optional string site_name = 2;
|
56
|
+
optional bool new_session = 3;
|
57
|
+
optional bool no_site_licenses = 4;
|
58
|
+
}
|
59
|
+
|
60
|
+
message CSiteLicense_LCSAssociateUser_Request {
|
61
|
+
optional fixed64 steamid = 1;
|
62
|
+
optional fixed32 local_ip = 2;
|
63
|
+
optional fixed64 instanceid = 3;
|
64
|
+
optional string machine_name = 4;
|
65
|
+
}
|
66
|
+
|
67
|
+
message CSiteLicense_LCSAssociateUser_Response {
|
68
|
+
}
|
69
|
+
|
70
|
+
message CSiteLicense_ClientSeatCheckout_Request {
|
71
|
+
optional fixed64 steamid = 1;
|
72
|
+
optional fixed64 instanceid = 2;
|
73
|
+
optional uint32 appid = 3;
|
74
|
+
}
|
75
|
+
|
76
|
+
message CSiteLicense_ClientSeatCheckout_Response {
|
77
|
+
}
|
78
|
+
|
79
|
+
message CSiteLicense_ClientGetAvailableSeats_Request {
|
80
|
+
optional fixed64 steamid = 1;
|
81
|
+
optional fixed64 instanceid = 2;
|
82
|
+
optional uint32 appid = 3;
|
83
|
+
}
|
84
|
+
|
85
|
+
message CSiteLicense_ClientGetAvailableSeats_Response {
|
86
|
+
optional uint32 available_seats = 1;
|
87
|
+
}
|
88
|
+
|
89
|
+
service SiteManagerClient {
|
90
|
+
option (service_description) = "Local site manager client service";
|
91
|
+
option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
|
92
|
+
|
93
|
+
rpc IncomingClient (.CSiteManagerClient_IncomingClient_Request) returns (.CSiteManagerClient_IncomingClient_Response) {
|
94
|
+
option (method_description) = "Rack informing site manager of new inbound client PSK connection";
|
95
|
+
}
|
96
|
+
|
97
|
+
rpc ClientSeatCheckoutNotification (.CSiteLicense_ClientSeatCheckout_Notification) returns (.NoResponse) {
|
98
|
+
option (method_description) = "Notify client directly about seat checkout result";
|
99
|
+
}
|
100
|
+
|
101
|
+
rpc TrackedPaymentsNotification (.CSiteManagerClient_TrackedPayments_Notification) returns (.NoResponse) {
|
102
|
+
option (method_description) = "Rack informing site manager of existing tracked payments";
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
service SiteLicense {
|
107
|
+
option (service_description) = "Site License service";
|
108
|
+
|
109
|
+
rpc InitiateAssociation (.CSiteLicense_InitiateAssociation_Request) returns (.CSiteLicense_InitiateAssociation_Response) {
|
110
|
+
option (method_description) = "Client is requesting connetion info for local site";
|
111
|
+
}
|
112
|
+
|
113
|
+
rpc LCSAuthenticate (.CSiteLicense_LCSAuthenticate_Request) returns (.CSiteLicense_LCSAuthenticate_Response) {
|
114
|
+
option (method_description) = "Local cafe server authentication";
|
115
|
+
}
|
116
|
+
|
117
|
+
rpc LCSAssociateUser (.CSiteLicense_LCSAssociateUser_Request) returns (.CSiteLicense_LCSAssociateUser_Response) {
|
118
|
+
option (method_description) = "Local cafe server wants to grant user access to site";
|
119
|
+
}
|
120
|
+
|
121
|
+
rpc ClientSeatCheckout (.CSiteLicense_ClientSeatCheckout_Request) returns (.CSiteLicense_ClientSeatCheckout_Response) {
|
122
|
+
option (method_description) = "Client is requesting use of a site license seat";
|
123
|
+
}
|
124
|
+
|
125
|
+
rpc ClientGetAvailableSeats (.CSiteLicense_ClientGetAvailableSeats_Request) returns (.CSiteLicense_ClientGetAvailableSeats_Response) {
|
126
|
+
option (method_description) = "Client is requesting the number of currently available seats";
|
127
|
+
}
|
128
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
|
3
|
+
option optimize_for = SPEED;
|
4
|
+
option cc_generic_services = false;
|
5
|
+
|
6
|
+
message CMsgClientSiteInfo {
|
7
|
+
optional uint64 site_id = 1;
|
8
|
+
optional string site_name = 2;
|
9
|
+
optional bool allow_cached_credentials = 3;
|
10
|
+
}
|
11
|
+
|
12
|
+
message CMsgClientSiteLicenseCheckout {
|
13
|
+
optional uint32 appid = 1;
|
14
|
+
}
|
15
|
+
|
16
|
+
message CMsgClientSiteLicenseCheckoutResponse {
|
17
|
+
optional int32 eresult = 1 [default = 2];
|
18
|
+
}
|
19
|
+
|
20
|
+
message CMsgClientSiteLicenseGetAvailableSeats {
|
21
|
+
optional uint32 appid = 1;
|
22
|
+
}
|
23
|
+
|
24
|
+
message CMsgClientSiteLicenseGetAvailableSeatsResponse {
|
25
|
+
optional int32 eresult = 1 [default = 2];
|
26
|
+
optional uint32 seats = 2;
|
27
|
+
}
|
28
|
+
|
29
|
+
message CMsgClientSiteLicenseGetContentCacheInfo {
|
30
|
+
}
|
31
|
+
|
32
|
+
message CMsgClientSiteLicenseGetContentCacheInfoResponse {
|
33
|
+
optional bool use_cache = 1;
|
34
|
+
optional uint32 ipv4_address = 2;
|
35
|
+
optional uint32 port_number = 3;
|
36
|
+
optional uint32 p2p_group = 4;
|
37
|
+
optional string ip_address = 5;
|
38
|
+
}
|
@@ -0,0 +1,130 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
|
3
|
+
option optimize_for = SPEED;
|
4
|
+
option cc_generic_services = false;
|
5
|
+
|
6
|
+
message SiteServerUI_Login_Request {
|
7
|
+
optional string username = 1;
|
8
|
+
optional string password = 2;
|
9
|
+
optional string steamguardcode = 3;
|
10
|
+
optional bool remember_password = 4;
|
11
|
+
}
|
12
|
+
|
13
|
+
message SiteServerUI_Login_Response {
|
14
|
+
optional int32 logon_state = 1;
|
15
|
+
optional int32 logon_eresult = 2;
|
16
|
+
}
|
17
|
+
|
18
|
+
message SiteServerUI_LoginStatus_Request {
|
19
|
+
}
|
20
|
+
|
21
|
+
message SiteServerUI_LoginStatus_Response {
|
22
|
+
optional string username = 1;
|
23
|
+
optional bool cached_credentials = 2;
|
24
|
+
optional int32 logon_state = 3;
|
25
|
+
optional int32 logon_eresult = 4;
|
26
|
+
}
|
27
|
+
|
28
|
+
message SiteServerUI_CancelLogin_Request {
|
29
|
+
}
|
30
|
+
|
31
|
+
message SiteServerUI_CancelLogin_Response {
|
32
|
+
optional int32 logon_state = 1;
|
33
|
+
optional int32 logon_eresult = 2;
|
34
|
+
}
|
35
|
+
|
36
|
+
message SiteServerUI_Logout_Request {
|
37
|
+
}
|
38
|
+
|
39
|
+
message SiteServerUI_Logout_Response {
|
40
|
+
optional int32 logon_state = 1;
|
41
|
+
optional int32 logout_eresult = 2;
|
42
|
+
}
|
43
|
+
|
44
|
+
message SiteServerUI_Quit_Request {
|
45
|
+
optional bool restart = 1;
|
46
|
+
}
|
47
|
+
|
48
|
+
message SiteServerUI_Quit_Response {
|
49
|
+
}
|
50
|
+
|
51
|
+
message SiteServerUI_Status_Request {
|
52
|
+
}
|
53
|
+
|
54
|
+
message SiteServerUI_Status_Response {
|
55
|
+
optional int32 logon_state = 1;
|
56
|
+
optional int32 logon_eresult = 2;
|
57
|
+
optional bool connected = 3;
|
58
|
+
optional bool cache_enabled = 4;
|
59
|
+
optional int32 acct_status = 5;
|
60
|
+
}
|
61
|
+
|
62
|
+
message SiteServerUI_GetLanguage_Request {
|
63
|
+
}
|
64
|
+
|
65
|
+
message SiteServerUI_GetLanguage_Response {
|
66
|
+
optional string language = 1;
|
67
|
+
}
|
68
|
+
|
69
|
+
message SiteServerUI_SetLanguage_Request {
|
70
|
+
optional string language = 1;
|
71
|
+
}
|
72
|
+
|
73
|
+
message SiteServerUI_SetLanguage_Response {
|
74
|
+
}
|
75
|
+
|
76
|
+
message SiteServerUI_ClientStatus_Request {
|
77
|
+
}
|
78
|
+
|
79
|
+
message SiteServerUI_ClientStatus_Response {
|
80
|
+
message ClientInfo {
|
81
|
+
optional uint32 ip = 1;
|
82
|
+
optional string hostname = 2;
|
83
|
+
optional bool connected = 3;
|
84
|
+
optional uint64 instance_id = 4;
|
85
|
+
}
|
86
|
+
|
87
|
+
message Payment {
|
88
|
+
optional uint64 transid = 1;
|
89
|
+
optional uint64 steamid = 2;
|
90
|
+
optional string amount = 3;
|
91
|
+
optional int32 time_created = 4;
|
92
|
+
optional int32 purchase_status = 5;
|
93
|
+
optional string hostname = 6;
|
94
|
+
optional string persona_name = 7;
|
95
|
+
optional string profile_url = 8;
|
96
|
+
optional string avatar_url = 9;
|
97
|
+
}
|
98
|
+
|
99
|
+
repeated .SiteServerUI_ClientStatus_Response.ClientInfo clients = 4;
|
100
|
+
repeated .SiteServerUI_ClientStatus_Response.Payment payments = 5;
|
101
|
+
}
|
102
|
+
|
103
|
+
message SiteServerUI_ContentCacheStatus_Request {
|
104
|
+
}
|
105
|
+
|
106
|
+
message SiteServerUI_ContentCacheStatus_Response {
|
107
|
+
optional bool enabled = 1;
|
108
|
+
optional uint32 port = 2;
|
109
|
+
optional string cache_location = 3;
|
110
|
+
optional uint32 max_size_gb = 4;
|
111
|
+
optional bool p2p_enabled = 5;
|
112
|
+
optional string explicit_ip_address = 9;
|
113
|
+
optional bool external_process = 10;
|
114
|
+
optional uint32 current_size_gb = 6;
|
115
|
+
optional uint64 current_bw = 7;
|
116
|
+
optional uint64 total_bytes_served = 8;
|
117
|
+
}
|
118
|
+
|
119
|
+
message SiteServerUI_ContentCacheConfig_Request {
|
120
|
+
optional bool enabled = 1;
|
121
|
+
optional uint32 port = 2;
|
122
|
+
optional string cache_location = 3;
|
123
|
+
optional uint32 max_size_gb = 4;
|
124
|
+
optional bool p2p_enabled = 5;
|
125
|
+
optional bool external_process = 6;
|
126
|
+
optional string explicit_ip_address = 7;
|
127
|
+
}
|
128
|
+
|
129
|
+
message SiteServerUI_ContentCacheConfig_Response {
|
130
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "steammessages_unified_base.steamclient.proto";
|
3
|
+
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
enum E_STAR_GlyphWriteResult {
|
7
|
+
k_E_STAR_GlyphWriteResult_Success = 0;
|
8
|
+
k_E_STAR_GlyphWriteResult_InvalidMessage = 1;
|
9
|
+
k_E_STAR_GlyphWriteResult_InvalidJSON = 2;
|
10
|
+
k_E_STAR_GlyphWriteResult_SQLError = 3;
|
11
|
+
}
|
12
|
+
|
13
|
+
message CSTAR_KeyValueQuery {
|
14
|
+
optional string key = 1 [(description) = "key to search for in JSON path format (SQL subset)"];
|
15
|
+
optional string value = 2 [(description) = "the value to compare against (the JSON value will be compared for equality as a string)"];
|
16
|
+
}
|
17
|
+
|
18
|
+
message CSTAR_GlyphQueryParams {
|
19
|
+
optional uint64 bundle_id = 1 [(description) = "if provided, Bundle ID is used instead of the other query parameters (much faster SQL query)"];
|
20
|
+
repeated .CSTAR_KeyValueQuery queries = 2 [(description) = "key value queries"];
|
21
|
+
}
|
22
|
+
|
23
|
+
message CSTAR_ReadGlyphData_Request {
|
24
|
+
optional .CSTAR_GlyphQueryParams query_params = 1 [(description) = "parameters to identify the glyphs to read from SQL"];
|
25
|
+
optional string last_modified_time_lower_limit = 2 [(description) = "if provided, only return glyphs modified more recently than this timestamp (RFC 3339 UTC format)"];
|
26
|
+
}
|
27
|
+
|
28
|
+
message CSTAR_GlyphData {
|
29
|
+
optional bytes glyph_guid = 1 [(description) = "GUID uniquely identifying this glyph"];
|
30
|
+
optional string glyph_last_modified = 2 [(description) = "timestamp of when this glyph was last modified (RFC 3339 UTC format)"];
|
31
|
+
optional string glyph_json_data = 3 [(description) = "JSON encoded glyph data"];
|
32
|
+
}
|
33
|
+
|
34
|
+
message CSTAR_WriteGlyphData_Request {
|
35
|
+
optional uint64 bundle_id = 1 [(description) = "the Bundle ID of the glyphs to be written"];
|
36
|
+
repeated .CSTAR_GlyphData glyph_data = 2 [(description) = "one or more items of glyph data to write"];
|
37
|
+
}
|
38
|
+
|
39
|
+
message CSTAR_Request {
|
40
|
+
optional .CSTAR_ReadGlyphData_Request read_glyph_data = 1;
|
41
|
+
optional .CSTAR_WriteGlyphData_Request write_glyph_data = 2;
|
42
|
+
}
|
43
|
+
|
44
|
+
message CSTAR_ReadGlyphData_Response {
|
45
|
+
optional uint64 bundle_id = 1 [(description) = "the Bundle ID of the returned glyphs; the client should send this back to optimize subsequent queries"];
|
46
|
+
repeated .CSTAR_GlyphData glyph_data = 2 [(description) = "zero or more items of returned glyph data"];
|
47
|
+
}
|
48
|
+
|
49
|
+
message CSTAR_WriteGlyphData_Response {
|
50
|
+
repeated .E_STAR_GlyphWriteResult result = 1 [(description) = "write result for each item of glyph data"];
|
51
|
+
}
|
52
|
+
|
53
|
+
message CSTAR_Response {
|
54
|
+
optional .CSTAR_ReadGlyphData_Response read_glyph_data = 1;
|
55
|
+
optional .CSTAR_WriteGlyphData_Response write_glyph_data = 2;
|
56
|
+
}
|
57
|
+
|
58
|
+
service STAR {
|
59
|
+
option (service_description) = "service for reading/writing STAR data";
|
60
|
+
|
61
|
+
rpc ProcessMessage (.CSTAR_Request) returns (.CSTAR_Response) {
|
62
|
+
option (method_description) = "processes a generic message";
|
63
|
+
}
|
64
|
+
}
|