steamutils 1.3.65 → 1.3.66
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +3 -1
- package/package.json +2 -2
- package/protos/csgo/base_gcmessages.proto +553 -0
- package/protos/csgo/connectionless_netmessages.proto +0 -2
- package/protos/csgo/cs_gameevents.proto +1 -0
- package/protos/csgo/cstrike15_gcmessages.proto +41 -12
- package/protos/csgo/cstrike15_usermessages.proto +0 -4
- package/protos/csgo/demo.proto +5 -0
- package/protos/csgo/econ_gcmessages.proto +0 -9
- package/protos/csgo/gcsdk_gcmessages.proto +2 -2
- package/protos/csgo/gcsystemmsgs.proto +1 -0
- package/protos/csgo/netmessages.proto +22 -8
- package/protos/csgo/networkbasetypes.proto +2 -0
- package/protos/csgo/steammessages.proto +23 -0
- package/protos/csgo/usercmd.proto +2 -1
- package/protos/csgo/usermessages.proto +31 -0
- package/protos/steam/enums.proto +58 -1
- package/protos/steam/enums_clientserver.proto +3 -34
- package/protos/steam/enums_productinfo.proto +1 -0
- package/protos/steam/htmlmessages.proto +12 -0
- package/protos/steam/steamdatagram_messages_sdr.proto +1 -1
- package/protos/steam/steammessages_accounthardware.steamclient.proto +18 -52
- package/protos/steam/steammessages_appoverview.proto +18 -1
- package/protos/steam/steammessages_auth.steamclient.proto +128 -188
- package/protos/steam/steammessages_base.proto +3 -0
- package/protos/steam/steammessages_broadcast.steamclient.proto +126 -267
- package/protos/steam/steammessages_chat.steamclient.proto +79 -290
- package/protos/steam/steammessages_client_objects.proto +4 -0
- package/protos/steam/steammessages_clientlanp2p.proto +1 -0
- package/protos/steam/steammessages_clientmetrics.steamclient.proto +0 -2
- package/protos/steam/steammessages_clientnotificationtypes.proto +19 -0
- package/protos/steam/steammessages_clientserver_2.proto +11 -0
- package/protos/steam/steammessages_clientserver_login.proto +1 -1
- package/protos/steam/steammessages_clientserver_mms.proto +228 -235
- package/protos/steam/steammessages_clientserver_ucm.proto +2 -0
- package/protos/steam/steammessages_clientserver_uds.proto +1 -0
- package/protos/steam/steammessages_clientserver_ufs.proto +0 -127
- package/protos/steam/steammessages_clientsettings.proto +46 -6
- package/protos/steam/steammessages_cloud.steamclient.proto +158 -249
- package/protos/steam/steammessages_contentsystem.steamclient.proto +16 -8
- package/protos/steam/steammessages_credentials.steamclient.proto +7 -26
- package/protos/steam/steammessages_datapublisher.steamclient.proto +30 -44
- package/protos/steam/steammessages_depotbuilder.steamclient.proto +6 -25
- package/protos/steam/steammessages_deviceauth.steamclient.proto +11 -45
- package/protos/steam/steammessages_econ.steamclient.proto +12 -25
- package/protos/steam/steammessages_familygroups.steamclient.proto +441 -0
- package/protos/steam/steammessages_friendmessages.steamclient.proto +19 -46
- package/protos/steam/steammessages_gamenetworking.steamclient.proto +2 -9
- package/protos/steam/steammessages_gamenotifications.steamclient.proto +57 -82
- package/protos/steam/steammessages_gameservers.steamclient.proto +13 -29
- package/protos/steam/steammessages_inventory.steamclient.proto +21 -73
- package/protos/steam/steammessages_linkfilter.steamclient.proto +14 -24
- package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +1 -5
- package/protos/steam/steammessages_market.steamclient.proto +9 -13
- package/protos/steam/steammessages_marketingmessages.steamclient.proto +59 -60
- package/protos/steam/steammessages_offline.steamclient.proto +2 -9
- package/protos/steam/steammessages_parental.steamclient.proto +100 -66
- package/protos/steam/steammessages_parties.steamclient.proto +6 -25
- package/protos/steam/steammessages_partnerapps.steamclient.proto +11 -43
- package/protos/steam/steammessages_player.steamclient.proto +133 -278
- package/protos/steam/steammessages_publishedfile.steamclient.proto +213 -289
- package/protos/steam/steammessages_qms.steamclient.proto +4 -18
- package/protos/steam/steammessages_remoteclient.proto +2 -1
- package/protos/steam/steammessages_remoteclient_discovery.proto +9 -0
- package/protos/steam/steammessages_remoteclient_service.steamclient.proto +18 -73
- package/protos/steam/steammessages_remoteplay.proto +1 -2
- package/protos/steam/steammessages_secrets.steamclient.proto +1 -5
- package/protos/steam/steammessages_shader.steamclient.proto +6 -25
- package/protos/steam/steammessages_site_license.steamclient.proto +8 -33
- package/protos/steam/steammessages_steamtv.steamclient.proto +169 -266
- package/protos/steam/steammessages_store.steamclient.proto +110 -77
- package/protos/steam/steammessages_storebrowse.steamclient.proto +170 -115
- package/protos/steam/steammessages_timedtrial.steamclient.proto +3 -13
- package/protos/steam/steammessages_twofactor.steamclient.proto +92 -121
- package/protos/steam/steammessages_unified_base.steamclient.proto +12 -0
- package/protos/steam/steammessages_unified_test.steamclient.proto +10 -20
- package/protos/steam/steammessages_useraccount.steamclient.proto +26 -64
- package/protos/steam/steammessages_vac.steamclient.proto +2 -9
- package/protos/steam/steammessages_video.steamclient.proto +25 -128
- package/protos/steam/steammessages_workshop.steamclient.proto +1 -5
- package/protos/steam/webuimessages_achievements.proto +29 -0
- package/protos/steam/webuimessages_gamescope.proto +57 -0
- package/protos/steam/webuimessages_steamengine.proto +9 -0
- package/protos/steam/webuimessages_steamos.proto +114 -0
- package/protos/steam/webuimessages_transport.proto +4 -0
- package/protos/steam/webuimessages_transportvalidation.proto +14 -0
- package/test_steamclient.js +4 -3
- package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +0 -357
- package/protos/steam/renderer/rendermessages.proto +0 -893
- package/protos/steam/steammessages_star.steamclient.proto +0 -64
- package/protos/webui/common.proto +0 -5508
- package/protos/webui/common_base.proto +0 -27
- package/protos/webui/service_accountlinking.proto +0 -27
- package/protos/webui/service_accountprivacy.proto +0 -42
- package/protos/webui/service_auction.proto +0 -97
- package/protos/webui/service_authentication.proto +0 -222
- package/protos/webui/service_authenticationsupport.proto +0 -74
- package/protos/webui/service_broadcast.proto +0 -562
- package/protos/webui/service_chat.proto +0 -11
- package/protos/webui/service_chatroom.proto +0 -810
- package/protos/webui/service_chatusability.proto +0 -107
- package/protos/webui/service_clan.proto +0 -41
- package/protos/webui/service_clanchatrooms.proto +0 -25
- package/protos/webui/service_clanfaqs.proto +0 -202
- package/protos/webui/service_clientcomm.proto +0 -150
- package/protos/webui/service_clientmetrics.proto +0 -63
- package/protos/webui/service_cloud.proto +0 -222
- package/protos/webui/service_cloudconfigstore.proto +0 -51
- package/protos/webui/service_cloudgaming.proto +0 -30
- package/protos/webui/service_community.proto +0 -365
- package/protos/webui/service_econ.proto +0 -134
- package/protos/webui/service_embedded.proto +0 -24
- package/protos/webui/service_experimentservice.proto +0 -6
- package/protos/webui/service_fovasvideo.proto +0 -15
- package/protos/webui/service_friendmessages.proto +0 -133
- package/protos/webui/service_friendslist.proto +0 -70
- package/protos/webui/service_gamenotes.proto +0 -15
- package/protos/webui/service_helprequestlogs.proto +0 -26
- package/protos/webui/service_loyaltyrewards.proto +0 -252
- package/protos/webui/service_marketingmessages.proto +0 -184
- package/protos/webui/service_mobileapp.proto +0 -18
- package/protos/webui/service_mobileauth.proto +0 -24
- package/protos/webui/service_mobiledevice.proto +0 -26
- package/protos/webui/service_mobileperaccount.proto +0 -31
- package/protos/webui/service_news.proto +0 -101
- package/protos/webui/service_parental.proto +0 -178
- package/protos/webui/service_partnermembershipinvite.proto +0 -29
- package/protos/webui/service_partnerstorebrowse.proto +0 -6
- package/protos/webui/service_phone.proto +0 -51
- package/protos/webui/service_physicalgoods.proto +0 -15
- package/protos/webui/service_player.proto +0 -885
- package/protos/webui/service_promotioneventinvites.proto +0 -50
- package/protos/webui/service_promotionplanning.proto +0 -72
- package/protos/webui/service_publishedfile.proto +0 -687
- package/protos/webui/service_publishing.proto +0 -119
- package/protos/webui/service_quest.proto +0 -127
- package/protos/webui/service_salefeature.proto +0 -315
- package/protos/webui/service_saleitemrewards.proto +0 -54
- package/protos/webui/service_shoppingcart.proto +0 -108
- package/protos/webui/service_steamawards.proto +0 -19
- package/protos/webui/service_steamcharts.proto +0 -75
- package/protos/webui/service_steamengine.proto +0 -36
- package/protos/webui/service_steamlearn.proto +0 -727
- package/protos/webui/service_steamnotification.proto +0 -84
- package/protos/webui/service_steamtv.proto +0 -495
- package/protos/webui/service_steamvrvoicechat.proto +0 -67
- package/protos/webui/service_steamvrwebrtc.proto +0 -48
- package/protos/webui/service_storagedevicemanager.proto +0 -104
- package/protos/webui/service_store.proto +0 -289
- package/protos/webui/service_storeappsimilarity.proto +0 -76
- package/protos/webui/service_storebrowse.proto +0 -73
- package/protos/webui/service_storequery.proto +0 -97
- package/protos/webui/service_storesales.proto +0 -15
- package/protos/webui/service_storetopsellers.proto +0 -44
- package/protos/webui/service_systemmanager.proto +0 -11
- package/protos/webui/service_test_transporterror.proto +0 -6
- package/protos/webui/service_transportauth.proto +0 -12
- package/protos/webui/service_transportvalidation.proto +0 -69
- package/protos/webui/service_twofactor.proto +0 -181
- package/protos/webui/service_useraccount.proto +0 -138
- package/protos/webui/service_usergameactivity.proto +0 -34
- package/protos/webui/service_usergamenotes.proto +0 -53
- package/protos/webui/service_usernews.proto +0 -68
- package/protos/webui/service_userreviews.proto +0 -96
- package/protos/webui/service_video.proto +0 -128
- package/protos/webui/service_voicechat.proto +0 -139
- package/protos/webui/service_webrtc.proto +0 -52
@@ -4,112 +4,37 @@ import "steammessages_unified_base.steamclient.proto";
|
|
4
4
|
option cc_generic_services = true;
|
5
5
|
|
6
6
|
message CVideo_ClientGetVideoURL_Request {
|
7
|
-
optional uint64 video_id = 1
|
8
|
-
optional uint32 client_cellid = 2
|
7
|
+
optional uint64 video_id = 1;
|
8
|
+
optional uint32 client_cellid = 2;
|
9
9
|
}
|
10
10
|
|
11
11
|
message CVideo_ClientGetVideoURL_Response {
|
12
|
-
optional uint64 video_id = 1
|
13
|
-
optional string video_url = 2
|
12
|
+
optional uint64 video_id = 1;
|
13
|
+
optional string video_url = 2;
|
14
14
|
}
|
15
15
|
|
16
16
|
message VideoBookmark {
|
17
|
-
optional uint32 app_id = 1
|
18
|
-
optional uint32 playback_position_in_seconds = 2
|
19
|
-
optional uint64 video_track_id = 3
|
20
|
-
optional uint64 audio_track_id = 4
|
21
|
-
optional uint64 timedtext_track_id = 5
|
22
|
-
optional uint32 last_modified = 6
|
23
|
-
optional bool hide_from_watch_history = 7 [default = false
|
24
|
-
optional bool hide_from_library = 8 [default = false
|
17
|
+
optional uint32 app_id = 1;
|
18
|
+
optional uint32 playback_position_in_seconds = 2;
|
19
|
+
optional uint64 video_track_id = 3;
|
20
|
+
optional uint64 audio_track_id = 4;
|
21
|
+
optional uint64 timedtext_track_id = 5;
|
22
|
+
optional uint32 last_modified = 6;
|
23
|
+
optional bool hide_from_watch_history = 7 [default = false];
|
24
|
+
optional bool hide_from_library = 8 [default = false];
|
25
25
|
}
|
26
26
|
|
27
27
|
message CVideo_SetVideoBookmark_Notification {
|
28
|
-
repeated .VideoBookmark bookmarks = 1
|
28
|
+
repeated .VideoBookmark bookmarks = 1;
|
29
29
|
}
|
30
30
|
|
31
31
|
message CVideo_GetVideoBookmarks_Request {
|
32
|
-
repeated uint32 appids = 1
|
33
|
-
optional uint32 updated_since = 2
|
32
|
+
repeated uint32 appids = 1;
|
33
|
+
optional uint32 updated_since = 2;
|
34
34
|
}
|
35
35
|
|
36
36
|
message CVideo_GetVideoBookmarks_Response {
|
37
|
-
repeated .VideoBookmark bookmarks = 1
|
38
|
-
}
|
39
|
-
|
40
|
-
message CVideo_GameClipRepresentation {
|
41
|
-
optional string representation_name = 2 [(description) = "EG 480p30"];
|
42
|
-
optional uint32 horizontal_resolution = 3 [(description) = "Width in pixels if contains video"];
|
43
|
-
optional uint32 vertical_resolution = 4 [(description) = "Height in pixels if contains video"];
|
44
|
-
optional double frame_rate = 5 [(description) = "Frame Rate if contains video"];
|
45
|
-
optional uint32 bandwidth = 6 [(description) = "Kbps"];
|
46
|
-
optional uint32 audio_sample_rate = 7 [(description) = "Sample rate in Hz if contains audio"];
|
47
|
-
optional string frame_rate_string = 8 [(description) = "Frame Rate string if contains video"];
|
48
|
-
optional string codec = 9 [(description) = "codec(s) used"];
|
49
|
-
optional uint32 audio_channel_config = 10 [(description) = "audio channel config if relevant"];
|
50
|
-
}
|
51
|
-
|
52
|
-
message CVideo_GameClipComponent {
|
53
|
-
optional string component_name = 1 [(description) = "video/audio/etc"];
|
54
|
-
optional uint32 contents = 2 [(description) = "EVideoTrackContents"];
|
55
|
-
optional uint32 segment_size = 3 [(description) = "size of most segments (last may be shorter)"];
|
56
|
-
optional string file_type = 4 [(description) = "file type"];
|
57
|
-
repeated .CVideo_GameClipRepresentation representations = 5 [(description) = "list of representations"];
|
58
|
-
}
|
59
|
-
|
60
|
-
message CVideo_CreateGameClip_Request {
|
61
|
-
optional uint32 app_id = 1 [(description) = "app ID stream is tagged with"];
|
62
|
-
optional uint32 num_segments = 2 [(description) = "number of segments in this clip"];
|
63
|
-
optional uint32 length_milliseconds = 3 [(description) = "length of video in ms"];
|
64
|
-
optional uint32 segment_duration_timescale = 4 [(description) = "timescale (denominator) for segment duration below, eg 1000 for milliseconds"];
|
65
|
-
optional uint32 segment_duration = 5 [(description) = "length of most segments in 'timescale' units (last may be shorter)"];
|
66
|
-
repeated .CVideo_GameClipComponent components = 6 [(description) = "List of components"];
|
67
|
-
}
|
68
|
-
|
69
|
-
message CVideo_CreateGameClip_Response {
|
70
|
-
optional uint64 clip_id = 1 [(description) = "Clip ID if successful"];
|
71
|
-
}
|
72
|
-
|
73
|
-
message CVideo_GameClipSegmentInfo {
|
74
|
-
optional uint32 segment_number = 4 [(description) = "segment number"];
|
75
|
-
optional uint64 segment_size_bytes = 5 [(description) = "segment size in bytes"];
|
76
|
-
}
|
77
|
-
|
78
|
-
message CVideo_BeginGameClipSegmentsUpload_Request {
|
79
|
-
optional uint64 clip_id = 1 [(description) = "Clip ID"];
|
80
|
-
optional string component_name = 2 [(description) = "component segments belong to"];
|
81
|
-
optional string representation_name = 3 [(description) = "representation name"];
|
82
|
-
repeated .CVideo_GameClipSegmentInfo segments_to_store = 4 [(description) = "Segments the client has to upload"];
|
83
|
-
}
|
84
|
-
|
85
|
-
message CVideo_GameClipSegmentUploadInfo {
|
86
|
-
message HTTPHeaders {
|
87
|
-
optional string name = 1 [(description) = "HTTP header name"];
|
88
|
-
optional string value = 2 [(description) = "HTTP header value"];
|
89
|
-
}
|
90
|
-
|
91
|
-
optional .CVideo_GameClipSegmentInfo segment_info = 1 [(description) = "segment ID information"];
|
92
|
-
optional string url_host = 2 [(description) = "Host name of server to which file should be uploaded via HTTP PUT."];
|
93
|
-
optional string url_path = 3 [(description) = "Relative path on server to which file should be uploaded."];
|
94
|
-
optional bool use_https = 4 [(description) = "If true, use https, otherwise use http."];
|
95
|
-
repeated .CVideo_GameClipSegmentUploadInfo.HTTPHeaders request_headers = 5 [(description) = "Name-value pairs to be sent in HTTP PUT request."];
|
96
|
-
}
|
97
|
-
|
98
|
-
message CVideo_BeginGameClipSegmentsUpload_Response {
|
99
|
-
repeated .CVideo_GameClipSegmentUploadInfo segments_needed = 1 [(description) = "Segments that need uploading"];
|
100
|
-
optional bool call_again = 2 [(description) = "If true, you should ask again once you've uploaded the segments indicated in this response. There may be more we want. If there was no work to do in this response, then wait a few seconds before asking again"];
|
101
|
-
}
|
102
|
-
|
103
|
-
message CVideo_CommitGameClipSegmentsUpload_Request {
|
104
|
-
optional uint64 clip_id = 1 [(description) = "Clip ID"];
|
105
|
-
optional string component_name = 2 [(description) = "component segments belong to"];
|
106
|
-
optional string representation_name = 3 [(description) = "representation name"];
|
107
|
-
optional uint32 first_segment_number = 4 [(description) = "Segment Number of first segment uploaded in this batch"];
|
108
|
-
optional uint32 num_segments = 5 [(description) = "Number of segments in Batch"];
|
109
|
-
optional uint32 upload_result = 6 [(description) = "eresult of the upload attempt"];
|
110
|
-
}
|
111
|
-
|
112
|
-
message CVideo_CommitGameClipSegmentsUpload_Response {
|
37
|
+
repeated .VideoBookmark bookmarks = 1;
|
113
38
|
}
|
114
39
|
|
115
40
|
message CVideo_UnlockedH264_Notification {
|
@@ -117,55 +42,27 @@ message CVideo_UnlockedH264_Notification {
|
|
117
42
|
}
|
118
43
|
|
119
44
|
message CFovasVideo_ClientGetOPFSettings_Request {
|
120
|
-
optional uint32 app_id = 1
|
121
|
-
optional uint32 client_cellid = 2
|
45
|
+
optional uint32 app_id = 1;
|
46
|
+
optional uint32 client_cellid = 2;
|
122
47
|
}
|
123
48
|
|
124
49
|
message CFovasVideo_ClientGetOPFSettings_Response {
|
125
|
-
optional uint32 app_id = 1
|
126
|
-
optional string opf_settings = 2
|
50
|
+
optional uint32 app_id = 1;
|
51
|
+
optional string opf_settings = 2;
|
127
52
|
}
|
128
53
|
|
129
54
|
service Video {
|
130
|
-
|
131
|
-
|
132
|
-
rpc
|
133
|
-
option (method_description) = "Get the initial URL to begin streaming a video";
|
134
|
-
}
|
135
|
-
|
136
|
-
rpc SetVideoBookmark (.CVideo_SetVideoBookmark_Notification) returns (.NoResponse) {
|
137
|
-
option (method_description) = "Bookmarks the locations in the video the user has reached. As as record playback settings per video. Fire and forget.";
|
138
|
-
}
|
139
|
-
|
140
|
-
rpc GetVideoBookmarks (.CVideo_GetVideoBookmarks_Request) returns (.CVideo_GetVideoBookmarks_Response) {
|
141
|
-
option (method_description) = "Returns the video bookmarks locations for the specific videos. Includes playback settings per video";
|
142
|
-
}
|
143
|
-
|
144
|
-
rpc CreateGameClip (.CVideo_CreateGameClip_Request) returns (.CVideo_CreateGameClip_Response) {
|
145
|
-
option (method_description) = "Create a game recording clip video";
|
146
|
-
}
|
147
|
-
|
148
|
-
rpc BeginGameClipSegmentsUpload (.CVideo_BeginGameClipSegmentsUpload_Request) returns (.CVideo_BeginGameClipSegmentsUpload_Response) {
|
149
|
-
option (method_description) = "Begin a batch of segment uploads for a GameClip";
|
150
|
-
}
|
151
|
-
|
152
|
-
rpc CommitGameClipSegmentsUpload (.CVideo_CommitGameClipSegmentsUpload_Request) returns (.CVideo_CommitGameClipSegmentsUpload_Response) {
|
153
|
-
option (method_description) = "Note completion of a batch of GameClip segment uploads";
|
154
|
-
}
|
55
|
+
rpc ClientGetVideoURL (.CVideo_ClientGetVideoURL_Request) returns (.CVideo_ClientGetVideoURL_Response);
|
56
|
+
rpc SetVideoBookmark (.CVideo_SetVideoBookmark_Notification) returns (.NoResponse);
|
57
|
+
rpc GetVideoBookmarks (.CVideo_GetVideoBookmarks_Request) returns (.CVideo_GetVideoBookmarks_Response);
|
155
58
|
}
|
156
59
|
|
157
60
|
service VideoClient {
|
158
61
|
option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
|
159
62
|
|
160
|
-
rpc NotifyUnlockedH264 (.CVideo_UnlockedH264_Notification) returns (.NoResponse)
|
161
|
-
option (method_description) = "Notification from server to client that h264 has been unlocked";
|
162
|
-
}
|
63
|
+
rpc NotifyUnlockedH264 (.CVideo_UnlockedH264_Notification) returns (.NoResponse);
|
163
64
|
}
|
164
65
|
|
165
66
|
service FovasVideo {
|
166
|
-
|
167
|
-
|
168
|
-
rpc ClientGetOPFSettings (.CFovasVideo_ClientGetOPFSettings_Request) returns (.CFovasVideo_ClientGetOPFSettings_Response) {
|
169
|
-
option (method_description) = "Retrieve the OPF settings JSON blob. Available via the Client for 360 Player App";
|
170
|
-
}
|
67
|
+
rpc ClientGetOPFSettings (.CFovasVideo_ClientGetOPFSettings_Request) returns (.CFovasVideo_ClientGetOPFSettings_Response);
|
171
68
|
}
|
@@ -15,9 +15,5 @@ message CWorkshop_GetEULAStatus_Response {
|
|
15
15
|
}
|
16
16
|
|
17
17
|
service Workshop {
|
18
|
-
|
19
|
-
|
20
|
-
rpc GetEULAStatus (.CWorkshop_GetEULAStatus_Request) returns (.CWorkshop_GetEULAStatus_Response) {
|
21
|
-
option (method_description) = "Retrieve the status of the user's EULA acceptance.";
|
22
|
-
}
|
18
|
+
rpc GetEULAStatus (.CWorkshop_GetEULAStatus_Request) returns (.CWorkshop_GetEULAStatus_Response);
|
23
19
|
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "webuimessages_base.proto";
|
3
|
+
|
4
|
+
option optimize_for = SPEED;
|
5
|
+
option cc_generic_services = true;
|
6
|
+
|
7
|
+
message CAchievements_GetInfo_Request {
|
8
|
+
optional uint64 gameid = 1;
|
9
|
+
}
|
10
|
+
|
11
|
+
message CAchievements_GetInfo_Response {
|
12
|
+
message Info {
|
13
|
+
optional string id = 1;
|
14
|
+
optional string name = 2;
|
15
|
+
optional string desc = 3;
|
16
|
+
optional string image_url_achieved = 4;
|
17
|
+
optional string image_url_not_achieved = 5;
|
18
|
+
optional bool achieved = 6;
|
19
|
+
optional uint32 unlock_time = 7;
|
20
|
+
}
|
21
|
+
|
22
|
+
repeated .CAchievements_GetInfo_Response.Info achievements = 1;
|
23
|
+
}
|
24
|
+
|
25
|
+
service Achievements {
|
26
|
+
option (webui_service_execution_site) = k_EClientExecutionSiteClientdll;
|
27
|
+
|
28
|
+
rpc GetInfo (.CAchievements_GetInfo_Request) returns (.CAchievements_GetInfo_Response);
|
29
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import "enums.proto";
|
2
|
+
import "steammessages_base.proto";
|
3
|
+
import "webuimessages_base.proto";
|
4
|
+
|
5
|
+
option optimize_for = SPEED;
|
6
|
+
option cc_generic_services = true;
|
7
|
+
|
8
|
+
message CMsgDisplayInfo {
|
9
|
+
optional string make = 1;
|
10
|
+
optional string model = 2;
|
11
|
+
optional string connector_name = 3;
|
12
|
+
repeated int32 supported_refresh_rates = 4;
|
13
|
+
repeated int32 supported_frame_rates = 5;
|
14
|
+
optional bool is_external = 6;
|
15
|
+
optional bool is_hdr_capable = 7;
|
16
|
+
optional bool is_vrr_capable = 8;
|
17
|
+
}
|
18
|
+
|
19
|
+
message CMsgGamescopeState {
|
20
|
+
optional bool is_service_available = 1;
|
21
|
+
optional bool is_reshade_supported = 2;
|
22
|
+
optional bool is_app_hdr_enabled = 3;
|
23
|
+
optional bool is_app_refresh_rate_supported = 4;
|
24
|
+
optional .CMsgDisplayInfo active_display_info = 5;
|
25
|
+
optional bool is_app_refresh_rate_capable = 6;
|
26
|
+
optional bool is_refresh_rate_switching_supported = 7;
|
27
|
+
optional bool is_refresh_rate_switching_restricted = 8;
|
28
|
+
optional bool is_hdr_visualization_supported = 9;
|
29
|
+
optional bool is_mura_correction_supported = 10;
|
30
|
+
}
|
31
|
+
|
32
|
+
message CGamescope_GetState_Request {
|
33
|
+
}
|
34
|
+
|
35
|
+
message CGamescope_GetState_Response {
|
36
|
+
optional .CMsgGamescopeState state = 1;
|
37
|
+
}
|
38
|
+
|
39
|
+
message CGamescope_StateChanged_Notification {
|
40
|
+
}
|
41
|
+
|
42
|
+
message CGamescope_SetBlurParams_Request {
|
43
|
+
optional .EGamescopeBlurMode mode = 1 [default = k_EGamescopeBlurMode_Disabled];
|
44
|
+
optional int32 radius = 2;
|
45
|
+
optional int32 fade_duration_ms = 3;
|
46
|
+
}
|
47
|
+
|
48
|
+
message CGamescope_SetBlurParams_Response {
|
49
|
+
}
|
50
|
+
|
51
|
+
service Gamescope {
|
52
|
+
option (webui_service_execution_site) = k_EClientExecutionSiteSteamUI;
|
53
|
+
|
54
|
+
rpc GetState (.CGamescope_GetState_Request) returns (.CGamescope_GetState_Response);
|
55
|
+
rpc NotifyStateChanged (.CGamescope_StateChanged_Notification) returns (.WebUINoResponse);
|
56
|
+
rpc SetBlurParams (.CGamescope_SetBlurParams_Request) returns (.CGamescope_SetBlurParams_Response);
|
57
|
+
}
|
@@ -23,10 +23,19 @@ message CSteamEngine_TextFilterDictionaryChanged_Notification {
|
|
23
23
|
required string type = 2;
|
24
24
|
}
|
25
25
|
|
26
|
+
message CSteamEngine_GetGameIDForPID_Request {
|
27
|
+
optional uint32 pid = 1;
|
28
|
+
}
|
29
|
+
|
30
|
+
message CSteamEngine_GetGameIDForPID_Response {
|
31
|
+
optional uint64 gameid = 1;
|
32
|
+
}
|
33
|
+
|
26
34
|
service SteamEngine {
|
27
35
|
option (webui_service_execution_site) = k_EClientExecutionSiteClientdll;
|
28
36
|
|
29
37
|
rpc UpdateTextFilterDictionary (.CSteamEngine_UpdateTextFilterDictionary_Notification) returns (.WebUINoResponse);
|
30
38
|
rpc GetTextFilterDictionary (.CSteamEngine_GetTextFilterDictionary_Request) returns (.CSteamEngine_GetTextFilterDictionary_Response);
|
31
39
|
rpc NotifyTextFilterDictionaryChanged (.CSteamEngine_TextFilterDictionaryChanged_Notification) returns (.WebUINoResponse);
|
40
|
+
rpc GetGameIDForPID (.CSteamEngine_GetGameIDForPID_Request) returns (.CSteamEngine_GetGameIDForPID_Response);
|
32
41
|
}
|
@@ -0,0 +1,114 @@
|
|
1
|
+
import "enums.proto";
|
2
|
+
import "steammessages_base.proto";
|
3
|
+
import "webuimessages_base.proto";
|
4
|
+
|
5
|
+
option optimize_for = SPEED;
|
6
|
+
option cc_generic_services = true;
|
7
|
+
|
8
|
+
message CMsgFactoryResetState {
|
9
|
+
optional bool is_running = 1;
|
10
|
+
optional int32 progress = 2;
|
11
|
+
optional bool is_restart_pending = 3;
|
12
|
+
optional fixed32 rtime_estimated_completion = 4;
|
13
|
+
}
|
14
|
+
|
15
|
+
message CSteamOSManagerState {
|
16
|
+
optional bool is_service_available = 1;
|
17
|
+
optional string os_version = 2;
|
18
|
+
optional bool is_mandatory_update_available = 3;
|
19
|
+
optional .EStartupMovieVariant startup_movie_variant = 4 [default = k_EStartupMovieVariant_Invalid];
|
20
|
+
optional bool is_status_led_control_available = 5;
|
21
|
+
optional .CMsgFactoryResetState factory_reset_state = 6;
|
22
|
+
}
|
23
|
+
|
24
|
+
message CSteamOSManager_GetState_Request {
|
25
|
+
}
|
26
|
+
|
27
|
+
message CSteamOSManager_GetState_Response {
|
28
|
+
optional .CSteamOSManagerState state = 1;
|
29
|
+
}
|
30
|
+
|
31
|
+
message CSteamOSManager_StateChanged_Notification {
|
32
|
+
}
|
33
|
+
|
34
|
+
message CSteamOSManager_IsTelemetryHelperAvailable_Request {
|
35
|
+
optional .ESLSHelper etype = 1 [default = k_ESLSHelper_Invalid];
|
36
|
+
}
|
37
|
+
|
38
|
+
message CSteamOSManager_IsTelemetryHelperAvailable_Response {
|
39
|
+
optional bool available = 1;
|
40
|
+
}
|
41
|
+
|
42
|
+
message CSteamOSManager_OptOutOfSideloadedClient_Request {
|
43
|
+
}
|
44
|
+
|
45
|
+
message CSteamOSManager_OptOutOfSideloadedClient_Response {
|
46
|
+
}
|
47
|
+
|
48
|
+
message CSteamOSManager_ApplyMandatoryUpdate_Request {
|
49
|
+
}
|
50
|
+
|
51
|
+
message CSteamOSManager_ApplyMandatoryUpdate_Response {
|
52
|
+
}
|
53
|
+
|
54
|
+
message CSteamOSManager_FactoryReset_Request {
|
55
|
+
}
|
56
|
+
|
57
|
+
message CSteamOSManager_FactoryReset_Response {
|
58
|
+
}
|
59
|
+
|
60
|
+
message CSteamOSSLSPlugin {
|
61
|
+
optional .ESLSHelper etype = 1 [default = k_ESLSHelper_Invalid];
|
62
|
+
optional bool is_available = 2;
|
63
|
+
optional bool is_enabled = 3;
|
64
|
+
}
|
65
|
+
|
66
|
+
message CSteamOSSLSState {
|
67
|
+
optional bool is_available = 1;
|
68
|
+
optional bool is_enabled = 2;
|
69
|
+
repeated .CSteamOSSLSPlugin plugins = 3;
|
70
|
+
}
|
71
|
+
|
72
|
+
message CSteamOSSLS_GetState_Request {
|
73
|
+
}
|
74
|
+
|
75
|
+
message CSteamOSSLS_GetState_Response {
|
76
|
+
optional .CSteamOSSLSState state = 1;
|
77
|
+
}
|
78
|
+
|
79
|
+
message CSteamOSSLS_StateChanged_Notification {
|
80
|
+
}
|
81
|
+
|
82
|
+
message CSteamOSSLS_SetEnabled_Request {
|
83
|
+
optional bool enabled = 1;
|
84
|
+
}
|
85
|
+
|
86
|
+
message CSteamOSSLS_SetEnabled_Response {
|
87
|
+
}
|
88
|
+
|
89
|
+
message CSteamOSSLS_SetPluginEnabled_Request {
|
90
|
+
optional .ESLSHelper etype = 1 [default = k_ESLSHelper_Invalid];
|
91
|
+
optional bool enabled = 2;
|
92
|
+
}
|
93
|
+
|
94
|
+
message CSteamOSSLS_SetPluginEnabled_Response {
|
95
|
+
}
|
96
|
+
|
97
|
+
service SteamOSManager {
|
98
|
+
option (webui_service_execution_site) = k_EClientExecutionSiteSteamUI;
|
99
|
+
|
100
|
+
rpc GetState (.CSteamOSManager_GetState_Request) returns (.CSteamOSManager_GetState_Response);
|
101
|
+
rpc NotifyStateChanged (.CSteamOSManager_StateChanged_Notification) returns (.WebUINoResponse);
|
102
|
+
rpc OptOutOfSideloadedClient (.CSteamOSManager_OptOutOfSideloadedClient_Request) returns (.CSteamOSManager_OptOutOfSideloadedClient_Response);
|
103
|
+
rpc ApplyMandatoryUpdate (.CSteamOSManager_ApplyMandatoryUpdate_Request) returns (.CSteamOSManager_ApplyMandatoryUpdate_Response);
|
104
|
+
rpc FactoryReset (.CSteamOSManager_FactoryReset_Request) returns (.CSteamOSManager_FactoryReset_Response);
|
105
|
+
}
|
106
|
+
|
107
|
+
service SteamOSSLS {
|
108
|
+
option (webui_service_execution_site) = k_EClientExecutionSiteSteamUI;
|
109
|
+
|
110
|
+
rpc GetState (.CSteamOSSLS_GetState_Request) returns (.CSteamOSSLS_GetState_Response);
|
111
|
+
rpc NotifyStateChanged (.CSteamOSSLS_StateChanged_Notification) returns (.WebUINoResponse);
|
112
|
+
rpc SetEnabled (.CSteamOSSLS_SetEnabled_Request) returns (.CSteamOSSLS_SetEnabled_Response);
|
113
|
+
rpc SetPluginEnabled (.CSteamOSSLS_SetPluginEnabled_Request) returns (.CSteamOSSLS_SetPluginEnabled_Response);
|
114
|
+
}
|
@@ -11,8 +11,12 @@ message CTransportAuth_Authenticate_Request {
|
|
11
11
|
message CTransportAuth_Authenticate_Response {
|
12
12
|
}
|
13
13
|
|
14
|
+
message CTransportAuth_StartShutdown_Notification {
|
15
|
+
}
|
16
|
+
|
14
17
|
service TransportAuth {
|
15
18
|
option (webui_service_execution_site) = k_EClientExecutionSiteAny;
|
16
19
|
|
17
20
|
rpc Authenticate (.CTransportAuth_Authenticate_Request) returns (.CTransportAuth_Authenticate_Response);
|
21
|
+
rpc NotifyStartShutdown (.CTransportAuth_StartShutdown_Notification) returns (.WebUINoResponse);
|
18
22
|
}
|
@@ -68,6 +68,18 @@ message CTransportValidation_CountOrderedBytes_Response {
|
|
68
68
|
optional int32 byte_count = 1;
|
69
69
|
}
|
70
70
|
|
71
|
+
message CTransportValidation_ThreadedCount_Request {
|
72
|
+
optional int32 start_num = 1;
|
73
|
+
optional int32 end_num = 2;
|
74
|
+
}
|
75
|
+
|
76
|
+
message CTransportValidation_ThreadedCount_Response {
|
77
|
+
}
|
78
|
+
|
79
|
+
message CTransportValidation_NotifyCount_Notification {
|
80
|
+
optional int32 num = 1;
|
81
|
+
}
|
82
|
+
|
71
83
|
message CTransportValidationClient_AddNumbers_Request {
|
72
84
|
repeated int32 numbers = 1;
|
73
85
|
}
|
@@ -88,6 +100,8 @@ service TransportValidation {
|
|
88
100
|
rpc NotifySyntheticEvent (.CTransportValidation_NotifySyntheticEvent_Notification) returns (.WebUINoResponse);
|
89
101
|
rpc TriggerSyntheticEvents (.CTransportValidation_TriggerSyntheticEvents_Request) returns (.CTransportValidation_TriggerSyntheticEvents_Response);
|
90
102
|
rpc CountOrderedBytes (.CTransportValidation_CountOrderedBytes_Request) returns (.CTransportValidation_CountOrderedBytes_Response);
|
103
|
+
rpc ThreadedCount (.CTransportValidation_ThreadedCount_Request) returns (.CTransportValidation_ThreadedCount_Response);
|
104
|
+
rpc NotifyCount (.CTransportValidation_NotifyCount_Notification) returns (.WebUINoResponse);
|
91
105
|
}
|
92
106
|
|
93
107
|
service TransportValidationClient {
|
package/test_steamclient.js
CHANGED
@@ -2,12 +2,13 @@ import SteamClient from "./SteamClient.js";
|
|
2
2
|
|
3
3
|
(async function () {
|
4
4
|
const steamClient = new SteamClient({
|
5
|
-
cookie: "
|
5
|
+
cookie: "xxx",
|
6
6
|
isAutoPlay: true,
|
7
7
|
isAutoRequestFreeLicense: true,
|
8
8
|
});
|
9
|
-
steamClient.onEvent("csgoOnline", function (data) {
|
10
|
-
|
9
|
+
steamClient.onEvent("csgoOnline", async function (data) {
|
10
|
+
const profile = await steamClient.getPlayersProfile("76561199186152897");
|
11
|
+
console.log(profile); //rank_type_id 11 rank_id
|
11
12
|
});
|
12
13
|
steamClient.init();
|
13
14
|
})();
|