steamutils 1.2.50 → 1.2.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  2. package/.idea/steamutils.iml +1 -1
  3. package/.idea/vcs.xml +1 -1
  4. package/SteamClient.js +16 -12
  5. package/example.js +14 -0
  6. package/helpers/protos.js +21 -0
  7. package/index.js +1 -1
  8. package/package.json +6 -6
  9. package/protos/{base_gcmessages.proto → csgo/base_gcmessages_csgo.proto} +547 -533
  10. package/protos/csgo/c_peer2peer_netmessages.proto +55 -0
  11. package/protos/csgo/clientmessages.proto +48 -0
  12. package/protos/csgo/connectionless_netmessages.proto +19 -0
  13. package/protos/csgo/cs_gameevents.proto +34 -0
  14. package/protos/csgo/cs_usercmd.proto +34 -0
  15. package/protos/{cstrike15_gcmessages.proto → csgo/cstrike15_gcmessages.proto} +1402 -1344
  16. package/protos/{cstrike15_usermessages.proto → csgo/cstrike15_usermessages.proto} +596 -597
  17. package/protos/csgo/demo.proto +160 -0
  18. package/protos/{econ_gcmessages.proto → csgo/econ_gcmessages.proto} +228 -225
  19. package/protos/{engine_gcmessages.proto → csgo/engine_gcmessages.proto} +14 -16
  20. package/protos/{enums_clientserver.proto → csgo/enums_clientserver.proto} +1529 -1534
  21. package/protos/{fatdemo.proto → csgo/fatdemo.proto} +125 -125
  22. package/protos/csgo/gameevents.proto +120 -0
  23. package/protos/{gcsdk_gcmessages.proto → csgo/gcsdk_gcmessages.proto} +323 -302
  24. package/protos/{gcsystemmsgs.proto → csgo/gcsystemmsgs.proto} +242 -246
  25. package/protos/csgo/netmessages.proto +604 -0
  26. package/protos/csgo/network_connection.proto +126 -0
  27. package/protos/csgo/networkbasetypes.proto +244 -0
  28. package/protos/csgo/networksystem_protomessages.proto +17 -0
  29. package/protos/{steamdatagram_messages_auth.proto → csgo/steamdatagram_messages_auth.proto} +65 -65
  30. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -0
  31. package/protos/{steammessages.proto → csgo/steammessages.proto} +597 -601
  32. package/protos/{steammessages_base.proto → csgo/steammessages_base.proto} +301 -288
  33. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -0
  34. package/protos/{steammessages_gamenetworkingui.proto → csgo/steammessages_gamenetworkingui.proto} +61 -42
  35. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -0
  36. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -0
  37. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -0
  38. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -0
  39. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +357 -0
  40. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -0
  41. package/protos/{steamnetworkingsockets_messages.proto → csgo/steamnetworkingsockets_messages.proto} +205 -204
  42. package/protos/{steamnetworkingsockets_messages_certs.proto → csgo/steamnetworkingsockets_messages_certs.proto} +39 -38
  43. package/protos/{steamnetworkingsockets_messages_udp.proto → csgo/steamnetworkingsockets_messages_udp.proto} +75 -75
  44. package/protos/csgo/te.proto +259 -0
  45. package/protos/{uifontfile_format.proto → csgo/uifontfile_format.proto} +13 -16
  46. package/protos/csgo/usercmd.proto +38 -0
  47. package/protos/csgo/usermessages.proto +721 -0
  48. package/protos/csgo/valveextensions.proto +17 -0
  49. package/protos/google/protobuf/descriptor.proto +281 -0
  50. package/protos/{clientmetrics.proto → steam/clientmetrics.proto} +45 -45
  51. package/protos/{content_manifest.proto → steam/content_manifest.proto} +62 -62
  52. package/protos/steam/contenthubs.proto +41 -0
  53. package/protos/{encrypted_app_ticket.proto → steam/encrypted_app_ticket.proto} +10 -10
  54. package/protos/{enums.proto → steam/enums.proto} +444 -285
  55. package/protos/steam/enums_clientserver.proto +1539 -0
  56. package/protos/steam/enums_productinfo.proto +13 -0
  57. package/protos/{htmlmessages.proto → steam/htmlmessages.proto} +1027 -993
  58. package/protos/steam/offline_ticket.proto +8 -0
  59. package/protos/{renderer → steam/renderer}/rendermessages.proto +893 -893
  60. package/protos/steam/steamdatagram_messages_auth.proto +65 -0
  61. package/protos/{steamdatagram_messages_sdr.proto → steam/steamdatagram_messages_sdr.proto} +533 -518
  62. package/protos/{steammessages_accounthardware.steamclient.proto → steam/steammessages_accounthardware.steamclient.proto} +201 -188
  63. package/protos/{steammessages_appoverview.proto → steam/steammessages_appoverview.proto} +187 -185
  64. package/protos/steam/steammessages_auth.steamclient.proto +435 -0
  65. package/protos/steam/steammessages_base.proto +332 -0
  66. package/protos/{steammessages_broadcast.steamclient.proto → steam/steammessages_broadcast.steamclient.proto} +759 -756
  67. package/protos/{steammessages_chat.steamclient.proto → steam/steammessages_chat.steamclient.proto} +1281 -1281
  68. package/protos/steam/steammessages_client_objects.proto +645 -0
  69. package/protos/{steammessages_clientlanp2p.proto → steam/steammessages_clientlanp2p.proto} +42 -26
  70. package/protos/{steammessages_clientmetrics.steamclient.proto → steam/steammessages_clientmetrics.steamclient.proto} +194 -176
  71. package/protos/{steammessages_clientnotificationtypes.proto → steam/steammessages_clientnotificationtypes.proto} +231 -129
  72. package/protos/{steammessages_clientserver.proto → steam/steammessages_clientserver.proto} +392 -384
  73. package/protos/{steammessages_clientserver_2.proto → steam/steammessages_clientserver_2.proto} +760 -776
  74. package/protos/{steammessages_clientserver_appinfo.proto → steam/steammessages_clientserver_appinfo.proto} +131 -166
  75. package/protos/{steammessages_clientserver_friends.proto → steam/steammessages_clientserver_friends.proto} +260 -260
  76. package/protos/{steammessages_clientserver_gameservers.proto → steam/steammessages_clientserver_gameservers.proto} +159 -159
  77. package/protos/{steammessages_clientserver_lbs.proto → steam/steammessages_clientserver_lbs.proto} +70 -70
  78. package/protos/{steammessages_clientserver_login.proto → steam/steammessages_clientserver_login.proto} +167 -159
  79. package/protos/{steammessages_clientserver_mms.proto → steam/steammessages_clientserver_mms.proto} +228 -235
  80. package/protos/{steammessages_clientserver_ucm.proto → steam/steammessages_clientserver_ucm.proto} +205 -202
  81. package/protos/{steammessages_clientserver_uds.proto → steam/steammessages_clientserver_uds.proto} +124 -104
  82. package/protos/{steammessages_clientserver_ufs.proto → steam/steammessages_clientserver_ufs.proto} +172 -172
  83. package/protos/{steammessages_clientserver_userstats.proto → steam/steammessages_clientserver_userstats.proto} +80 -80
  84. package/protos/steam/steammessages_clientsettings.proto +168 -0
  85. package/protos/{steammessages_cloud.steamclient.proto → steam/steammessages_cloud.steamclient.proto} +513 -512
  86. package/protos/{steammessages_contentsystem.steamclient.proto → steam/steammessages_contentsystem.steamclient.proto} +115 -77
  87. package/protos/{steammessages_credentials.steamclient.proto → steam/steammessages_credentials.steamclient.proto} +115 -141
  88. package/protos/steam/steammessages_datapublisher.steamclient.proto +116 -0
  89. package/protos/{steammessages_depotbuilder.steamclient.proto → steam/steammessages_depotbuilder.steamclient.proto} +118 -118
  90. package/protos/{steammessages_deviceauth.steamclient.proto → steam/steammessages_deviceauth.steamclient.proto} +203 -200
  91. package/protos/{steammessages_econ.steamclient.proto → steam/steammessages_econ.steamclient.proto} +150 -105
  92. package/protos/{steammessages_friendmessages.steamclient.proto → steam/steammessages_friendmessages.steamclient.proto} +168 -168
  93. package/protos/{steammessages_gamenetworking.steamclient.proto → steam/steammessages_gamenetworking.steamclient.proto} +32 -32
  94. package/protos/steam/steammessages_gamenetworkingui.proto +61 -0
  95. package/protos/{steammessages_gamenotifications.steamclient.proto → steam/steammessages_gamenotifications.steamclient.proto} +156 -156
  96. package/protos/{steammessages_gameservers.steamclient.proto → steam/steammessages_gameservers.steamclient.proto} +152 -152
  97. package/protos/{steammessages_hiddevices.proto → steam/steammessages_hiddevices.proto} +157 -156
  98. package/protos/{steammessages_inventory.steamclient.proto → steam/steammessages_inventory.steamclient.proto} +224 -224
  99. package/protos/{steammessages_linkfilter.steamclient.proto → steam/steammessages_linkfilter.steamclient.proto} +49 -49
  100. package/protos/{steammessages_lobbymatchmaking.steamclient.proto → steam/steammessages_lobbymatchmaking.steamclient.proto} +33 -33
  101. package/protos/{steammessages_market.steamclient.proto → steam/steammessages_market.steamclient.proto} +26 -26
  102. package/protos/steam/steammessages_marketingmessages.steamclient.proto +274 -0
  103. package/protos/{steammessages_offline.steamclient.proto → steam/steammessages_offline.steamclient.proto} +40 -37
  104. package/protos/{steammessages_parental.steamclient.proto → steam/steammessages_parental.steamclient.proto} +228 -186
  105. package/protos/{steammessages_parties.steamclient.proto → steam/steammessages_parties.steamclient.proto} +94 -94
  106. package/protos/{steammessages_partnerapps.steamclient.proto → steam/steammessages_partnerapps.steamclient.proto} +138 -136
  107. package/protos/{steammessages_player.steamclient.proto → steam/steammessages_player.steamclient.proto} +1060 -912
  108. package/protos/{steammessages_publishedfile.steamclient.proto → steam/steammessages_publishedfile.steamclient.proto} +813 -711
  109. package/protos/{steammessages_qms.steamclient.proto → steam/steammessages_qms.steamclient.proto} +125 -125
  110. package/protos/{steammessages_remoteclient.proto → steam/steammessages_remoteclient.proto} +99 -99
  111. package/protos/{steammessages_remoteclient_discovery.proto → steam/steammessages_remoteclient_discovery.proto} +235 -228
  112. package/protos/{steammessages_remoteclient_service.steamclient.proto → steam/steammessages_remoteclient_service.steamclient.proto} +86 -90
  113. package/protos/{steammessages_remoteclient_service_messages.proto → steam/steammessages_remoteclient_service_messages.proto} +217 -196
  114. package/protos/{steammessages_remoteplay.proto → steam/steammessages_remoteplay.proto} +976 -871
  115. package/protos/{steammessages_secrets.steamclient.proto → steam/steammessages_secrets.steamclient.proto} +39 -39
  116. package/protos/{steammessages_shader.steamclient.proto → steam/steammessages_shader.steamclient.proto} +108 -96
  117. package/protos/{steammessages_site_license.steamclient.proto → steam/steammessages_site_license.steamclient.proto} +128 -128
  118. package/protos/{steammessages_sitelicenseclient.proto → steam/steammessages_sitelicenseclient.proto} +38 -38
  119. package/protos/{steammessages_siteserverui.proto → steam/steammessages_siteserverui.proto} +130 -130
  120. package/protos/{steammessages_star.steamclient.proto → steam/steammessages_star.steamclient.proto} +64 -64
  121. package/protos/{steammessages_steamtv.steamclient.proto → steam/steammessages_steamtv.steamclient.proto} +630 -630
  122. package/protos/{steammessages_store.steamclient.proto → steam/steammessages_store.steamclient.proto} +371 -262
  123. package/protos/steam/steammessages_storebrowse.steamclient.proto +402 -0
  124. package/protos/{steammessages_timedtrial.steamclient.proto → steam/steammessages_timedtrial.steamclient.proto} +50 -50
  125. package/protos/{steammessages_twofactor.steamclient.proto → steam/steammessages_twofactor.steamclient.proto} +186 -154
  126. package/protos/{steammessages_unified_base.steamclient.proto → steam/steammessages_unified_base.steamclient.proto} +33 -33
  127. package/protos/{steammessages_unified_test.steamclient.proto → steam/steammessages_unified_test.steamclient.proto} +61 -50
  128. package/protos/{steammessages_useraccount.steamclient.proto → steam/steammessages_useraccount.steamclient.proto} +249 -210
  129. package/protos/{steammessages_vac.steamclient.proto → steam/steammessages_vac.steamclient.proto} +44 -44
  130. package/protos/steam/steammessages_video.steamclient.proto +171 -0
  131. package/protos/{steammessages_virtualcontroller.proto → steam/steammessages_virtualcontroller.proto} +138 -138
  132. package/protos/{steammessages_workshop.steamclient.proto → steam/steammessages_workshop.steamclient.proto} +23 -23
  133. package/protos/steam/steamnetworkingsockets_messages.proto +205 -0
  134. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -0
  135. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -0
  136. package/protos/steam/webuimessages_base.proto +24 -0
  137. package/protos/steam/webuimessages_gamenotes.proto +21 -0
  138. package/protos/steam/webuimessages_steamengine.proto +32 -0
  139. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -0
  140. package/protos/steam/webuimessages_systemmanager.proto +17 -0
  141. package/protos/steam/webuimessages_transport.proto +18 -0
  142. package/protos/steam/webuimessages_transportvalidation.proto +97 -0
  143. package/protos/webui/common.proto +5508 -0
  144. package/protos/webui/common_base.proto +27 -0
  145. package/protos/webui/service_accountlinking.proto +27 -0
  146. package/protos/webui/service_accountprivacy.proto +42 -0
  147. package/protos/webui/service_auction.proto +97 -0
  148. package/protos/webui/service_authentication.proto +222 -0
  149. package/protos/webui/service_authenticationsupport.proto +74 -0
  150. package/protos/webui/service_broadcast.proto +562 -0
  151. package/protos/webui/service_chat.proto +11 -0
  152. package/protos/webui/service_chatroom.proto +810 -0
  153. package/protos/webui/service_chatusability.proto +107 -0
  154. package/protos/webui/service_clan.proto +41 -0
  155. package/protos/webui/service_clanchatrooms.proto +25 -0
  156. package/protos/webui/service_clanfaqs.proto +202 -0
  157. package/protos/webui/service_clientcomm.proto +150 -0
  158. package/protos/webui/service_clientmetrics.proto +63 -0
  159. package/protos/webui/service_cloud.proto +222 -0
  160. package/protos/webui/service_cloudconfigstore.proto +51 -0
  161. package/protos/webui/service_cloudgaming.proto +30 -0
  162. package/protos/webui/service_community.proto +365 -0
  163. package/protos/webui/service_econ.proto +134 -0
  164. package/protos/webui/service_embedded.proto +24 -0
  165. package/protos/webui/service_experimentservice.proto +6 -0
  166. package/protos/webui/service_fovasvideo.proto +15 -0
  167. package/protos/webui/service_friendmessages.proto +133 -0
  168. package/protos/webui/service_friendslist.proto +70 -0
  169. package/protos/webui/service_gamenotes.proto +15 -0
  170. package/protos/webui/service_helprequestlogs.proto +26 -0
  171. package/protos/webui/service_loyaltyrewards.proto +252 -0
  172. package/protos/webui/service_marketingmessages.proto +184 -0
  173. package/protos/webui/service_mobileapp.proto +18 -0
  174. package/protos/webui/service_mobileauth.proto +24 -0
  175. package/protos/webui/service_mobiledevice.proto +26 -0
  176. package/protos/webui/service_mobileperaccount.proto +31 -0
  177. package/protos/webui/service_news.proto +101 -0
  178. package/protos/webui/service_parental.proto +178 -0
  179. package/protos/webui/service_partnermembershipinvite.proto +29 -0
  180. package/protos/webui/service_partnerstorebrowse.proto +6 -0
  181. package/protos/webui/service_phone.proto +51 -0
  182. package/protos/webui/service_physicalgoods.proto +15 -0
  183. package/protos/webui/service_player.proto +885 -0
  184. package/protos/webui/service_promotioneventinvites.proto +50 -0
  185. package/protos/webui/service_promotionplanning.proto +72 -0
  186. package/protos/webui/service_publishedfile.proto +687 -0
  187. package/protos/webui/service_publishing.proto +119 -0
  188. package/protos/webui/service_quest.proto +127 -0
  189. package/protos/webui/service_salefeature.proto +315 -0
  190. package/protos/webui/service_saleitemrewards.proto +54 -0
  191. package/protos/webui/service_shoppingcart.proto +108 -0
  192. package/protos/webui/service_steamawards.proto +19 -0
  193. package/protos/webui/service_steamcharts.proto +75 -0
  194. package/protos/webui/service_steamengine.proto +36 -0
  195. package/protos/webui/service_steamlearn.proto +727 -0
  196. package/protos/webui/service_steamnotification.proto +84 -0
  197. package/protos/webui/service_steamtv.proto +495 -0
  198. package/protos/webui/service_steamvrvoicechat.proto +67 -0
  199. package/protos/webui/service_steamvrwebrtc.proto +48 -0
  200. package/protos/webui/service_storagedevicemanager.proto +104 -0
  201. package/protos/webui/service_store.proto +289 -0
  202. package/protos/webui/service_storeappsimilarity.proto +76 -0
  203. package/protos/webui/service_storebrowse.proto +73 -0
  204. package/protos/webui/service_storequery.proto +97 -0
  205. package/protos/webui/service_storesales.proto +15 -0
  206. package/protos/webui/service_storetopsellers.proto +44 -0
  207. package/protos/webui/service_systemmanager.proto +11 -0
  208. package/protos/webui/service_test_transporterror.proto +6 -0
  209. package/protos/webui/service_transportauth.proto +12 -0
  210. package/protos/webui/service_transportvalidation.proto +69 -0
  211. package/protos/webui/service_twofactor.proto +181 -0
  212. package/protos/webui/service_useraccount.proto +138 -0
  213. package/protos/webui/service_usergameactivity.proto +34 -0
  214. package/protos/webui/service_usergamenotes.proto +53 -0
  215. package/protos/webui/service_usernews.proto +68 -0
  216. package/protos/webui/service_userreviews.proto +96 -0
  217. package/protos/webui/service_video.proto +128 -0
  218. package/protos/webui/service_voicechat.proto +139 -0
  219. package/protos/webui/service_webrtc.proto +52 -0
  220. package/.idea/deployment.xml +0 -21
  221. package/protos/netmessages.proto +0 -491
  222. package/protos/network_connection.proto +0 -70
  223. package/protos/steamdatagram_messages.proto +0 -205
  224. package/protos/steammessages_auth.steamclient.proto +0 -192
  225. package/protos/steammessages_client_objects.proto +0 -336
  226. package/protos/steammessages_datapublisher.steamclient.proto +0 -67
  227. package/protos/steammessages_video.steamclient.proto +0 -84
