steamutils 1.0.5 → 1.0.7
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/SteamClient.js +47 -3
- 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,156 @@
|
|
1
|
+
option optimize_for = SPEED;
|
2
|
+
option cc_generic_services = false;
|
3
|
+
|
4
|
+
enum EHIDDeviceLocation {
|
5
|
+
k_EDeviceLocationLocal = 0;
|
6
|
+
k_EDeviceLocationRemote = 2;
|
7
|
+
k_EDeviceLocationAny = 3;
|
8
|
+
}
|
9
|
+
|
10
|
+
enum EHIDDeviceDisconnectMethod {
|
11
|
+
k_EDeviceDisconnectMethodUnknown = 0;
|
12
|
+
k_EDeviceDisconnectMethodBluetooth = 1;
|
13
|
+
k_EDeviceDisconnectMethodFeatureReport = 2;
|
14
|
+
k_EDeviceDisconnectMethodOutputReport = 3;
|
15
|
+
}
|
16
|
+
|
17
|
+
message CHIDDeviceInfo {
|
18
|
+
optional .EHIDDeviceLocation location = 1 [default = k_EDeviceLocationLocal];
|
19
|
+
optional string path = 2;
|
20
|
+
optional uint32 vendor_id = 3;
|
21
|
+
optional uint32 product_id = 4;
|
22
|
+
optional string serial_number = 5;
|
23
|
+
optional uint32 release_number = 6;
|
24
|
+
optional string manufacturer_string = 7;
|
25
|
+
optional string product_string = 8;
|
26
|
+
optional uint32 usage_page = 9;
|
27
|
+
optional uint32 usage = 10;
|
28
|
+
optional int32 interface_number = 11 [default = -1];
|
29
|
+
optional int32 ostype = 12 [default = -1];
|
30
|
+
optional bool is_generic_gamepad = 13;
|
31
|
+
optional bool is_generic_joystick = 14;
|
32
|
+
optional uint32 caps_bits = 15;
|
33
|
+
optional uint32 session_id = 16;
|
34
|
+
optional uint32 eControllerType = 17 [default = 0];
|
35
|
+
optional bool is_xinput_device = 18 [default = false];
|
36
|
+
optional uint32 session_remote_play_together_appid = 19;
|
37
|
+
}
|
38
|
+
|
39
|
+
message CHIDDeviceInputReport {
|
40
|
+
optional bytes full_report = 1;
|
41
|
+
optional bytes delta_report = 2;
|
42
|
+
optional uint32 delta_report_size = 3;
|
43
|
+
optional uint32 delta_report_crc = 4;
|
44
|
+
}
|
45
|
+
|
46
|
+
message CHIDMessageToRemote {
|
47
|
+
message DeviceOpen {
|
48
|
+
optional .CHIDDeviceInfo info = 1;
|
49
|
+
}
|
50
|
+
|
51
|
+
message DeviceClose {
|
52
|
+
optional uint32 device = 1;
|
53
|
+
}
|
54
|
+
|
55
|
+
message DeviceWrite {
|
56
|
+
optional uint32 device = 1;
|
57
|
+
optional bytes data = 2;
|
58
|
+
}
|
59
|
+
|
60
|
+
message DeviceRead {
|
61
|
+
optional uint32 device = 1;
|
62
|
+
optional uint32 length = 2;
|
63
|
+
optional int32 timeout_ms = 3;
|
64
|
+
}
|
65
|
+
|
66
|
+
message DeviceSendFeatureReport {
|
67
|
+
optional uint32 device = 1;
|
68
|
+
optional bytes data = 2;
|
69
|
+
}
|
70
|
+
|
71
|
+
message DeviceGetFeatureReport {
|
72
|
+
optional uint32 device = 1;
|
73
|
+
optional bytes report_number = 2;
|
74
|
+
optional uint32 length = 3;
|
75
|
+
}
|
76
|
+
|
77
|
+
message DeviceGetVendorString {
|
78
|
+
optional uint32 device = 1;
|
79
|
+
}
|
80
|
+
|
81
|
+
message DeviceGetProductString {
|
82
|
+
optional uint32 device = 1;
|
83
|
+
}
|
84
|
+
|
85
|
+
message DeviceGetSerialNumberString {
|
86
|
+
optional uint32 device = 1;
|
87
|
+
}
|
88
|
+
|
89
|
+
message DeviceStartInputReports {
|
90
|
+
optional uint32 device = 1;
|
91
|
+
optional uint32 length = 2;
|
92
|
+
}
|
93
|
+
|
94
|
+
message DeviceRequestFullReport {
|
95
|
+
optional uint32 device = 1;
|
96
|
+
}
|
97
|
+
|
98
|
+
message DeviceDisconnect {
|
99
|
+
optional uint32 device = 1;
|
100
|
+
optional .EHIDDeviceDisconnectMethod disconnectMethod = 2 [default = k_EDeviceDisconnectMethodUnknown];
|
101
|
+
optional bytes data = 3;
|
102
|
+
}
|
103
|
+
|
104
|
+
optional uint32 request_id = 1;
|
105
|
+
|
106
|
+
oneof command {
|
107
|
+
.CHIDMessageToRemote.DeviceOpen device_open = 2;
|
108
|
+
.CHIDMessageToRemote.DeviceClose device_close = 3;
|
109
|
+
.CHIDMessageToRemote.DeviceWrite device_write = 4;
|
110
|
+
.CHIDMessageToRemote.DeviceRead device_read = 5;
|
111
|
+
.CHIDMessageToRemote.DeviceSendFeatureReport device_send_feature_report = 6;
|
112
|
+
.CHIDMessageToRemote.DeviceGetFeatureReport device_get_feature_report = 7;
|
113
|
+
.CHIDMessageToRemote.DeviceGetVendorString device_get_vendor_string = 8;
|
114
|
+
.CHIDMessageToRemote.DeviceGetProductString device_get_product_string = 9;
|
115
|
+
.CHIDMessageToRemote.DeviceGetSerialNumberString device_get_serial_number_string = 10;
|
116
|
+
.CHIDMessageToRemote.DeviceStartInputReports device_start_input_reports = 11;
|
117
|
+
.CHIDMessageToRemote.DeviceRequestFullReport device_request_full_report = 12;
|
118
|
+
.CHIDMessageToRemote.DeviceDisconnect device_disconnect = 13;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
message CHIDMessageFromRemote {
|
123
|
+
message UpdateDeviceList {
|
124
|
+
repeated .CHIDDeviceInfo devices = 1;
|
125
|
+
}
|
126
|
+
|
127
|
+
message RequestResponse {
|
128
|
+
optional uint32 request_id = 1;
|
129
|
+
optional int32 result = 2;
|
130
|
+
optional bytes data = 3;
|
131
|
+
}
|
132
|
+
|
133
|
+
message DeviceInputReports {
|
134
|
+
message DeviceInputReport {
|
135
|
+
optional uint32 device = 1;
|
136
|
+
repeated .CHIDDeviceInputReport reports = 2;
|
137
|
+
}
|
138
|
+
|
139
|
+
repeated .CHIDMessageFromRemote.DeviceInputReports.DeviceInputReport device_reports = 1;
|
140
|
+
}
|
141
|
+
|
142
|
+
message CloseDevice {
|
143
|
+
optional uint32 device = 1;
|
144
|
+
}
|
145
|
+
|
146
|
+
message CloseAllDevices {
|
147
|
+
}
|
148
|
+
|
149
|
+
oneof command {
|
150
|
+
.CHIDMessageFromRemote.UpdateDeviceList update_device_list = 1;
|
151
|
+
.CHIDMessageFromRemote.RequestResponse response = 2;
|
152
|
+
.CHIDMessageFromRemote.DeviceInputReports reports = 3;
|
153
|
+
.CHIDMessageFromRemote.CloseDevice close_device = 4;
|
154
|
+
.CHIDMessageFromRemote.CloseAllDevices close_all_devices = 5;
|
155
|
+
}
|
156
|
+
}
|
@@ -0,0 +1,224 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "steammessages_unified_base.steamclient.proto";
|
3
|
+
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
message CInventory_GetInventory_Request {
|
7
|
+
optional uint32 appid = 1;
|
8
|
+
optional uint64 steamid = 2;
|
9
|
+
}
|
10
|
+
|
11
|
+
message CInventory_Response {
|
12
|
+
optional string etag = 1;
|
13
|
+
repeated uint64 removeditemids = 2;
|
14
|
+
optional string item_json = 3;
|
15
|
+
optional string itemdef_json = 4;
|
16
|
+
optional bytes ticket = 5;
|
17
|
+
optional bool replayed = 6 [(description) = "If true, the requestid given was processed earlier."];
|
18
|
+
}
|
19
|
+
|
20
|
+
message CInventory_ExchangeItem_Request {
|
21
|
+
optional uint32 appid = 1;
|
22
|
+
optional uint64 steamid = 2;
|
23
|
+
repeated uint64 materialsitemid = 3;
|
24
|
+
repeated uint32 materialsquantity = 4;
|
25
|
+
optional uint64 outputitemdefid = 5;
|
26
|
+
}
|
27
|
+
|
28
|
+
message CInventory_GetEligiblePromoItemDefIDs_Request {
|
29
|
+
optional uint32 appid = 1;
|
30
|
+
optional uint64 steamid = 2;
|
31
|
+
}
|
32
|
+
|
33
|
+
message CInventory_GetEligiblePromoItemDefIDs_Response {
|
34
|
+
repeated uint64 itemdefids = 1;
|
35
|
+
}
|
36
|
+
|
37
|
+
message CInventory_AddItem_Request {
|
38
|
+
optional uint32 appid = 1;
|
39
|
+
repeated uint64 itemdefid = 2;
|
40
|
+
repeated string itempropsjson = 3;
|
41
|
+
optional uint64 steamid = 4;
|
42
|
+
optional bool notify = 5 [(description) = "Should notify the user that the item was added to their Steam Inventory."];
|
43
|
+
optional uint64 requestid = 6;
|
44
|
+
optional bool trade_restriction = 7 [(description) = "If true, apply the default trade and market restriction times to this item."];
|
45
|
+
optional bool is_purchase = 8 [default = false, (description) = "If set, treat requestid as a txnid and create this item as a result of user microtransaction purchase."];
|
46
|
+
}
|
47
|
+
|
48
|
+
message CInventory_ModifyItems_Request {
|
49
|
+
message ItemPropertyUpdate {
|
50
|
+
optional uint64 itemid = 1;
|
51
|
+
optional bool remove_property = 2;
|
52
|
+
optional string property_name = 3;
|
53
|
+
optional bool property_value_bool = 4;
|
54
|
+
optional int64 property_value_int = 5;
|
55
|
+
optional string property_value_string = 6;
|
56
|
+
optional float property_value_float = 7;
|
57
|
+
}
|
58
|
+
|
59
|
+
optional uint32 appid = 1;
|
60
|
+
optional uint64 steamid = 2;
|
61
|
+
repeated .CInventory_ModifyItems_Request.ItemPropertyUpdate updates = 3;
|
62
|
+
optional uint32 timestamp = 4;
|
63
|
+
}
|
64
|
+
|
65
|
+
message CInventory_ConsumePlaytime_Request {
|
66
|
+
optional uint32 appid = 1;
|
67
|
+
optional uint64 itemdefid = 2;
|
68
|
+
}
|
69
|
+
|
70
|
+
message CInventory_ConsumeItem_Request {
|
71
|
+
optional uint32 appid = 1;
|
72
|
+
optional uint64 itemid = 2;
|
73
|
+
optional uint32 quantity = 3;
|
74
|
+
optional string timestamp = 4;
|
75
|
+
optional uint64 steamid = 5;
|
76
|
+
optional uint64 requestid = 6;
|
77
|
+
}
|
78
|
+
|
79
|
+
message CInventory_DevSetNextDrop_Request {
|
80
|
+
optional uint32 appid = 1;
|
81
|
+
optional uint64 itemdefid = 2;
|
82
|
+
optional string droptime = 3;
|
83
|
+
}
|
84
|
+
|
85
|
+
message CInventory_SplitItemStack_Request {
|
86
|
+
optional uint32 appid = 1;
|
87
|
+
optional uint64 itemid = 2;
|
88
|
+
optional uint32 quantity = 3;
|
89
|
+
optional uint64 steamid = 5;
|
90
|
+
}
|
91
|
+
|
92
|
+
message CInventory_CombineItemStacks_Request {
|
93
|
+
optional uint32 appid = 1;
|
94
|
+
optional uint64 fromitemid = 2;
|
95
|
+
optional uint64 destitemid = 3;
|
96
|
+
optional uint32 quantity = 4;
|
97
|
+
optional fixed64 steamid = 7;
|
98
|
+
}
|
99
|
+
|
100
|
+
message CInventory_GetItemDefMeta_Request {
|
101
|
+
optional uint32 appid = 1;
|
102
|
+
}
|
103
|
+
|
104
|
+
message CInventory_GetItemDefMeta_Response {
|
105
|
+
optional uint32 modified = 1;
|
106
|
+
optional string digest = 2;
|
107
|
+
}
|
108
|
+
|
109
|
+
message CInventory_GetUserPurchaseInfo_Request {
|
110
|
+
}
|
111
|
+
|
112
|
+
message CInventory_GetUserPurchaseInfo_Response {
|
113
|
+
optional int32 ecurrency = 1;
|
114
|
+
}
|
115
|
+
|
116
|
+
message CInventory_PurchaseInit_Request {
|
117
|
+
message LineItem {
|
118
|
+
optional uint64 itemdefid = 1;
|
119
|
+
optional uint32 quantity = 2;
|
120
|
+
}
|
121
|
+
|
122
|
+
optional uint32 appid = 1;
|
123
|
+
optional int32 language = 2;
|
124
|
+
repeated .CInventory_PurchaseInit_Request.LineItem line_items = 3;
|
125
|
+
}
|
126
|
+
|
127
|
+
message CInventory_PurchaseInit_Response {
|
128
|
+
optional uint64 orderid = 1;
|
129
|
+
optional uint64 transid = 2;
|
130
|
+
}
|
131
|
+
|
132
|
+
message CInventory_PurchaseFinalize_Request {
|
133
|
+
optional uint32 appid = 1;
|
134
|
+
optional int32 language = 2;
|
135
|
+
optional uint64 orderid = 3;
|
136
|
+
}
|
137
|
+
|
138
|
+
message CInventory_InspectItem_Request {
|
139
|
+
optional uint64 itemdefid = 1;
|
140
|
+
optional fixed64 itemid = 2;
|
141
|
+
optional string tags = 3;
|
142
|
+
}
|
143
|
+
|
144
|
+
message CInventoryClient_NewItems_Notification {
|
145
|
+
optional uint32 appid = 1;
|
146
|
+
optional .CInventory_Response inventory_response = 2;
|
147
|
+
}
|
148
|
+
|
149
|
+
service Inventory {
|
150
|
+
option (service_description) = "A service that provides access to inventory";
|
151
|
+
|
152
|
+
rpc GetInventory (.CInventory_GetInventory_Request) returns (.CInventory_Response) {
|
153
|
+
option (method_description) = "Retrieves a users inventory as a big JSON blob";
|
154
|
+
}
|
155
|
+
|
156
|
+
rpc ExchangeItem (.CInventory_ExchangeItem_Request) returns (.CInventory_Response) {
|
157
|
+
option (method_description) = "Craft an item in a user's inventory";
|
158
|
+
}
|
159
|
+
|
160
|
+
rpc GetEligiblePromoItemDefIDs (.CInventory_GetEligiblePromoItemDefIDs_Request) returns (.CInventory_GetEligiblePromoItemDefIDs_Response) {
|
161
|
+
option (method_description) = "Returns a list of promo item defs the user is eligible for";
|
162
|
+
}
|
163
|
+
|
164
|
+
rpc AddPromoItem (.CInventory_AddItem_Request) returns (.CInventory_Response) {
|
165
|
+
option (method_description) = "Adds a promo item to a user's inventory";
|
166
|
+
}
|
167
|
+
|
168
|
+
rpc SafeModifyItems (.CInventory_ModifyItems_Request) returns (.CInventory_Response) {
|
169
|
+
option (method_description) = "Modify an item in a user's inventory (safe properties only)";
|
170
|
+
}
|
171
|
+
|
172
|
+
rpc ConsumePlaytime (.CInventory_ConsumePlaytime_Request) returns (.CInventory_Response) {
|
173
|
+
option (method_description) = "Consumes playtime and possibly returns a granted item";
|
174
|
+
}
|
175
|
+
|
176
|
+
rpc ConsumeItem (.CInventory_ConsumeItem_Request) returns (.CInventory_Response) {
|
177
|
+
option (method_description) = "Consume an item";
|
178
|
+
}
|
179
|
+
|
180
|
+
rpc DevGenerateItem (.CInventory_AddItem_Request) returns (.CInventory_Response) {
|
181
|
+
option (method_description) = "Grant an item when in developer mode";
|
182
|
+
}
|
183
|
+
|
184
|
+
rpc DevSetNextDrop (.CInventory_DevSetNextDrop_Request) returns (.CInventory_Response) {
|
185
|
+
option (method_description) = "Consume an item";
|
186
|
+
}
|
187
|
+
|
188
|
+
rpc SplitItemStack (.CInventory_SplitItemStack_Request) returns (.CInventory_Response) {
|
189
|
+
option (method_description) = "Split an item stack into two stacks";
|
190
|
+
}
|
191
|
+
|
192
|
+
rpc CombineItemStacks (.CInventory_CombineItemStacks_Request) returns (.CInventory_Response) {
|
193
|
+
option (method_description) = "Combine two stacks of items";
|
194
|
+
}
|
195
|
+
|
196
|
+
rpc GetItemDefMeta (.CInventory_GetItemDefMeta_Request) returns (.CInventory_GetItemDefMeta_Response) {
|
197
|
+
option (method_description) = "Get metadata about the current item definition for this game.";
|
198
|
+
}
|
199
|
+
|
200
|
+
rpc GetUserPurchaseInfo (.CInventory_GetUserPurchaseInfo_Request) returns (.CInventory_GetUserPurchaseInfo_Response) {
|
201
|
+
option (method_description) = "Returns information about the user such as their currency";
|
202
|
+
}
|
203
|
+
|
204
|
+
rpc PurchaseInit (.CInventory_PurchaseInit_Request) returns (.CInventory_PurchaseInit_Response) {
|
205
|
+
option (method_description) = "Initializes a purchase for the user";
|
206
|
+
}
|
207
|
+
|
208
|
+
rpc PurchaseFinalize (.CInventory_PurchaseFinalize_Request) returns (.CInventory_Response) {
|
209
|
+
option (method_description) = "Finalizes a purchase for the user";
|
210
|
+
}
|
211
|
+
|
212
|
+
rpc InspectItem (.CInventory_InspectItem_Request) returns (.CInventory_Response) {
|
213
|
+
option (method_description) = "Get item detail given a valid inspection token";
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
service InventoryClient {
|
218
|
+
option (service_description) = "Client notifications inventory service events";
|
219
|
+
option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
|
220
|
+
|
221
|
+
rpc NotifyNewItems (.CInventoryClient_NewItems_Notification) returns (.NoResponse) {
|
222
|
+
option (method_description) = "Notify client that the user received new items";
|
223
|
+
}
|
224
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "steammessages_unified_base.steamclient.proto";
|
3
|
+
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
message CCommunity_GetLinkFilterHashPrefixes_Request {
|
7
|
+
optional uint32 hit_type = 1 [(description) = "The retrieved hits will be filtered to this type."];
|
8
|
+
optional uint32 count = 2 [(description) = "The number of hits to retrieve in a single batch. Specify 0 for no limit."];
|
9
|
+
optional uint64 start = 3 [(description) = "The starting count when retrieving hits in batches."];
|
10
|
+
}
|
11
|
+
|
12
|
+
message CCommunity_GetLinkFilterHashPrefixes_Response {
|
13
|
+
repeated uint32 hash_prefixes = 1 [(description) = "The first 32 bits of the SHA1 hashes of each hit requested."];
|
14
|
+
}
|
15
|
+
|
16
|
+
message CCommunity_GetLinkFilterHashes_Request {
|
17
|
+
optional uint32 hit_type = 1 [(description) = "The retrieved hits will be filtered to this type."];
|
18
|
+
optional uint32 count = 2 [(description) = "The number of hits to retrieve in a single batch. Specify 0 for no limit."];
|
19
|
+
optional uint64 start = 3 [(description) = "The starting count when retrieving hits in batches."];
|
20
|
+
}
|
21
|
+
|
22
|
+
message CCommunity_GetLinkFilterHashes_Response {
|
23
|
+
repeated bytes hashes = 1 [(description) = "A list of hashes returned from our request."];
|
24
|
+
}
|
25
|
+
|
26
|
+
message CCommunity_GetLinkFilterListVersion_Request {
|
27
|
+
optional uint32 hit_type = 1 [(description) = "The version hashes for this type's chunks will be returned."];
|
28
|
+
}
|
29
|
+
|
30
|
+
message CCommunity_GetLinkFilterListVersion_Response {
|
31
|
+
optional string version = 1 [(description) = "A hash built using the IDs of the contained hits."];
|
32
|
+
optional uint64 count = 2 [(description) = "The number of hits of this type"];
|
33
|
+
}
|
34
|
+
|
35
|
+
service CommunityLinkFilter {
|
36
|
+
option (service_description) = "A service for recording data about Steam Community phishing link filtering";
|
37
|
+
|
38
|
+
rpc GetLinkFilterHashPrefixes (.CCommunity_GetLinkFilterHashPrefixes_Request) returns (.CCommunity_GetLinkFilterHashPrefixes_Response) {
|
39
|
+
option (method_description) = "Get a list of hash prefixes for the specified hit type, to use for client caching.";
|
40
|
+
}
|
41
|
+
|
42
|
+
rpc GetLinkFilterHashes (.CCommunity_GetLinkFilterHashes_Request) returns (.CCommunity_GetLinkFilterHashes_Response) {
|
43
|
+
option (method_description) = "Get a list of hashes for the specified hit type, to use for client caching.";
|
44
|
+
}
|
45
|
+
|
46
|
+
rpc GetLinkFilterListVersion (.CCommunity_GetLinkFilterListVersion_Request) returns (.CCommunity_GetLinkFilterListVersion_Response) {
|
47
|
+
option (method_description) = "Get a list of hashes describing the version of each chunk of the requested size.";
|
48
|
+
}
|
49
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "steammessages_unified_base.steamclient.proto";
|
3
|
+
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
enum ELobbyStatus {
|
7
|
+
k_ELobbyStatusInvalid = 0;
|
8
|
+
k_ELobbyStatusExists = 1;
|
9
|
+
k_ELobbyStatusDoesNotExist = 2;
|
10
|
+
k_ELobbyStatusNotAMember = 3;
|
11
|
+
}
|
12
|
+
|
13
|
+
message LobbyMatchmakingLegacy_GetLobbyStatus_Request {
|
14
|
+
optional uint32 app_id = 1;
|
15
|
+
optional fixed64 steamid_lobby = 2;
|
16
|
+
optional bool claim_ownership = 3;
|
17
|
+
optional bool claim_membership = 4;
|
18
|
+
optional uint32 version_num = 5;
|
19
|
+
}
|
20
|
+
|
21
|
+
message LobbyMatchmakingLegacy_GetLobbyStatus_Response {
|
22
|
+
optional uint32 app_id = 1;
|
23
|
+
optional fixed64 steamid_lobby = 2;
|
24
|
+
optional .ELobbyStatus lobby_status = 3 [default = k_ELobbyStatusInvalid];
|
25
|
+
}
|
26
|
+
|
27
|
+
service LobbyMatchmakingLegacy {
|
28
|
+
option (service_description) = "Lobby matchmaking legacy service";
|
29
|
+
|
30
|
+
rpc GetLobbyStatus (.LobbyMatchmakingLegacy_GetLobbyStatus_Request) returns (.LobbyMatchmakingLegacy_GetLobbyStatus_Response) {
|
31
|
+
option (method_description) = "GetLobbyStatus";
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "steammessages_unified_base.steamclient.proto";
|
3
|
+
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
message CEconMarket_IsMarketplaceAllowed_Request {
|
7
|
+
optional string webcookie = 1 [(description) = "The user's Steam Guard machine auth cookie."];
|
8
|
+
}
|
9
|
+
|
10
|
+
message CEconMarket_IsMarketplaceAllowed_Response {
|
11
|
+
optional bool allowed = 1 [(description) = "Whether or not the user is allowed to use the market"];
|
12
|
+
optional uint32 reason = 2 [(description) = "The reason the user can't use the market, if applicable"];
|
13
|
+
optional uint32 allowed_at_time = 3 [(description) = "The time the user will be allowed to use the market"];
|
14
|
+
optional uint32 steamguard_required_days = 4 [(description) = "The number of days any user is required to have had Steam Guard before they can use the market"];
|
15
|
+
optional bool forms_requested = 7 [(description) = "Whether or not we've requested the user fill out tax forms"];
|
16
|
+
optional bool forms_require_verification = 8 [(description) = "True if we've received forms but they require verification first"];
|
17
|
+
optional uint32 new_device_cooldown_days = 9 [(description) = "The number of days after initial device authorization a user must wait before using the market on that device"];
|
18
|
+
}
|
19
|
+
|
20
|
+
service EconMarket {
|
21
|
+
option (service_description) = "A service to use market functions";
|
22
|
+
|
23
|
+
rpc IsMarketplaceAllowed (.CEconMarket_IsMarketplaceAllowed_Request) returns (.CEconMarket_IsMarketplaceAllowed_Response) {
|
24
|
+
option (method_description) = "Checks whether or not the authed account is allowed to use the market";
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "steammessages_unified_base.steamclient.proto";
|
3
|
+
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
message COffline_GetOfflineLogonTicket_Request {
|
7
|
+
optional uint32 priority = 1;
|
8
|
+
}
|
9
|
+
|
10
|
+
message COffline_GetOfflineLogonTicket_Response {
|
11
|
+
optional bytes serialized_ticket = 1;
|
12
|
+
optional bytes signature = 2;
|
13
|
+
}
|
14
|
+
|
15
|
+
message COffline_GetUnsignedOfflineLogonTicket_Request {
|
16
|
+
}
|
17
|
+
|
18
|
+
message COffline_OfflineLogonTicket {
|
19
|
+
optional uint32 accountid = 1;
|
20
|
+
optional fixed32 rtime32_creation_time = 2;
|
21
|
+
}
|
22
|
+
|
23
|
+
message COffline_GetUnsignedOfflineLogonTicket_Response {
|
24
|
+
optional .COffline_OfflineLogonTicket ticket = 1;
|
25
|
+
}
|
26
|
+
|
27
|
+
service Offline {
|
28
|
+
option (service_description) = "Offline settings service";
|
29
|
+
|
30
|
+
rpc GetOfflineLogonTicket (.COffline_GetOfflineLogonTicket_Request) returns (.COffline_GetOfflineLogonTicket_Response) {
|
31
|
+
option (method_description) = "Get a serialized and signed offline logon ticket for the current user";
|
32
|
+
}
|
33
|
+
|
34
|
+
rpc GetUnsignedOfflineLogonTicket (.COffline_GetUnsignedOfflineLogonTicket_Request) returns (.COffline_GetUnsignedOfflineLogonTicket_Response) {
|
35
|
+
option (method_description) = "Get an unsigned offline logon ticket for the current user";
|
36
|
+
}
|
37
|
+
}
|