@@ -0,0 +1,562 @@
1
+ import "common_base.proto";
2
+
3
+ message CBroadcast_BeginBroadcastSession_Request {
4
+ optional int32 permission = 1;
5
+ optional uint64 gameid = 2;
6
+ optional uint64 client_instance_id = 3;
7
+ optional string title = 4;
8
+ optional uint32 cellid = 5;
9
+ optional uint64 rtmp_token = 6;
10
+ optional bool thumbnail_upload = 7;
11
+ optional string client_beta = 8;
12
+ optional uint32 sysid = 9;
13
+ optional bool allow_webrtc = 10;
14
+ }
15
+
16
+ message CBroadcast_BeginBroadcastSession_Response {
17
+ optional fixed64 broadcast_id = 1;
18
+ optional string thumbnail_upload_address = 2;
19
+ optional string thumbnail_upload_token = 3;
20
+ optional uint32 thumbnail_interval_seconds = 4;
21
+ optional uint32 heartbeat_interval_seconds = 5;
22
+ }
23
+
24
+ message CBroadcast_BroadcastChannelLive_Notification {
25
+ optional fixed64 broadcast_channel_id = 1;
26
+ optional string broadcast_channel_name = 2;
27
+ optional string broadcast_channel_avatar = 3;
28
+ }
29
+
30
+ message CBroadcast_BroadcastStatus_Notification {
31
+ optional fixed64 broadcast_id = 1;
32
+ optional int32 num_viewers = 2;
33
+ }
34
+
35
+ message CBroadcast_BroadcastUploadStarted_Notification {
36
+ optional fixed64 broadcast_id = 1;
37
+ optional string upload_token = 2;
38
+ optional string upload_address = 3;
39
+ optional string http_address = 4;
40
+ optional fixed64 broadcast_upload_id = 5;
41
+ optional uint32 heartbeat_interval_seconds = 6;
42
+ optional bool is_rtmp = 7;
43
+ }
44
+
45
+ message CBroadcast_BroadcastViewerState_Notification {
46
+ optional fixed64 steamid = 1;
47
+ optional int32 state = 2 [(.description) = "enum"];
48
+ }
49
+
50
+ message CBroadcast_EndBroadcastSession_Request {
51
+ optional fixed64 broadcast_id = 1;
52
+ }
53
+
54
+ message CBroadcast_EndBroadcastSession_Response {
55
+ }
56
+
57
+ message CBroadcast_GetBroadcastChatInfo_Request {
58
+ optional fixed64 steamid = 1;
59
+ optional fixed64 broadcast_id = 2;
60
+ optional uint32 client_ip = 3;
61
+ optional uint32 client_cell = 4;
62
+ }
63
+
64
+ message CBroadcast_GetBroadcastChatInfo_Response {
65
+ optional fixed64 chat_id = 1;
66
+ optional string view_url_template = 3;
67
+ repeated uint32 flair_group_ids = 4;
68
+ }
69
+
70
+ message CBroadcast_GetBroadcastChatUserNames_Request {
71
+ optional fixed64 chat_id = 1;
72
+ repeated fixed64 user_steamid = 2;
73
+ }
74
+
75
+ message CBroadcast_GetBroadcastChatUserNames_Response {
76
+ repeated .CBroadcast_GetBroadcastChatUserNames_Response_PersonaName persona_names = 1;
77
+ }
78
+
79
+ message CBroadcast_GetBroadcastChatUserNames_Response_PersonaName {
80
+ optional fixed64 steam_id = 1;
81
+ optional string persona = 2;
82
+ }
83
+
84
+ message CBroadcast_GetBroadcastStatus_Request {
85
+ optional fixed64 steamid = 1;
86
+ optional fixed64 broadcast_id = 2;
87
+ }
88
+
89
+ message CBroadcast_GetBroadcastStatus_Response {
90
+ optional uint64 gameid = 1;
91
+ optional string title = 2;
92
+ optional uint32 num_viewers = 3;
93
+ optional int32 permission = 4;
94
+ optional bool is_rtmp = 5;
95
+ optional int32 seconds_delay = 6;
96
+ optional bool is_publisher = 7;
97
+ optional string thumbnail_url = 8;
98
+ optional int32 update_interval = 9;
99
+ optional bool is_uploading = 10;
100
+ optional uint32 duration = 11;
101
+ optional bool is_replay = 12;
102
+ optional bool is_capturing_vod = 13;
103
+ optional bool is_store_whitelisted = 14;
104
+ }
105
+
106
+ message CBroadcast_GetBroadcastThumbnail_Request {
107
+ optional fixed64 steamid = 1;
108
+ optional fixed64 broadcast_id = 2;
109
+ }
110
+
111
+ message CBroadcast_GetBroadcastThumbnail_Response {
112
+ optional string thumbnail_url = 1;
113
+ optional int32 update_interval = 2;
114
+ optional int32 num_viewers = 3;
115
+ optional int32 duration = 4;
116
+ }
117
+
118
+ message CBroadcast_GetBroadcastUploadStats_Request {
119
+ optional uint32 row_limit = 1 [default = 100];
120
+ optional uint32 start_time = 2 [default = 0];
121
+ optional uint64 upload_id = 3;
122
+ optional fixed64 steamid = 4;
123
+ optional uint64 session_id = 5;
124
+ }
125
+
126
+ message CBroadcast_GetBroadcastUploadStats_Response {
127
+ repeated .CBroadcast_GetBroadcastUploadStats_Response_UploadStats upload_stats = 1;
128
+ }
129
+
130
+ message CBroadcast_GetBroadcastUploadStats_Response_UploadStats {
131
+ optional uint32 upload_result = 1;
132
+ optional uint32 time_stopped = 2;
133
+ optional uint32 seconds_uploaded = 3;
134
+ optional uint32 max_viewers = 4;
135
+ optional uint32 resolution_x = 5;
136
+ optional uint32 resolution_y = 6;
137
+ optional uint32 avg_bandwidth = 7;
138
+ optional uint64 total_bytes = 8;
139
+ optional uint32 app_id = 9;
140
+ optional uint32 total_unique_viewers = 10;
141
+ optional uint64 total_seconds_watched = 11;
142
+ optional uint32 time_started = 12;
143
+ optional uint64 upload_id = 13;
144
+ optional string local_address = 14;
145
+ optional string remote_address = 15;
146
+ optional uint32 frames_per_second = 16;
147
+ optional uint32 num_representations = 17;
148
+ optional string app_name = 18;
149
+ optional bool is_replay = 19;
150
+ optional uint64 session_id = 20;
151
+ }
152
+
153
+ message CBroadcast_GetBroadcastViewerStats_Request {
154
+ optional uint64 upload_id = 1;
155
+ optional fixed64 steamid = 2;
156
+ }
157
+
158
+ message CBroadcast_GetBroadcastViewerStats_Response {
159
+ repeated .CBroadcast_GetBroadcastViewerStats_Response_ViewerStats viewer_stats = 1;
160
+ repeated .CBroadcast_GetBroadcastViewerStats_Response_CountryStats country_stats = 2;
161
+ }
162
+
163
+ message CBroadcast_GetBroadcastViewerStats_Response_CountryStats {
164
+ optional string country_code = 1;
165
+ optional uint32 num_viewers = 2;
166
+ }
167
+
168
+ message CBroadcast_GetBroadcastViewerStats_Response_ViewerStats {
169
+ optional uint32 time = 1;
170
+ optional uint32 num_viewers = 2;
171
+ }
172
+
173
+ message CBroadcast_GetBuildClipStatus_Request {
174
+ optional fixed64 broadcast_clip_id = 1;
175
+ }
176
+
177
+ message CBroadcast_GetBuildClipStatus_Response {
178
+ }
179
+
180
+ message CBroadcast_GetClipDetails_Request {
181
+ optional uint64 broadcast_clip_id = 1;
182
+ }
183
+
184
+ message CBroadcast_GetClipDetails_Response {
185
+ optional uint64 broadcast_clip_id = 1;
186
+ optional uint64 video_id = 2;
187
+ optional uint64 channel_id = 3;
188
+ optional uint32 app_id = 4;
189
+ optional uint32 accountid_broadcaster = 5;
190
+ optional uint32 accountid_clipmaker = 6;
191
+ optional string video_description = 7;
192
+ optional uint32 start_time = 8;
193
+ optional uint32 length_milliseconds = 9;
194
+ optional string thumbnail_path = 10;
195
+ }
196
+
197
+ message CBroadcast_GetRTMPInfo_Request {
198
+ optional uint32 ip = 1;
199
+ optional fixed64 steamid = 2;
200
+ }
201
+
202
+ message CBroadcast_GetRTMPInfo_Response {
203
+ optional int32 broadcast_permission = 1;
204
+ optional string rtmp_host = 2;
205
+ optional string rtmp_token = 3;
206
+ optional int32 broadcast_delay = 4;
207
+ optional uint32 app_id = 5;
208
+ optional uint32 required_app_id = 6;
209
+ optional int32 broadcast_chat_permission = 7 [(.description) = "enum"];
210
+ optional int32 broadcast_buffer = 8;
211
+ optional fixed64 steamid = 9;
212
+ optional uint32 chat_rate_limit = 10;
213
+ optional bool enable_replay = 11;
214
+ optional bool is_partner_chat_only = 12;
215
+ optional string wordban_list = 13;
216
+ }
217
+
218
+ message CBroadcast_HeartbeatBroadcast_Notification {
219
+ optional fixed64 steamid = 1;
220
+ optional fixed64 broadcast_id = 2;
221
+ optional fixed64 viewer_token = 3;
222
+ optional uint32 representation = 4;
223
+ }
224
+
225
+ message CBroadcast_InviteToBroadcast_Request {
226
+ optional fixed64 steamid = 1;
227
+ optional bool approval_response = 2;
228
+ }
229
+
230
+ message CBroadcast_InviteToBroadcast_Response {
231
+ optional bool success = 1;
232
+ }
233
+
234
+ message CBroadcast_MuteBroadcastChatUser_Request {
235
+ optional fixed64 chat_id = 1;
236
+ optional fixed64 user_steamid = 2;
237
+ optional bool muted = 3;
238
+ }
239
+
240
+ message CBroadcast_MuteBroadcastChatUser_Response {
241
+ }
242
+
243
+ message CBroadcast_PostChatMessage_Request {
244
+ optional fixed64 chat_id = 1;
245
+ optional string message = 2;
246
+ optional uint32 instance_id = 3;
247
+ optional uint32 language = 4 [default = 0];
248
+ optional string country_code = 5;
249
+ }
250
+
251
+ message CBroadcast_PostChatMessage_Response {
252
+ optional string persona_name = 1;
253
+ optional bool in_game = 2;
254
+ optional int32 result = 3;
255
+ optional int32 cooldown_time_seconds = 4;
256
+ }
257
+
258
+ message CBroadcast_RemoveUserChatText_Request {
259
+ optional fixed64 chat_id = 1;
260
+ optional fixed64 user_steamid = 2;
261
+ }
262
+
263
+ message CBroadcast_RemoveUserChatText_Response {
264
+ }
265
+
266
+ message CBroadcast_SendBroadcastStateToServer_Request {
267
+ optional int32 permission = 1;
268
+ optional uint64 gameid = 2;
269
+ optional string title = 3;
270
+ optional string game_data_config = 4;
271
+ }
272
+
273
+ message CBroadcast_SendBroadcastStateToServer_Response {
274
+ }
275
+
276
+ message CBroadcast_SendThumbnailToRelay_Notification {
277
+ optional string thumbnail_upload_token = 1;
278
+ optional fixed64 thumbnail_broadcast_session_id = 2;
279
+ optional bytes thumbnail_data = 3;
280
+ optional uint32 thumbnail_width = 4;
281
+ optional uint32 thumbnail_height = 5;
282
+ }
283
+
284
+ message CBroadcast_SessionClosed_Notification {
285
+ optional fixed64 broadcast_id = 1;
286
+ }
287
+
288
+ message CBroadcast_SetClipDetails_Request {
289
+ optional uint64 broadcast_clip_id = 1;
290
+ optional uint32 start_time = 2;
291
+ optional uint32 end_time = 3;
292
+ optional string video_description = 4;
293
+ }
294
+
295
+ message CBroadcast_SetClipDetails_Response {
296
+ }
297
+
298
+ message CBroadcast_SetRTMPInfo_Request {
299
+ optional int32 broadcast_permission = 1;
300
+ optional bool update_token = 2;
301
+ optional int32 broadcast_delay = 3;
302
+ optional uint32 app_id = 4;
303
+ optional uint32 required_app_id = 5;
304
+ optional int32 broadcast_chat_permission = 6 [default = 0, (.description) = "enum"];
305
+ optional int32 broadcast_buffer = 7;
306
+ optional fixed64 steamid = 8;
307
+ optional uint32 chat_rate_limit = 9;
308
+ optional bool enable_replay = 10;
309
+ optional bool is_partner_chat_only = 11;
310
+ optional string wordban_list = 12;
311
+ }
312
+
313
+ message CBroadcast_SetRTMPInfo_Response {
314
+ }
315
+
316
+ message CBroadcast_StartBroadcastUpload_Request {
317
+ optional fixed64 broadcast_id = 1;
318
+ optional uint32 cellid = 2;
319
+ optional bool as_rtmp = 3;
320
+ optional uint32 delay_seconds = 4;
321
+ optional uint64 rtmp_token = 5 [default = 0];
322
+ optional uint32 upload_ip_address = 6;
323
+ optional bool is_replay = 7;
324
+ optional uint32 sysid = 8;
325
+ }
326
+
327
+ message CBroadcast_StartBroadcastUpload_Response {
328
+ optional string upload_token = 1;
329
+ optional string upload_address = 2;
330
+ optional fixed64 broadcast_upload_id = 3;
331
+ optional bool enable_replay = 6;
332
+ optional string http_address = 7;
333
+ }
334
+
335
+ message CBroadcast_StartBuildClip_Request {
336
+ optional fixed64 steamid = 1;
337
+ optional fixed64 broadcast_session_id = 2;
338
+ optional int32 first_segment = 3;
339
+ optional int32 num_segments = 4;
340
+ optional string clip_description = 5;
341
+ }
342
+
343
+ message CBroadcast_StartBuildClip_Response {
344
+ optional fixed64 broadcast_clip_id = 1;
345
+ }
346
+
347
+ message CBroadcast_StopBroadcastUpload_Notification {
348
+ optional fixed64 broadcast_id = 1;
349
+ optional fixed64 broadcast_relay_id = 2;
350
+ optional uint32 upload_result = 3;
351
+ optional bool too_many_poor_uploads = 4;
352
+ }
353
+
354
+ message CBroadcast_StopWatchingBroadcast_Notification {
355
+ optional fixed64 steamid = 1;
356
+ optional fixed64 broadcast_id = 2;
357
+ optional fixed64 viewer_token = 3;
358
+ }
359
+
360
+ message CBroadcast_UpdateChatMessageFlair_Request {
361
+ optional fixed64 chat_id = 1;
362
+ optional string flair = 2;
363
+ }
364
+
365
+ message CBroadcast_UpdateChatMessageFlair_Response {
366
+ optional int32 result = 1;
367
+ optional fixed64 chat_id = 2;
368
+ optional string flair = 3;
369
+ }
370
+
371
+ message CBroadcast_ViewerBroadcastInvite_Notification {
372
+ optional fixed64 broadcaster_steamid = 1;
373
+ }
374
+
375
+ message CBroadcast_WaitingBroadcastViewer_Notification {
376
+ optional fixed64 broadcast_id = 1;
377
+ }
378
+
379
+ message CBroadcast_WatchBroadcast_Request {
380
+ optional fixed64 steamid = 1;
381
+ optional fixed64 existing_broadcast_id = 2;
382
+ optional fixed64 viewer_token = 3;
383
+ optional uint32 client_ip = 4;
384
+ optional uint32 client_cell = 5;
385
+ optional int32 watch_location = 6 [(.description) = "enum"];
386
+ optional bool is_webrtc = 7;
387
+ }
388
+
389
+ message CBroadcast_WatchBroadcast_Response {
390
+ optional int32 response = 1 [(.description) = "enum"];
391
+ optional string mpd_url = 2;
392
+ optional fixed64 broadcast_id = 3;
393
+ optional uint64 gameid = 4;
394
+ optional string title = 5;
395
+ optional uint32 num_viewers = 6;
396
+ optional int32 permission = 7;
397
+ optional bool is_rtmp = 8;
398
+ optional int32 seconds_delay = 9;
399
+ optional fixed64 viewer_token = 10;
400
+ optional string hls_m3u8_master_url = 11;
401
+ optional int32 heartbeat_interval = 12;
402
+ optional string thumbnail_url = 13;
403
+ optional bool is_webrtc = 14;
404
+ optional fixed64 webrtc_session_id = 15;
405
+ optional string webrtc_offer_sdp = 16;
406
+ optional string webrtc_turn_server = 17;
407
+ optional bool is_replay = 18;
408
+ optional int32 duration = 19;
409
+ optional string cdn_auth_url_parameters = 20;
410
+ }
411
+
412
+ message CBroadcast_WebRTC_Candidate {
413
+ optional string sdp_mid = 1;
414
+ optional int32 sdp_mline_index = 2;
415
+ optional string candidate = 3;
416
+ }
417
+
418
+ message CBroadcast_WebRTCAddHostCandidate_Request {
419
+ optional fixed64 webrtc_session_id = 1;
420
+ optional .CBroadcast_WebRTC_Candidate candidate = 2;
421
+ }
422
+
423
+ message CBroadcast_WebRTCAddHostCandidate_Response {
424
+ }
425
+
426
+ message CBroadcast_WebRTCAddViewerCandidate_Notification {
427
+ optional fixed64 broadcast_session_id = 1;
428
+ optional fixed64 webrtc_session_id = 2;
429
+ optional .CBroadcast_WebRTC_Candidate candidate = 3;
430
+ }
431
+
432
+ message CBroadcast_WebRTCAddViewerCandidate_Request {
433
+ optional fixed64 broadcaster_steamid = 1;
434
+ optional fixed64 webrtc_session_id = 2;
435
+ optional .CBroadcast_WebRTC_Candidate candidate = 3;
436
+ }
437
+
438
+ message CBroadcast_WebRTCAddViewerCandidate_Response {
439
+ }
440
+
441
+ message CBroadcast_WebRTCGetHostCandidates_Request {
442
+ optional fixed64 broadcaster_steamid = 1;
443
+ optional fixed64 webrtc_session_id = 2;
444
+ optional uint32 candidate_generation = 3;
445
+ }
446
+
447
+ message CBroadcast_WebRTCGetHostCandidates_Response {
448
+ optional uint32 candidate_generation = 1;
449
+ repeated .CBroadcast_WebRTC_Candidate candidates = 2;
450
+ }
451
+
452
+ message CBroadcast_WebRTCHaveTURNServer_Notification {
453
+ optional fixed64 broadcast_session_id = 1;
454
+ optional string turn_server = 2;
455
+ }
456
+
457
+ message CBroadcast_WebRTCLookupTURNServer_Request {
458
+ optional uint32 cellid = 1;
459
+ }
460
+
461
+ message CBroadcast_WebRTCLookupTURNServer_Response {
462
+ optional string turn_server = 1;
463
+ }
464
+
465
+ message CBroadcast_WebRTCNeedTURNServer_Notification {
466
+ optional fixed64 broadcast_session_id = 1;
467
+ }
468
+
469
+ message CBroadcast_WebRTCSetAnswer_Notification {
470
+ optional fixed64 broadcast_session_id = 1;
471
+ optional fixed64 webrtc_session_id = 2;
472
+ optional string answer = 3;
473
+ }
474
+
475
+ message CBroadcast_WebRTCSetAnswer_Request {
476
+ optional fixed64 broadcaster_steamid = 1;
477
+ optional fixed64 webrtc_session_id = 2;
478
+ optional string answer = 3;
479
+ }
480
+
481
+ message CBroadcast_WebRTCSetAnswer_Response {
482
+ }
483
+
484
+ message CBroadcast_WebRTCStart_Notification {
485
+ optional fixed64 broadcast_session_id = 1;
486
+ optional fixed64 webrtc_session_id = 2;
487
+ optional fixed64 viewer_steamid = 3;
488
+ optional fixed64 viewer_token = 4;
489
+ }
490
+
491
+ message CBroadcast_WebRTCStartResult_Request {
492
+ optional fixed64 webrtc_session_id = 1;
493
+ optional bool started = 2;
494
+ optional string offer = 3;
495
+ optional uint32 resolution_x = 4;
496
+ optional uint32 resolution_y = 5;
497
+ optional uint32 fps = 6;
498
+ }
499
+
500
+ message CBroadcast_WebRTCStartResult_Response {
501
+ }
502
+
503
+ message CBroadcast_WebRTCStopped_Request {
504
+ optional fixed64 webrtc_session_id = 1;
505
+ }
506
+
507
+ message CBroadcast_WebRTCStopped_Response {
508
+ }
509
+
510
+ service Broadcast {
511
+ rpc BeginBroadcastSession (.CBroadcast_BeginBroadcastSession_Request) returns (.CBroadcast_BeginBroadcastSession_Response);
512
+ rpc EndBroadcastSession (.CBroadcast_EndBroadcastSession_Request) returns (.CBroadcast_EndBroadcastSession_Response);
513
+ rpc GetBroadcastChatInfo (.CBroadcast_GetBroadcastChatInfo_Request) returns (.CBroadcast_GetBroadcastChatInfo_Response);
514
+ rpc GetBroadcastChatUserNames (.CBroadcast_GetBroadcastChatUserNames_Request) returns (.CBroadcast_GetBroadcastChatUserNames_Response);
515
+ rpc GetBroadcastStatus (.CBroadcast_GetBroadcastStatus_Request) returns (.CBroadcast_GetBroadcastStatus_Response);
516
+ rpc GetBroadcastThumbnail (.CBroadcast_GetBroadcastThumbnail_Request) returns (.CBroadcast_GetBroadcastThumbnail_Response);
517
+ rpc GetBroadcastUploadStats (.CBroadcast_GetBroadcastUploadStats_Request) returns (.CBroadcast_GetBroadcastUploadStats_Response);
518
+ rpc GetBroadcastViewerStats (.CBroadcast_GetBroadcastViewerStats_Request) returns (.CBroadcast_GetBroadcastViewerStats_Response);
519
+ rpc GetBuildClipStatus (.CBroadcast_GetBuildClipStatus_Request) returns (.CBroadcast_GetBuildClipStatus_Response);
520
+ rpc GetClipDetails (.CBroadcast_GetClipDetails_Request) returns (.CBroadcast_GetClipDetails_Response);
521
+ rpc GetRTMPInfo (.CBroadcast_GetRTMPInfo_Request) returns (.CBroadcast_GetRTMPInfo_Response);
522
+ rpc HeartbeatBroadcast (.CBroadcast_HeartbeatBroadcast_Notification) returns (.NoResponse);
523
+ rpc InviteToBroadcast (.CBroadcast_InviteToBroadcast_Request) returns (.CBroadcast_InviteToBroadcast_Response);
524
+ rpc MuteBroadcastChatUser (.CBroadcast_MuteBroadcastChatUser_Request) returns (.CBroadcast_MuteBroadcastChatUser_Response);
525
+ rpc NotifyBroadcastSessionHeartbeat (.NotImplemented) returns (.NoResponse);
526
+ rpc NotifyBroadcastUploadStop (.NotImplemented) returns (.NoResponse);
527
+ rpc NotifyWebRTCHaveTURNServer (.CBroadcast_WebRTCHaveTURNServer_Notification) returns (.NoResponse);
528
+ rpc PostChatMessage (.CBroadcast_PostChatMessage_Request) returns (.CBroadcast_PostChatMessage_Response);
529
+ rpc RemoveUserChatText (.CBroadcast_RemoveUserChatText_Request) returns (.CBroadcast_RemoveUserChatText_Response);
530
+ rpc SendBroadcastStateToServer (.CBroadcast_SendBroadcastStateToServer_Request) returns (.CBroadcast_SendBroadcastStateToServer_Response);
531
+ rpc SetClipDetails (.CBroadcast_SetClipDetails_Request) returns (.CBroadcast_SetClipDetails_Response);
532
+ rpc SetRTMPInfo (.CBroadcast_SetRTMPInfo_Request) returns (.CBroadcast_SetRTMPInfo_Response);
533
+ rpc StartBroadcastUpload (.CBroadcast_StartBroadcastUpload_Request) returns (.CBroadcast_StartBroadcastUpload_Response);
534
+ rpc StartBuildClip (.CBroadcast_StartBuildClip_Request) returns (.CBroadcast_StartBuildClip_Response);
535
+ rpc StopWatchingBroadcast (.CBroadcast_StopWatchingBroadcast_Notification) returns (.NoResponse);
536
+ rpc UpdateChatMessageFlair (.CBroadcast_UpdateChatMessageFlair_Request) returns (.CBroadcast_UpdateChatMessageFlair_Response);
537
+ rpc WatchBroadcast (.CBroadcast_WatchBroadcast_Request) returns (.CBroadcast_WatchBroadcast_Response);
538
+ rpc WebRTCAddHostCandidate (.CBroadcast_WebRTCAddHostCandidate_Request) returns (.CBroadcast_WebRTCAddHostCandidate_Response);
539
+ rpc WebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Request) returns (.CBroadcast_WebRTCAddViewerCandidate_Response);
540
+ rpc WebRTCGetHostCandidates (.CBroadcast_WebRTCGetHostCandidates_Request) returns (.CBroadcast_WebRTCGetHostCandidates_Response);
541
+ rpc WebRTCLookupTURNServer (.CBroadcast_WebRTCLookupTURNServer_Request) returns (.CBroadcast_WebRTCLookupTURNServer_Response);
542
+ rpc WebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Request) returns (.CBroadcast_WebRTCSetAnswer_Response);
543
+ rpc WebRTCStartResult (.CBroadcast_WebRTCStartResult_Request) returns (.CBroadcast_WebRTCStartResult_Response);
544
+ rpc WebRTCStopped (.CBroadcast_WebRTCStopped_Request) returns (.CBroadcast_WebRTCStopped_Response);
545
+ }
546
+
547
+ service BroadcastClient {
548
+ rpc NotifyBroadcastChannelLive (.CBroadcast_BroadcastChannelLive_Notification) returns (.NoResponse);
549
+ rpc NotifyBroadcastStatus (.CBroadcast_BroadcastStatus_Notification) returns (.NoResponse);
550
+ rpc NotifyBroadcastUploadStarted (.CBroadcast_BroadcastUploadStarted_Notification) returns (.NoResponse);
551
+ rpc NotifyBroadcastViewerState (.CBroadcast_BroadcastViewerState_Notification) returns (.NoResponse);
552
+ rpc NotifySessionClosed (.CBroadcast_SessionClosed_Notification) returns (.NoResponse);
553
+ rpc NotifyStopBroadcastUpload (.CBroadcast_StopBroadcastUpload_Notification) returns (.NoResponse);
554
+ rpc NotifyViewerBroadcastInvite (.CBroadcast_ViewerBroadcastInvite_Notification) returns (.NoResponse);
555
+ rpc NotifyWaitingBroadcastViewer (.CBroadcast_WaitingBroadcastViewer_Notification) returns (.NoResponse);
556
+ rpc NotifyWebRTCAddViewerCandidate (.CBroadcast_WebRTCAddViewerCandidate_Notification) returns (.NoResponse);
557
+ rpc NotifyWebRTCNeedTURNServer (.CBroadcast_WebRTCNeedTURNServer_Notification) returns (.NoResponse);
558
+ rpc NotifyWebRTCSetAnswer (.CBroadcast_WebRTCSetAnswer_Notification) returns (.NoResponse);
559
+ rpc NotifyWebRTCStart (.CBroadcast_WebRTCStart_Notification) returns (.NoResponse);
560
+ rpc SendThumbnailToRelay (.CBroadcast_SendThumbnailToRelay_Notification) returns (.NoResponse);
561
+ }
562
+
@@ -0,0 +1,11 @@
1
+
2
+ message CChat_RequestFriendPersonaStates_Request {
3
+ }
4
+
5
+ message CChat_RequestFriendPersonaStates_Response {
6
+ }
7
+
8
+ service Chat {
9
+ rpc RequestFriendPersonaStates (.CChat_RequestFriendPersonaStates_Request) returns (.CChat_RequestFriendPersonaStates_Response);
10
+ }
11
+