steamutils 1.5.29 → 1.5.33

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.
Files changed (232) hide show
  1. package/.idea/codeStyles/Project.xml +0 -1
  2. package/.prettierrc.json +3 -3
  3. package/SteamClient.js +3151 -3129
  4. package/axios.js +84 -84
  5. package/bufferHelpers.js +115 -115
  6. package/cheerio.js +103 -103
  7. package/const.js +570 -570
  8. package/create_proto.js +96 -96
  9. package/helpers/protos.js +48 -48
  10. package/index.js +8025 -8025
  11. package/package.json +1 -1
  12. package/protos/csgo/base_gcmessages.proto +553 -553
  13. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  14. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  15. package/protos/csgo/clientmessages.proto +48 -48
  16. package/protos/csgo/connectionless_netmessages.proto +17 -17
  17. package/protos/csgo/cs_gameevents.proto +35 -35
  18. package/protos/csgo/cs_usercmd.proto +34 -34
  19. package/protos/csgo/cstrike15_gcmessages.proto +39 -0
  20. package/protos/csgo/cstrike15_usermessages.proto +592 -592
  21. package/protos/csgo/demo.proto +165 -165
  22. package/protos/csgo/econ_gcmessages.proto +219 -219
  23. package/protos/csgo/enums_clientserver.proto +1529 -1529
  24. package/protos/csgo/fatdemo.proto +125 -125
  25. package/protos/csgo/gameevents.proto +120 -120
  26. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  27. package/protos/csgo/gcsystemmsgs.proto +243 -243
  28. package/protos/csgo/netmessages.proto +618 -618
  29. package/protos/csgo/networkbasetypes.proto +246 -246
  30. package/protos/csgo/networksystem_protomessages.proto +17 -17
  31. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  32. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  33. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  34. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  35. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  36. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  37. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  38. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  39. package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
  40. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  41. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  42. package/protos/csgo/te.proto +259 -259
  43. package/protos/csgo/uifontfile_format.proto +13 -13
  44. package/protos/csgo/usercmd.proto +39 -39
  45. package/protos/csgo/usermessages.proto +752 -752
  46. package/protos/google/protobuf/descriptor.proto +281 -281
  47. package/protos/steam/clientmetrics.proto +45 -45
  48. package/protos/steam/content_manifest.proto +62 -62
  49. package/protos/steam/contenthubs.proto +41 -41
  50. package/protos/steam/encrypted_app_ticket.proto +10 -10
  51. package/protos/steam/enums.proto +501 -501
  52. package/protos/steam/enums_clientserver.proto +1508 -1508
  53. package/protos/steam/enums_productinfo.proto +14 -14
  54. package/protos/steam/htmlmessages.proto +1039 -1039
  55. package/protos/steam/offline_ticket.proto +8 -8
  56. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  57. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  58. package/protos/steam/steammessages_accounthardware.steamclient.proto +167 -167
  59. package/protos/steam/steammessages_appoverview.proto +204 -204
  60. package/protos/steam/steammessages_auth.steamclient.proto +375 -375
  61. package/protos/steam/steammessages_broadcast.steamclient.proto +618 -618
  62. package/protos/steam/steammessages_chat.steamclient.proto +1070 -1070
  63. package/protos/steam/steammessages_client_objects.proto +649 -649
  64. package/protos/steam/steammessages_clientlanp2p.proto +43 -43
  65. package/protos/steam/steammessages_clientmetrics.steamclient.proto +192 -192
  66. package/protos/steam/steammessages_clientnotificationtypes.proto +250 -250
  67. package/protos/steam/steammessages_clientserver.proto +392 -392
  68. package/protos/steam/steammessages_clientserver_2.proto +771 -771
  69. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  70. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  71. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  72. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  73. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  74. package/protos/steam/steammessages_clientserver_mms.proto +233 -233
  75. package/protos/steam/steammessages_clientserver_ucm.proto +207 -207
  76. package/protos/steam/steammessages_clientserver_uds.proto +125 -125
  77. package/protos/steam/steammessages_clientserver_ufs.proto +45 -45
  78. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  79. package/protos/steam/steammessages_cloud.steamclient.proto +422 -422
  80. package/protos/steam/steammessages_contentsystem.steamclient.proto +123 -123
  81. package/protos/steam/steammessages_credentials.steamclient.proto +96 -96
  82. package/protos/steam/steammessages_datapublisher.steamclient.proto +102 -102
  83. package/protos/steam/steammessages_depotbuilder.steamclient.proto +99 -99
  84. package/protos/steam/steammessages_deviceauth.steamclient.proto +169 -169
  85. package/protos/steam/steammessages_econ.steamclient.proto +137 -137
  86. package/protos/steam/steammessages_familygroups.steamclient.proto +441 -441
  87. package/protos/steam/steammessages_friendmessages.steamclient.proto +141 -141
  88. package/protos/steam/steammessages_gamenetworking.steamclient.proto +25 -25
  89. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  90. package/protos/steam/steammessages_gamenotifications.steamclient.proto +131 -131
  91. package/protos/steam/steammessages_gameservers.steamclient.proto +136 -136
  92. package/protos/steam/steammessages_hiddevices.proto +157 -157
  93. package/protos/steam/steammessages_inventory.steamclient.proto +172 -172
  94. package/protos/steam/steammessages_linkfilter.steamclient.proto +39 -39
  95. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +29 -29
  96. package/protos/steam/steammessages_market.steamclient.proto +22 -22
  97. package/protos/steam/steammessages_marketingmessages.steamclient.proto +273 -273
  98. package/protos/steam/steammessages_offline.steamclient.proto +33 -33
  99. package/protos/steam/steammessages_parental.steamclient.proto +262 -262
  100. package/protos/steam/steammessages_parties.steamclient.proto +75 -75
  101. package/protos/steam/steammessages_partnerapps.steamclient.proto +106 -106
  102. package/protos/steam/steammessages_player.steamclient.proto +915 -915
  103. package/protos/steam/steammessages_publishedfile.steamclient.proto +737 -737
  104. package/protos/steam/steammessages_qms.steamclient.proto +111 -111
  105. package/protos/steam/steammessages_remoteclient.proto +100 -100
  106. package/protos/steam/steammessages_remoteclient_discovery.proto +244 -244
  107. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +31 -31
  108. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  109. package/protos/steam/steammessages_remoteplay.proto +975 -975
  110. package/protos/steam/steammessages_secrets.steamclient.proto +35 -35
  111. package/protos/steam/steammessages_shader.steamclient.proto +89 -89
  112. package/protos/steam/steammessages_site_license.steamclient.proto +103 -103
  113. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  114. package/protos/steam/steammessages_siteserverui.proto +130 -130
  115. package/protos/steam/steammessages_steamtv.steamclient.proto +533 -533
  116. package/protos/steam/steammessages_store.steamclient.proto +404 -404
  117. package/protos/steam/steammessages_storebrowse.steamclient.proto +457 -457
  118. package/protos/steam/steammessages_timedtrial.steamclient.proto +40 -40
  119. package/protos/steam/steammessages_twofactor.steamclient.proto +157 -157
  120. package/protos/steam/steammessages_unified_test.steamclient.proto +51 -51
  121. package/protos/steam/steammessages_useraccount.steamclient.proto +211 -211
  122. package/protos/steam/steammessages_vac.steamclient.proto +37 -37
  123. package/protos/steam/steammessages_video.steamclient.proto +68 -68
  124. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  125. package/protos/steam/steammessages_workshop.steamclient.proto +19 -19
  126. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  127. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  128. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  129. package/protos/steam/webuimessages_achievements.proto +29 -29
  130. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  131. package/protos/steam/webuimessages_gamescope.proto +57 -57
  132. package/protos/steam/webuimessages_steamengine.proto +41 -41
  133. package/protos/steam/webuimessages_steamos.proto +114 -114
  134. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  135. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  136. package/protos/steam/webuimessages_transport.proto +22 -22
  137. package/protos/steam/webuimessages_transportvalidation.proto +111 -111
  138. package/protos/webui/common.proto +4024 -4024
  139. package/protos/webui/service_accountcart.proto +153 -153
  140. package/protos/webui/service_accountlinking.proto +27 -27
  141. package/protos/webui/service_accountprivacy.proto +42 -42
  142. package/protos/webui/service_accountprivateapps.proto +34 -34
  143. package/protos/webui/service_auction.proto +97 -97
  144. package/protos/webui/service_authentication.proto +222 -222
  145. package/protos/webui/service_authenticationsupport.proto +74 -74
  146. package/protos/webui/service_broadcast.proto +562 -562
  147. package/protos/webui/service_chat.proto +11 -11
  148. package/protos/webui/service_chatroom.proto +810 -810
  149. package/protos/webui/service_chatusability.proto +107 -107
  150. package/protos/webui/service_checkout.proto +84 -84
  151. package/protos/webui/service_clan.proto +41 -41
  152. package/protos/webui/service_clanchatrooms.proto +25 -25
  153. package/protos/webui/service_clanfaqs.proto +202 -202
  154. package/protos/webui/service_clientcomm.proto +151 -151
  155. package/protos/webui/service_clientmetrics.proto +22 -22
  156. package/protos/webui/service_cloud.proto +222 -222
  157. package/protos/webui/service_cloudconfigstore.proto +51 -51
  158. package/protos/webui/service_cloudgaming.proto +30 -30
  159. package/protos/webui/service_community.proto +365 -365
  160. package/protos/webui/service_dailydeal.proto +89 -89
  161. package/protos/webui/service_econ.proto +134 -134
  162. package/protos/webui/service_embedded.proto +24 -24
  163. package/protos/webui/service_experimentservice.proto +6 -6
  164. package/protos/webui/service_familygroups.proto +355 -355
  165. package/protos/webui/service_fovasvideo.proto +15 -15
  166. package/protos/webui/service_friendmessages.proto +133 -133
  167. package/protos/webui/service_friendslist.proto +70 -70
  168. package/protos/webui/service_gamenotes.proto +15 -15
  169. package/protos/webui/service_gamerecording.proto +265 -265
  170. package/protos/webui/service_gamerecordingclip.proto +85 -85
  171. package/protos/webui/service_gamerecordingdebug.proto +52 -52
  172. package/protos/webui/service_helprequestlogs.proto +16 -16
  173. package/protos/webui/service_loyaltyrewards.proto +252 -252
  174. package/protos/webui/service_marketingmessages.proto +215 -215
  175. package/protos/webui/service_mobileapp.proto +18 -18
  176. package/protos/webui/service_mobileauth.proto +24 -24
  177. package/protos/webui/service_mobiledevice.proto +26 -26
  178. package/protos/webui/service_mobileperaccount.proto +31 -31
  179. package/protos/webui/service_news.proto +110 -110
  180. package/protos/webui/service_parental.proto +258 -258
  181. package/protos/webui/service_partnermembershipinvite.proto +34 -34
  182. package/protos/webui/service_partnerstorebrowse.proto +28 -28
  183. package/protos/webui/service_phone.proto +51 -51
  184. package/protos/webui/service_physicalgoods.proto +15 -15
  185. package/protos/webui/service_player.proto +918 -918
  186. package/protos/webui/service_promotioneventinvites.proto +109 -109
  187. package/protos/webui/service_promotionplanning.proto +186 -186
  188. package/protos/webui/service_promotionstats.proto +23 -23
  189. package/protos/webui/service_publishedfile.proto +714 -714
  190. package/protos/webui/service_publishing.proto +200 -200
  191. package/protos/webui/service_quest.proto +127 -127
  192. package/protos/webui/service_salefeature.proto +373 -373
  193. package/protos/webui/service_saleitemrewards.proto +54 -54
  194. package/protos/webui/service_shoppingcart.proto +152 -152
  195. package/protos/webui/service_steamawards.proto +76 -76
  196. package/protos/webui/service_steamcharts.proto +75 -75
  197. package/protos/webui/service_steamengine.proto +36 -36
  198. package/protos/webui/service_steamlearn.proto +876 -876
  199. package/protos/webui/service_steamnotification.proto +73 -73
  200. package/protos/webui/service_steamtv.proto +495 -495
  201. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  202. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  203. package/protos/webui/service_storagedevicemanager.proto +104 -104
  204. package/protos/webui/service_store.proto +359 -359
  205. package/protos/webui/service_storeappsimilarity.proto +76 -76
  206. package/protos/webui/service_storebrowse.proto +103 -103
  207. package/protos/webui/service_storemarketing.proto +44 -44
  208. package/protos/webui/service_storequery.proto +103 -103
  209. package/protos/webui/service_storesales.proto +87 -87
  210. package/protos/webui/service_storetopsellers.proto +44 -44
  211. package/protos/webui/service_systemmanager.proto +11 -11
  212. package/protos/webui/service_test_transporterror.proto +6 -6
  213. package/protos/webui/service_transportauth.proto +17 -17
  214. package/protos/webui/service_transportvalidation.proto +69 -69
  215. package/protos/webui/service_twofactor.proto +170 -170
  216. package/protos/webui/service_useraccount.proto +142 -142
  217. package/protos/webui/service_usergameactivity.proto +34 -34
  218. package/protos/webui/service_usergamenotes.proto +70 -70
  219. package/protos/webui/service_usernews.proto +68 -68
  220. package/protos/webui/service_userreviews.proto +97 -97
  221. package/protos/webui/service_video.proto +50 -50
  222. package/protos/webui/service_videoclip.proto +62 -62
  223. package/protos/webui/service_voicechat.proto +139 -139
  224. package/protos/webui/service_webrtc.proto +52 -52
  225. package/remote.js +2268 -2268
  226. package/steamproto.js +150 -150
  227. package/.idea/deployment.xml +0 -14
  228. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  229. package/.idea/jsLibraryMappings.xml +0 -6
  230. package/.idea/jsLinters/eslint.xml +0 -6
  231. package/.idea/prettier.xml +0 -7
  232. package/full_steamproto.js +0 -41
@@ -1,533 +1,533 @@
1
- import "steammessages_base.proto";
2
- import "steammessages_unified_base.steamclient.proto";
3
-
4
- option cc_generic_services = true;
5
-
6
- enum EBroadcastImageType {
7
- k_EBroadcastImageType_None = 0;
8
- k_EBroadcastImageType_Offline = 1;
9
- k_EBroadcastImageType_Standby = 2;
10
- k_EBroadcastImageType_Avatar = 3;
11
- k_EBroadcastImageType_Summary = 4;
12
- k_EBroadcastImageType_Background = 5;
13
- k_EBroadcastImageType_Emoticon = 6;
14
- }
15
-
16
- enum EGetGamesAlgorithm {
17
- k_EGetGamesAlgorithm_Default = 1;
18
- k_EGetGamesAlgorithm_MostPlayed = 2;
19
- k_EGetGamesAlgorithm_PopularNew = 3;
20
- }
21
-
22
- enum EGetChannelsAlgorithm {
23
- k_EGetChannelsAlgorithm_Default = 1;
24
- k_EGetChannelsAlgorithm_Friends = 2;
25
- k_EGetChannelsAlgorithm_Featured = 3;
26
- k_EGetChannelsAlgorithm_Developer = 4;
27
- k_EGetChannelsAlgorithm_Following = 5;
28
- }
29
-
30
- enum ESteamTVContentTemplate {
31
- k_ESteamTVContentTemplate_Invalid = 0;
32
- k_ESteamTVContentTemplate_Takeover = 1;
33
- k_ESteamTVContentTemplate_SingleGame = 2;
34
- k_ESteamTVContentTemplate_GameList = 3;
35
- k_ESteamTVContentTemplate_QuickExplore = 4;
36
- k_ESteamTVContentTemplate_ConveyorBelt = 5;
37
- k_ESteamTVContentTemplate_WatchParty = 6;
38
- k_ESteamTVContentTemplate_Developer = 7;
39
- k_ESteamTVContentTemplate_Event = 8;
40
- }
41
-
42
- message CSteamTV_CreateBroadcastChannel_Request {
43
- optional string unique_name = 1;
44
- }
45
-
46
- message CSteamTV_CreateBroadcastChannel_Response {
47
- optional fixed64 broadcast_channel_id = 1;
48
- }
49
-
50
- message CSteamTV_GetBroadcastChannelID_Request {
51
- optional string unique_name = 1;
52
- }
53
-
54
- message CSteamTV_GetBroadcastChannelID_Response {
55
- optional fixed64 broadcast_channel_id = 1;
56
- optional string unique_name = 2;
57
- optional fixed64 steamid = 3;
58
- }
59
-
60
- message CSteamTV_SetBroadcastChannelProfile_Request {
61
- optional fixed64 broadcast_channel_id = 1;
62
- optional string name = 2;
63
- optional string language = 3;
64
- optional string headline = 4;
65
- optional string summary = 5;
66
- optional string avatar_hash = 6;
67
- optional string schedule = 7;
68
- optional string rules = 8;
69
- optional string panels = 9;
70
- }
71
-
72
- message CSteamTV_SetBroadcastChannelProfile_Response {
73
- }
74
-
75
- message CSteamTV_GetBroadcastChannelProfile_Request {
76
- optional fixed64 broadcast_channel_id = 1;
77
- }
78
-
79
- message CSteamTV_GetBroadcastChannelProfile_Response {
80
- optional string unique_name = 1;
81
- optional fixed64 owner_steamid = 2;
82
- optional string name = 3;
83
- optional string language = 4;
84
- optional string headline = 5;
85
- optional string summary = 6;
86
- optional string schedule = 7;
87
- optional string rules = 8;
88
- optional string panels = 9;
89
- optional bool is_partnered = 10;
90
- }
91
-
92
- message CSteamTV_SetBroadcastChannelImage_Request {
93
- optional fixed64 broadcast_channel_id = 1;
94
- optional .EBroadcastImageType image_type = 2 [default = k_EBroadcastImageType_None];
95
- optional uint32 image_index = 3;
96
- optional uint32 image_width = 4;
97
- optional uint32 image_height = 5;
98
- optional uint32 file_size = 6;
99
- optional string file_extension = 7;
100
- optional string file_hash = 8;
101
- optional bool undo = 9;
102
- }
103
-
104
- message CSteamTV_SetBroadcastChannelImage_Response {
105
- optional string replace_image_hash = 1;
106
- }
107
-
108
- message CSteamTV_GetBroadcastChannelImages_Request {
109
- optional fixed64 broadcast_channel_id = 1;
110
- repeated .EBroadcastImageType image_types = 2;
111
- }
112
-
113
- message CSteamTV_GetBroadcastChannelImages_Response {
114
- message Images {
115
- optional .EBroadcastImageType image_type = 1 [default = k_EBroadcastImageType_None];
116
- optional string image_path = 2;
117
- optional uint32 image_index = 3;
118
- }
119
-
120
- repeated .CSteamTV_GetBroadcastChannelImages_Response.Images images = 1;
121
- }
122
-
123
- message CSteamTV_SetBroadcastChannelLinkRegions_Request {
124
- message Links {
125
- optional uint32 link_index = 1;
126
- optional string url = 2;
127
- optional string link_description = 3;
128
- optional uint32 left = 4;
129
- optional uint32 top = 5;
130
- optional uint32 width = 6;
131
- optional uint32 height = 7;
132
- }
133
-
134
- optional fixed64 broadcast_channel_id = 1;
135
- repeated .CSteamTV_SetBroadcastChannelLinkRegions_Request.Links links = 2;
136
- }
137
-
138
- message CSteamTV_SetBroadcastChannelLinkRegions_Response {
139
- }
140
-
141
- message CSteamTV_GetBroadcastChannelLinks_Request {
142
- optional fixed64 broadcast_channel_id = 1;
143
- }
144
-
145
- message CSteamTV_GetBroadcastChannelLinks_Response {
146
- message Links {
147
- optional uint32 link_index = 1;
148
- optional string url = 2;
149
- optional string link_description = 3;
150
- optional uint32 left = 4;
151
- optional uint32 top = 5;
152
- optional uint32 width = 6;
153
- optional uint32 height = 7;
154
- }
155
-
156
- repeated .CSteamTV_GetBroadcastChannelLinks_Response.Links links = 1;
157
- }
158
-
159
- message CSteamTV_GetBroadcastChannelBroadcasters_Request {
160
- optional fixed64 broadcast_channel_id = 1;
161
- }
162
-
163
- message CSteamTV_GetBroadcastChannelBroadcasters_Response {
164
- message Broadcaster {
165
- optional fixed64 steamid = 1;
166
- optional string name = 2;
167
- optional string rtmp_token = 3;
168
- }
169
-
170
- repeated .CSteamTV_GetBroadcastChannelBroadcasters_Response.Broadcaster broadcasters = 1;
171
- }
172
-
173
- message CSteamTV_GetFollowedChannels_Request {
174
- }
175
-
176
- message GetBroadcastChannelEntry {
177
- optional fixed64 broadcast_channel_id = 1;
178
- optional string unique_name = 2;
179
- optional string name = 3;
180
- optional uint32 appid = 4;
181
- optional uint64 viewers = 5;
182
- optional uint64 views = 6;
183
- optional string thumbnail_url = 7;
184
- optional uint64 followers = 8;
185
- optional string headline = 9;
186
- optional string avatar_url = 10;
187
- optional fixed64 broadcaster_steamid = 11;
188
- optional uint64 subscribers = 12;
189
- optional string background_url = 13;
190
- optional bool is_featured = 14;
191
- optional bool is_disabled = 15;
192
- optional bool is_live = 16;
193
- optional string language = 17;
194
- optional uint32 reports = 18;
195
- optional bool is_partnered = 19;
196
- }
197
-
198
- message CSteamTV_GetFollowedChannels_Response {
199
- repeated .GetBroadcastChannelEntry results = 1;
200
- }
201
-
202
- message CSteamTV_GetSubscribedChannels_Request {
203
- }
204
-
205
- message CSteamTV_GetSubscribedChannels_Response {
206
- repeated .GetBroadcastChannelEntry results = 1;
207
- }
208
-
209
- message CSteamTV_GetBroadcastChannelStatus_Request {
210
- optional fixed64 broadcast_channel_id = 1;
211
- }
212
-
213
- message CSteamTV_GetBroadcastChannelStatus_Response {
214
- optional bool is_live = 1;
215
- optional bool is_disabled = 2;
216
- optional uint32 appid = 3;
217
- optional uint64 viewers = 4;
218
- optional uint64 views = 5;
219
- optional fixed64 broadcaster_steamid = 6;
220
- optional string thumbnail_url = 7;
221
- optional uint64 followers = 8;
222
- optional uint64 subscribers = 9;
223
- optional string unique_name = 10;
224
- optional uint64 broadcast_session_id = 11;
225
- }
226
-
227
- message CSteamTV_FollowBroadcastChannel_Request {
228
- optional fixed64 broadcast_channel_id = 1;
229
- optional bool undo = 2;
230
- }
231
-
232
- message CSteamTV_FollowBroadcastChannel_Response {
233
- optional bool is_followed = 1;
234
- }
235
-
236
- message CSteamTV_SubscribeBroadcastChannel_Request {
237
- optional fixed64 broadcast_channel_id = 1;
238
- }
239
-
240
- message CSteamTV_SubscribeBroadcastChannel_Response {
241
- optional bool is_subscribed = 1;
242
- }
243
-
244
- message CSteamTV_GetBroadcastChannelClips_Request {
245
- optional fixed64 broadcast_channel_id = 1;
246
- }
247
-
248
- message CSteamTV_BroadcastClipInfo {
249
- optional uint64 broadcast_clip_id = 1;
250
- optional uint64 channel_id = 2;
251
- optional uint32 app_id = 3;
252
- optional fixed64 broadcaster_steamid = 4;
253
- optional fixed64 creator_steamid = 5;
254
- optional string video_description = 6;
255
- optional uint32 live_time = 7;
256
- optional uint32 length_ms = 8;
257
- optional string thumbnail_path = 9;
258
- }
259
-
260
- message CSteamTV_GetBroadcastChannelClips_Response {
261
- repeated .CSteamTV_BroadcastClipInfo clips = 1;
262
- optional string thumbnail_host = 2;
263
- }
264
-
265
- message CSteamTV_ReportBroadcastChannel_Request {
266
- optional fixed64 broadcast_channel_id = 1;
267
- optional string reason = 2;
268
- }
269
-
270
- message CSteamTV_ReportBroadcastChannel_Response {
271
- }
272
-
273
- message CSteamTV_GetBroadcastChannelInteraction_Request {
274
- optional fixed64 broadcast_channel_id = 1;
275
- }
276
-
277
- message CSteamTV_GetBroadcastChannelInteraction_Response {
278
- optional bool is_followed = 1;
279
- optional bool is_subscribed = 2;
280
- }
281
-
282
- message CSteamTV_GetGames_Request {
283
- optional uint32 appid = 1;
284
- optional .EGetGamesAlgorithm algorithm = 2 [default = k_EGetGamesAlgorithm_Default];
285
- optional uint32 count = 3;
286
- }
287
-
288
- message CSteamTV_Game {
289
- optional uint32 appid = 1;
290
- optional string name = 2;
291
- optional string image = 3;
292
- optional uint64 viewers = 4;
293
- repeated .GetBroadcastChannelEntry channels = 5;
294
- optional string release_date = 6;
295
- optional string developer = 7;
296
- optional string publisher = 8;
297
- }
298
-
299
- message CSteamTV_GetGames_Response {
300
- repeated .CSteamTV_Game results = 1;
301
- }
302
-
303
- message CSteamTV_GetChannels_Request {
304
- optional .EGetChannelsAlgorithm algorithm = 1 [default = k_EGetChannelsAlgorithm_Default];
305
- optional uint32 count = 2;
306
- optional uint32 appid = 3;
307
- }
308
-
309
- message CSteamTV_GetChannels_Response {
310
- repeated .GetBroadcastChannelEntry results = 1;
311
- }
312
-
313
- message CSteamTV_AddChatBan_Request {
314
- optional fixed64 broadcast_channel_id = 1;
315
- optional fixed64 chatter_steamid = 2;
316
- optional uint32 duration = 3;
317
- optional bool permanent = 4;
318
- optional bool undo = 5;
319
- }
320
-
321
- message CSteamTV_AddChatBan_Response {
322
- }
323
-
324
- message CSteamTV_GetChatBans_Request {
325
- optional fixed64 broadcast_channel_id = 1;
326
- }
327
-
328
- message CSteamTV_ChatBan {
329
- optional fixed64 issuer_steamid = 1;
330
- optional fixed64 chatter_steamid = 2;
331
- optional string time_expires = 3;
332
- optional bool permanent = 4;
333
- optional string name = 5;
334
- }
335
-
336
- message CSteamTV_GetChatBans_Response {
337
- repeated .CSteamTV_ChatBan results = 1;
338
- }
339
-
340
- message CSteamTV_AddChatModerator_Request {
341
- optional fixed64 broadcast_channel_id = 1;
342
- optional fixed64 moderator_steamid = 2;
343
- optional bool undo = 3;
344
- }
345
-
346
- message CSteamTV_AddChatModerator_Response {
347
- }
348
-
349
- message CSteamTV_GetChatModerators_Request {
350
- optional fixed64 broadcast_channel_id = 1;
351
- }
352
-
353
- message CSteamTV_ChatModerator {
354
- optional fixed64 steamid = 1;
355
- optional string name = 2;
356
- }
357
-
358
- message CSteamTV_GetChatModerators_Response {
359
- repeated .CSteamTV_ChatModerator results = 1;
360
- }
361
-
362
- message CSteamTV_AddWordBan_Request {
363
- optional fixed64 broadcast_channel_id = 1;
364
- optional string word = 2;
365
- optional bool undo = 3;
366
- }
367
-
368
- message CSteamTV_AddWordBan_Response {
369
- }
370
-
371
- message CSteamTV_GetWordBans_Request {
372
- optional fixed64 broadcast_channel_id = 1;
373
- }
374
-
375
- message CSteamTV_GetWordBans_Response {
376
- repeated string results = 1;
377
- }
378
-
379
- message CSteamTV_JoinChat_Request {
380
- optional fixed64 broadcast_channel_id = 1;
381
- }
382
-
383
- message CSteamTV_JoinChat_Response {
384
- optional fixed64 chat_id = 1;
385
- optional string view_url_template = 2;
386
- repeated uint64 flair_group_ids = 3;
387
- }
388
-
389
- message CSteamTV_Search_Request {
390
- optional string term = 1;
391
- }
392
-
393
- message CSteamTV_Search_Response {
394
- repeated .GetBroadcastChannelEntry results = 1;
395
- }
396
-
397
- message CSteamTV_GetSteamTVUserSettings_Request {
398
- }
399
-
400
- message CSteamTV_GetSteamTVUserSettings_Response {
401
- optional bool stream_live_email = 1;
402
- optional bool stream_live_notification = 2;
403
- }
404
-
405
- message CSteamTV_SetSteamTVUserSettings_Request {
406
- optional bool stream_live_email = 1;
407
- optional bool stream_live_notification = 2;
408
- }
409
-
410
- message CSteamTV_SetSteamTVUserSettings_Response {
411
- }
412
-
413
- message CSteamTV_GetMyBroadcastChannels_Request {
414
- }
415
-
416
- message CSteamTV_GetMyBroadcastChannels_Response {
417
- repeated .GetBroadcastChannelEntry results = 1;
418
- }
419
-
420
- message CSteamTV_GetHomePageContents_Request {
421
- }
422
-
423
- message CSteamTV_HomePageTemplate_Takeover {
424
- repeated .GetBroadcastChannelEntry broadcasts = 1;
425
- }
426
-
427
- message CSteamTV_HomePageTemplate_SingleGame {
428
- repeated .GetBroadcastChannelEntry broadcasts = 1;
429
- optional uint32 appid = 2;
430
- optional string title = 3;
431
- }
432
-
433
- message GameListEntry {
434
- optional uint32 appid = 1;
435
- optional string game_name = 2;
436
- optional .GetBroadcastChannelEntry broadcast = 3;
437
- }
438
-
439
- message CSteamTV_HomePageTemplate_GameList {
440
- repeated .GameListEntry entries = 1;
441
- optional string title = 2;
442
- }
443
-
444
- message CSteamTV_HomePageTemplate_QuickExplore {
445
- repeated .GetBroadcastChannelEntry broadcasts = 1;
446
- optional string title = 2;
447
- }
448
-
449
- message CSteamTV_HomePageTemplate_ConveyorBelt {
450
- repeated .GetBroadcastChannelEntry broadcasts = 1;
451
- optional string title = 2;
452
- }
453
-
454
- message CSteamTV_HomePageTemplate_WatchParty {
455
- optional .GetBroadcastChannelEntry broadcast = 1;
456
- optional string title = 2;
457
- optional uint64 chat_group_id = 3;
458
- }
459
-
460
- message CSteamTV_HomePageTemplate_Developer {
461
- optional .GetBroadcastChannelEntry broadcast = 1;
462
- optional string title = 2;
463
- }
464
-
465
- message CSteamTV_HomePageTemplate_Event {
466
- optional string title = 1;
467
- }
468
-
469
- message CSteamTV_HomePageContentRow {
470
- optional .ESteamTVContentTemplate template_type = 1 [default = k_ESteamTVContentTemplate_Invalid];
471
- optional .CSteamTV_HomePageTemplate_Takeover takeover = 2;
472
- optional .CSteamTV_HomePageTemplate_SingleGame single_game = 3;
473
- optional .CSteamTV_HomePageTemplate_GameList game_list = 4;
474
- optional .CSteamTV_HomePageTemplate_QuickExplore quick_explore = 5;
475
- optional .CSteamTV_HomePageTemplate_ConveyorBelt conveyor_belt = 6;
476
- optional .CSteamTV_HomePageTemplate_WatchParty watch_party = 7;
477
- optional .CSteamTV_HomePageTemplate_Developer developer = 8;
478
- optional .CSteamTV_HomePageTemplate_Event event = 9;
479
- }
480
-
481
- message CSteamTV_GetHomePageContents_Response {
482
- repeated .CSteamTV_HomePageContentRow rows = 1;
483
- }
484
-
485
- message CSteamTV_AppCheer_SingleCheerType {
486
- optional uint32 cheer_type = 1;
487
- optional uint32 cheer_amount = 2;
488
- }
489
-
490
- message CSteamTV_AppCheer_Request {
491
- optional uint32 app_id = 1;
492
- optional fixed64 cheer_target_id = 2;
493
- repeated .CSteamTV_AppCheer_SingleCheerType cheers = 3;
494
- }
495
-
496
- message CSteamTV_AppCheer_Response {
497
- optional uint32 aggregation_delay_ms = 1;
498
- }
499
-
500
- service SteamTV {
501
- rpc CreateBroadcastChannel (.CSteamTV_CreateBroadcastChannel_Request) returns (.CSteamTV_CreateBroadcastChannel_Response);
502
- rpc GetBroadcastChannelID (.CSteamTV_GetBroadcastChannelID_Request) returns (.CSteamTV_GetBroadcastChannelID_Response);
503
- rpc SetBroadcastChannelProfile (.CSteamTV_SetBroadcastChannelProfile_Request) returns (.CSteamTV_SetBroadcastChannelProfile_Response);
504
- rpc GetBroadcastChannelProfile (.CSteamTV_GetBroadcastChannelProfile_Request) returns (.CSteamTV_GetBroadcastChannelProfile_Response);
505
- rpc SetBroadcastChannelImage (.CSteamTV_SetBroadcastChannelImage_Request) returns (.CSteamTV_SetBroadcastChannelImage_Response);
506
- rpc GetBroadcastChannelImages (.CSteamTV_GetBroadcastChannelImages_Request) returns (.CSteamTV_GetBroadcastChannelImages_Response);
507
- rpc SetBroadcastChannelLinkRegions (.CSteamTV_SetBroadcastChannelLinkRegions_Request) returns (.CSteamTV_SetBroadcastChannelLinkRegions_Response);
508
- rpc GetBroadcastChannelLinks (.CSteamTV_GetBroadcastChannelLinks_Request) returns (.CSteamTV_GetBroadcastChannelLinks_Response);
509
- rpc GetBroadcastChannelBroadcasters (.CSteamTV_GetBroadcastChannelBroadcasters_Request) returns (.CSteamTV_GetBroadcastChannelBroadcasters_Response);
510
- rpc GetFollowedChannels (.CSteamTV_GetFollowedChannels_Request) returns (.CSteamTV_GetFollowedChannels_Response);
511
- rpc GetSubscribedChannels (.CSteamTV_GetSubscribedChannels_Request) returns (.CSteamTV_GetSubscribedChannels_Response);
512
- rpc GetBroadcastChannelStatus (.CSteamTV_GetBroadcastChannelStatus_Request) returns (.CSteamTV_GetBroadcastChannelStatus_Response);
513
- rpc FollowBroadcastChannel (.CSteamTV_FollowBroadcastChannel_Request) returns (.CSteamTV_FollowBroadcastChannel_Response);
514
- rpc SubscribeBroadcastChannel (.CSteamTV_SubscribeBroadcastChannel_Request) returns (.CSteamTV_SubscribeBroadcastChannel_Response);
515
- rpc GetBroadcastChannelClips (.CSteamTV_GetBroadcastChannelClips_Request) returns (.CSteamTV_GetBroadcastChannelClips_Response);
516
- rpc ReportBroadcastChannel (.CSteamTV_ReportBroadcastChannel_Request) returns (.CSteamTV_ReportBroadcastChannel_Response);
517
- rpc GetBroadcastChannelInteraction (.CSteamTV_GetBroadcastChannelInteraction_Request) returns (.CSteamTV_GetBroadcastChannelInteraction_Response);
518
- rpc GetGames (.CSteamTV_GetGames_Request) returns (.CSteamTV_GetGames_Response);
519
- rpc GetChannels (.CSteamTV_GetChannels_Request) returns (.CSteamTV_GetChannels_Response);
520
- rpc AddChatBan (.CSteamTV_AddChatBan_Request) returns (.CSteamTV_AddChatBan_Response);
521
- rpc GetChatBans (.CSteamTV_GetChatBans_Request) returns (.CSteamTV_GetChatBans_Response);
522
- rpc AddChatModerator (.CSteamTV_AddChatModerator_Request) returns (.CSteamTV_AddChatModerator_Response);
523
- rpc GetChatModerators (.CSteamTV_GetChatModerators_Request) returns (.CSteamTV_GetChatModerators_Response);
524
- rpc AddWordBan (.CSteamTV_AddWordBan_Request) returns (.CSteamTV_AddWordBan_Response);
525
- rpc GetWordBans (.CSteamTV_GetWordBans_Request) returns (.CSteamTV_GetWordBans_Response);
526
- rpc JoinChat (.CSteamTV_JoinChat_Request) returns (.CSteamTV_JoinChat_Response);
527
- rpc Search (.CSteamTV_Search_Request) returns (.CSteamTV_Search_Response);
528
- rpc GetSteamTVUserSettings (.CSteamTV_GetSteamTVUserSettings_Request) returns (.CSteamTV_GetSteamTVUserSettings_Response);
529
- rpc SetSteamTVUserSettings (.CSteamTV_SetSteamTVUserSettings_Request) returns (.CSteamTV_SetSteamTVUserSettings_Response);
530
- rpc GetMyBroadcastChannels (.CSteamTV_GetMyBroadcastChannels_Request) returns (.CSteamTV_GetMyBroadcastChannels_Response);
531
- rpc GetHomePageContents (.CSteamTV_GetHomePageContents_Request) returns (.CSteamTV_GetHomePageContents_Response);
532
- rpc AppCheer (.CSteamTV_AppCheer_Request) returns (.CSteamTV_AppCheer_Response);
533
- }
1
+ import "steammessages_base.proto";
2
+ import "steammessages_unified_base.steamclient.proto";
3
+
4
+ option cc_generic_services = true;
5
+
6
+ enum EBroadcastImageType {
7
+ k_EBroadcastImageType_None = 0;
8
+ k_EBroadcastImageType_Offline = 1;
9
+ k_EBroadcastImageType_Standby = 2;
10
+ k_EBroadcastImageType_Avatar = 3;
11
+ k_EBroadcastImageType_Summary = 4;
12
+ k_EBroadcastImageType_Background = 5;
13
+ k_EBroadcastImageType_Emoticon = 6;
14
+ }
15
+
16
+ enum EGetGamesAlgorithm {
17
+ k_EGetGamesAlgorithm_Default = 1;
18
+ k_EGetGamesAlgorithm_MostPlayed = 2;
19
+ k_EGetGamesAlgorithm_PopularNew = 3;
20
+ }
21
+
22
+ enum EGetChannelsAlgorithm {
23
+ k_EGetChannelsAlgorithm_Default = 1;
24
+ k_EGetChannelsAlgorithm_Friends = 2;
25
+ k_EGetChannelsAlgorithm_Featured = 3;
26
+ k_EGetChannelsAlgorithm_Developer = 4;
27
+ k_EGetChannelsAlgorithm_Following = 5;
28
+ }
29
+
30
+ enum ESteamTVContentTemplate {
31
+ k_ESteamTVContentTemplate_Invalid = 0;
32
+ k_ESteamTVContentTemplate_Takeover = 1;
33
+ k_ESteamTVContentTemplate_SingleGame = 2;
34
+ k_ESteamTVContentTemplate_GameList = 3;
35
+ k_ESteamTVContentTemplate_QuickExplore = 4;
36
+ k_ESteamTVContentTemplate_ConveyorBelt = 5;
37
+ k_ESteamTVContentTemplate_WatchParty = 6;
38
+ k_ESteamTVContentTemplate_Developer = 7;
39
+ k_ESteamTVContentTemplate_Event = 8;
40
+ }
41
+
42
+ message CSteamTV_CreateBroadcastChannel_Request {
43
+ optional string unique_name = 1;
44
+ }
45
+
46
+ message CSteamTV_CreateBroadcastChannel_Response {
47
+ optional fixed64 broadcast_channel_id = 1;
48
+ }
49
+
50
+ message CSteamTV_GetBroadcastChannelID_Request {
51
+ optional string unique_name = 1;
52
+ }
53
+
54
+ message CSteamTV_GetBroadcastChannelID_Response {
55
+ optional fixed64 broadcast_channel_id = 1;
56
+ optional string unique_name = 2;
57
+ optional fixed64 steamid = 3;
58
+ }
59
+
60
+ message CSteamTV_SetBroadcastChannelProfile_Request {
61
+ optional fixed64 broadcast_channel_id = 1;
62
+ optional string name = 2;
63
+ optional string language = 3;
64
+ optional string headline = 4;
65
+ optional string summary = 5;
66
+ optional string avatar_hash = 6;
67
+ optional string schedule = 7;
68
+ optional string rules = 8;
69
+ optional string panels = 9;
70
+ }
71
+
72
+ message CSteamTV_SetBroadcastChannelProfile_Response {
73
+ }
74
+
75
+ message CSteamTV_GetBroadcastChannelProfile_Request {
76
+ optional fixed64 broadcast_channel_id = 1;
77
+ }
78
+
79
+ message CSteamTV_GetBroadcastChannelProfile_Response {
80
+ optional string unique_name = 1;
81
+ optional fixed64 owner_steamid = 2;
82
+ optional string name = 3;
83
+ optional string language = 4;
84
+ optional string headline = 5;
85
+ optional string summary = 6;
86
+ optional string schedule = 7;
87
+ optional string rules = 8;
88
+ optional string panels = 9;
89
+ optional bool is_partnered = 10;
90
+ }
91
+
92
+ message CSteamTV_SetBroadcastChannelImage_Request {
93
+ optional fixed64 broadcast_channel_id = 1;
94
+ optional .EBroadcastImageType image_type = 2 [default = k_EBroadcastImageType_None];
95
+ optional uint32 image_index = 3;
96
+ optional uint32 image_width = 4;
97
+ optional uint32 image_height = 5;
98
+ optional uint32 file_size = 6;
99
+ optional string file_extension = 7;
100
+ optional string file_hash = 8;
101
+ optional bool undo = 9;
102
+ }
103
+
104
+ message CSteamTV_SetBroadcastChannelImage_Response {
105
+ optional string replace_image_hash = 1;
106
+ }
107
+
108
+ message CSteamTV_GetBroadcastChannelImages_Request {
109
+ optional fixed64 broadcast_channel_id = 1;
110
+ repeated .EBroadcastImageType image_types = 2;
111
+ }
112
+
113
+ message CSteamTV_GetBroadcastChannelImages_Response {
114
+ message Images {
115
+ optional .EBroadcastImageType image_type = 1 [default = k_EBroadcastImageType_None];
116
+ optional string image_path = 2;
117
+ optional uint32 image_index = 3;
118
+ }
119
+
120
+ repeated .CSteamTV_GetBroadcastChannelImages_Response.Images images = 1;
121
+ }
122
+
123
+ message CSteamTV_SetBroadcastChannelLinkRegions_Request {
124
+ message Links {
125
+ optional uint32 link_index = 1;
126
+ optional string url = 2;
127
+ optional string link_description = 3;
128
+ optional uint32 left = 4;
129
+ optional uint32 top = 5;
130
+ optional uint32 width = 6;
131
+ optional uint32 height = 7;
132
+ }
133
+
134
+ optional fixed64 broadcast_channel_id = 1;
135
+ repeated .CSteamTV_SetBroadcastChannelLinkRegions_Request.Links links = 2;
136
+ }
137
+
138
+ message CSteamTV_SetBroadcastChannelLinkRegions_Response {
139
+ }
140
+
141
+ message CSteamTV_GetBroadcastChannelLinks_Request {
142
+ optional fixed64 broadcast_channel_id = 1;
143
+ }
144
+
145
+ message CSteamTV_GetBroadcastChannelLinks_Response {
146
+ message Links {
147
+ optional uint32 link_index = 1;
148
+ optional string url = 2;
149
+ optional string link_description = 3;
150
+ optional uint32 left = 4;
151
+ optional uint32 top = 5;
152
+ optional uint32 width = 6;
153
+ optional uint32 height = 7;
154
+ }
155
+
156
+ repeated .CSteamTV_GetBroadcastChannelLinks_Response.Links links = 1;
157
+ }
158
+
159
+ message CSteamTV_GetBroadcastChannelBroadcasters_Request {
160
+ optional fixed64 broadcast_channel_id = 1;
161
+ }
162
+
163
+ message CSteamTV_GetBroadcastChannelBroadcasters_Response {
164
+ message Broadcaster {
165
+ optional fixed64 steamid = 1;
166
+ optional string name = 2;
167
+ optional string rtmp_token = 3;
168
+ }
169
+
170
+ repeated .CSteamTV_GetBroadcastChannelBroadcasters_Response.Broadcaster broadcasters = 1;
171
+ }
172
+
173
+ message CSteamTV_GetFollowedChannels_Request {
174
+ }
175
+
176
+ message GetBroadcastChannelEntry {
177
+ optional fixed64 broadcast_channel_id = 1;
178
+ optional string unique_name = 2;
179
+ optional string name = 3;
180
+ optional uint32 appid = 4;
181
+ optional uint64 viewers = 5;
182
+ optional uint64 views = 6;
183
+ optional string thumbnail_url = 7;
184
+ optional uint64 followers = 8;
185
+ optional string headline = 9;
186
+ optional string avatar_url = 10;
187
+ optional fixed64 broadcaster_steamid = 11;
188
+ optional uint64 subscribers = 12;
189
+ optional string background_url = 13;
190
+ optional bool is_featured = 14;
191
+ optional bool is_disabled = 15;
192
+ optional bool is_live = 16;
193
+ optional string language = 17;
194
+ optional uint32 reports = 18;
195
+ optional bool is_partnered = 19;
196
+ }
197
+
198
+ message CSteamTV_GetFollowedChannels_Response {
199
+ repeated .GetBroadcastChannelEntry results = 1;
200
+ }
201
+
202
+ message CSteamTV_GetSubscribedChannels_Request {
203
+ }
204
+
205
+ message CSteamTV_GetSubscribedChannels_Response {
206
+ repeated .GetBroadcastChannelEntry results = 1;
207
+ }
208
+
209
+ message CSteamTV_GetBroadcastChannelStatus_Request {
210
+ optional fixed64 broadcast_channel_id = 1;
211
+ }
212
+
213
+ message CSteamTV_GetBroadcastChannelStatus_Response {
214
+ optional bool is_live = 1;
215
+ optional bool is_disabled = 2;
216
+ optional uint32 appid = 3;
217
+ optional uint64 viewers = 4;
218
+ optional uint64 views = 5;
219
+ optional fixed64 broadcaster_steamid = 6;
220
+ optional string thumbnail_url = 7;
221
+ optional uint64 followers = 8;
222
+ optional uint64 subscribers = 9;
223
+ optional string unique_name = 10;
224
+ optional uint64 broadcast_session_id = 11;
225
+ }
226
+
227
+ message CSteamTV_FollowBroadcastChannel_Request {
228
+ optional fixed64 broadcast_channel_id = 1;
229
+ optional bool undo = 2;
230
+ }
231
+
232
+ message CSteamTV_FollowBroadcastChannel_Response {
233
+ optional bool is_followed = 1;
234
+ }
235
+
236
+ message CSteamTV_SubscribeBroadcastChannel_Request {
237
+ optional fixed64 broadcast_channel_id = 1;
238
+ }
239
+
240
+ message CSteamTV_SubscribeBroadcastChannel_Response {
241
+ optional bool is_subscribed = 1;
242
+ }
243
+
244
+ message CSteamTV_GetBroadcastChannelClips_Request {
245
+ optional fixed64 broadcast_channel_id = 1;
246
+ }
247
+
248
+ message CSteamTV_BroadcastClipInfo {
249
+ optional uint64 broadcast_clip_id = 1;
250
+ optional uint64 channel_id = 2;
251
+ optional uint32 app_id = 3;
252
+ optional fixed64 broadcaster_steamid = 4;
253
+ optional fixed64 creator_steamid = 5;
254
+ optional string video_description = 6;
255
+ optional uint32 live_time = 7;
256
+ optional uint32 length_ms = 8;
257
+ optional string thumbnail_path = 9;
258
+ }
259
+
260
+ message CSteamTV_GetBroadcastChannelClips_Response {
261
+ repeated .CSteamTV_BroadcastClipInfo clips = 1;
262
+ optional string thumbnail_host = 2;
263
+ }
264
+
265
+ message CSteamTV_ReportBroadcastChannel_Request {
266
+ optional fixed64 broadcast_channel_id = 1;
267
+ optional string reason = 2;
268
+ }
269
+
270
+ message CSteamTV_ReportBroadcastChannel_Response {
271
+ }
272
+
273
+ message CSteamTV_GetBroadcastChannelInteraction_Request {
274
+ optional fixed64 broadcast_channel_id = 1;
275
+ }
276
+
277
+ message CSteamTV_GetBroadcastChannelInteraction_Response {
278
+ optional bool is_followed = 1;
279
+ optional bool is_subscribed = 2;
280
+ }
281
+
282
+ message CSteamTV_GetGames_Request {
283
+ optional uint32 appid = 1;
284
+ optional .EGetGamesAlgorithm algorithm = 2 [default = k_EGetGamesAlgorithm_Default];
285
+ optional uint32 count = 3;
286
+ }
287
+
288
+ message CSteamTV_Game {
289
+ optional uint32 appid = 1;
290
+ optional string name = 2;
291
+ optional string image = 3;
292
+ optional uint64 viewers = 4;
293
+ repeated .GetBroadcastChannelEntry channels = 5;
294
+ optional string release_date = 6;
295
+ optional string developer = 7;
296
+ optional string publisher = 8;
297
+ }
298
+
299
+ message CSteamTV_GetGames_Response {
300
+ repeated .CSteamTV_Game results = 1;
301
+ }
302
+
303
+ message CSteamTV_GetChannels_Request {
304
+ optional .EGetChannelsAlgorithm algorithm = 1 [default = k_EGetChannelsAlgorithm_Default];
305
+ optional uint32 count = 2;
306
+ optional uint32 appid = 3;
307
+ }
308
+
309
+ message CSteamTV_GetChannels_Response {
310
+ repeated .GetBroadcastChannelEntry results = 1;
311
+ }
312
+
313
+ message CSteamTV_AddChatBan_Request {
314
+ optional fixed64 broadcast_channel_id = 1;
315
+ optional fixed64 chatter_steamid = 2;
316
+ optional uint32 duration = 3;
317
+ optional bool permanent = 4;
318
+ optional bool undo = 5;
319
+ }
320
+
321
+ message CSteamTV_AddChatBan_Response {
322
+ }
323
+
324
+ message CSteamTV_GetChatBans_Request {
325
+ optional fixed64 broadcast_channel_id = 1;
326
+ }
327
+
328
+ message CSteamTV_ChatBan {
329
+ optional fixed64 issuer_steamid = 1;
330
+ optional fixed64 chatter_steamid = 2;
331
+ optional string time_expires = 3;
332
+ optional bool permanent = 4;
333
+ optional string name = 5;
334
+ }
335
+
336
+ message CSteamTV_GetChatBans_Response {
337
+ repeated .CSteamTV_ChatBan results = 1;
338
+ }
339
+
340
+ message CSteamTV_AddChatModerator_Request {
341
+ optional fixed64 broadcast_channel_id = 1;
342
+ optional fixed64 moderator_steamid = 2;
343
+ optional bool undo = 3;
344
+ }
345
+
346
+ message CSteamTV_AddChatModerator_Response {
347
+ }
348
+
349
+ message CSteamTV_GetChatModerators_Request {
350
+ optional fixed64 broadcast_channel_id = 1;
351
+ }
352
+
353
+ message CSteamTV_ChatModerator {
354
+ optional fixed64 steamid = 1;
355
+ optional string name = 2;
356
+ }
357
+
358
+ message CSteamTV_GetChatModerators_Response {
359
+ repeated .CSteamTV_ChatModerator results = 1;
360
+ }
361
+
362
+ message CSteamTV_AddWordBan_Request {
363
+ optional fixed64 broadcast_channel_id = 1;
364
+ optional string word = 2;
365
+ optional bool undo = 3;
366
+ }
367
+
368
+ message CSteamTV_AddWordBan_Response {
369
+ }
370
+
371
+ message CSteamTV_GetWordBans_Request {
372
+ optional fixed64 broadcast_channel_id = 1;
373
+ }
374
+
375
+ message CSteamTV_GetWordBans_Response {
376
+ repeated string results = 1;
377
+ }
378
+
379
+ message CSteamTV_JoinChat_Request {
380
+ optional fixed64 broadcast_channel_id = 1;
381
+ }
382
+
383
+ message CSteamTV_JoinChat_Response {
384
+ optional fixed64 chat_id = 1;
385
+ optional string view_url_template = 2;
386
+ repeated uint64 flair_group_ids = 3;
387
+ }
388
+
389
+ message CSteamTV_Search_Request {
390
+ optional string term = 1;
391
+ }
392
+
393
+ message CSteamTV_Search_Response {
394
+ repeated .GetBroadcastChannelEntry results = 1;
395
+ }
396
+
397
+ message CSteamTV_GetSteamTVUserSettings_Request {
398
+ }
399
+
400
+ message CSteamTV_GetSteamTVUserSettings_Response {
401
+ optional bool stream_live_email = 1;
402
+ optional bool stream_live_notification = 2;
403
+ }
404
+
405
+ message CSteamTV_SetSteamTVUserSettings_Request {
406
+ optional bool stream_live_email = 1;
407
+ optional bool stream_live_notification = 2;
408
+ }
409
+
410
+ message CSteamTV_SetSteamTVUserSettings_Response {
411
+ }
412
+
413
+ message CSteamTV_GetMyBroadcastChannels_Request {
414
+ }
415
+
416
+ message CSteamTV_GetMyBroadcastChannels_Response {
417
+ repeated .GetBroadcastChannelEntry results = 1;
418
+ }
419
+
420
+ message CSteamTV_GetHomePageContents_Request {
421
+ }
422
+
423
+ message CSteamTV_HomePageTemplate_Takeover {
424
+ repeated .GetBroadcastChannelEntry broadcasts = 1;
425
+ }
426
+
427
+ message CSteamTV_HomePageTemplate_SingleGame {
428
+ repeated .GetBroadcastChannelEntry broadcasts = 1;
429
+ optional uint32 appid = 2;
430
+ optional string title = 3;
431
+ }
432
+
433
+ message GameListEntry {
434
+ optional uint32 appid = 1;
435
+ optional string game_name = 2;
436
+ optional .GetBroadcastChannelEntry broadcast = 3;
437
+ }
438
+
439
+ message CSteamTV_HomePageTemplate_GameList {
440
+ repeated .GameListEntry entries = 1;
441
+ optional string title = 2;
442
+ }
443
+
444
+ message CSteamTV_HomePageTemplate_QuickExplore {
445
+ repeated .GetBroadcastChannelEntry broadcasts = 1;
446
+ optional string title = 2;
447
+ }
448
+
449
+ message CSteamTV_HomePageTemplate_ConveyorBelt {
450
+ repeated .GetBroadcastChannelEntry broadcasts = 1;
451
+ optional string title = 2;
452
+ }
453
+
454
+ message CSteamTV_HomePageTemplate_WatchParty {
455
+ optional .GetBroadcastChannelEntry broadcast = 1;
456
+ optional string title = 2;
457
+ optional uint64 chat_group_id = 3;
458
+ }
459
+
460
+ message CSteamTV_HomePageTemplate_Developer {
461
+ optional .GetBroadcastChannelEntry broadcast = 1;
462
+ optional string title = 2;
463
+ }
464
+
465
+ message CSteamTV_HomePageTemplate_Event {
466
+ optional string title = 1;
467
+ }
468
+
469
+ message CSteamTV_HomePageContentRow {
470
+ optional .ESteamTVContentTemplate template_type = 1 [default = k_ESteamTVContentTemplate_Invalid];
471
+ optional .CSteamTV_HomePageTemplate_Takeover takeover = 2;
472
+ optional .CSteamTV_HomePageTemplate_SingleGame single_game = 3;
473
+ optional .CSteamTV_HomePageTemplate_GameList game_list = 4;
474
+ optional .CSteamTV_HomePageTemplate_QuickExplore quick_explore = 5;
475
+ optional .CSteamTV_HomePageTemplate_ConveyorBelt conveyor_belt = 6;
476
+ optional .CSteamTV_HomePageTemplate_WatchParty watch_party = 7;
477
+ optional .CSteamTV_HomePageTemplate_Developer developer = 8;
478
+ optional .CSteamTV_HomePageTemplate_Event event = 9;
479
+ }
480
+
481
+ message CSteamTV_GetHomePageContents_Response {
482
+ repeated .CSteamTV_HomePageContentRow rows = 1;
483
+ }
484
+
485
+ message CSteamTV_AppCheer_SingleCheerType {
486
+ optional uint32 cheer_type = 1;
487
+ optional uint32 cheer_amount = 2;
488
+ }
489
+
490
+ message CSteamTV_AppCheer_Request {
491
+ optional uint32 app_id = 1;
492
+ optional fixed64 cheer_target_id = 2;
493
+ repeated .CSteamTV_AppCheer_SingleCheerType cheers = 3;
494
+ }
495
+
496
+ message CSteamTV_AppCheer_Response {
497
+ optional uint32 aggregation_delay_ms = 1;
498
+ }
499
+
500
+ service SteamTV {
501
+ rpc CreateBroadcastChannel (.CSteamTV_CreateBroadcastChannel_Request) returns (.CSteamTV_CreateBroadcastChannel_Response);
502
+ rpc GetBroadcastChannelID (.CSteamTV_GetBroadcastChannelID_Request) returns (.CSteamTV_GetBroadcastChannelID_Response);
503
+ rpc SetBroadcastChannelProfile (.CSteamTV_SetBroadcastChannelProfile_Request) returns (.CSteamTV_SetBroadcastChannelProfile_Response);
504
+ rpc GetBroadcastChannelProfile (.CSteamTV_GetBroadcastChannelProfile_Request) returns (.CSteamTV_GetBroadcastChannelProfile_Response);
505
+ rpc SetBroadcastChannelImage (.CSteamTV_SetBroadcastChannelImage_Request) returns (.CSteamTV_SetBroadcastChannelImage_Response);
506
+ rpc GetBroadcastChannelImages (.CSteamTV_GetBroadcastChannelImages_Request) returns (.CSteamTV_GetBroadcastChannelImages_Response);
507
+ rpc SetBroadcastChannelLinkRegions (.CSteamTV_SetBroadcastChannelLinkRegions_Request) returns (.CSteamTV_SetBroadcastChannelLinkRegions_Response);
508
+ rpc GetBroadcastChannelLinks (.CSteamTV_GetBroadcastChannelLinks_Request) returns (.CSteamTV_GetBroadcastChannelLinks_Response);
509
+ rpc GetBroadcastChannelBroadcasters (.CSteamTV_GetBroadcastChannelBroadcasters_Request) returns (.CSteamTV_GetBroadcastChannelBroadcasters_Response);
510
+ rpc GetFollowedChannels (.CSteamTV_GetFollowedChannels_Request) returns (.CSteamTV_GetFollowedChannels_Response);
511
+ rpc GetSubscribedChannels (.CSteamTV_GetSubscribedChannels_Request) returns (.CSteamTV_GetSubscribedChannels_Response);
512
+ rpc GetBroadcastChannelStatus (.CSteamTV_GetBroadcastChannelStatus_Request) returns (.CSteamTV_GetBroadcastChannelStatus_Response);
513
+ rpc FollowBroadcastChannel (.CSteamTV_FollowBroadcastChannel_Request) returns (.CSteamTV_FollowBroadcastChannel_Response);
514
+ rpc SubscribeBroadcastChannel (.CSteamTV_SubscribeBroadcastChannel_Request) returns (.CSteamTV_SubscribeBroadcastChannel_Response);
515
+ rpc GetBroadcastChannelClips (.CSteamTV_GetBroadcastChannelClips_Request) returns (.CSteamTV_GetBroadcastChannelClips_Response);
516
+ rpc ReportBroadcastChannel (.CSteamTV_ReportBroadcastChannel_Request) returns (.CSteamTV_ReportBroadcastChannel_Response);
517
+ rpc GetBroadcastChannelInteraction (.CSteamTV_GetBroadcastChannelInteraction_Request) returns (.CSteamTV_GetBroadcastChannelInteraction_Response);
518
+ rpc GetGames (.CSteamTV_GetGames_Request) returns (.CSteamTV_GetGames_Response);
519
+ rpc GetChannels (.CSteamTV_GetChannels_Request) returns (.CSteamTV_GetChannels_Response);
520
+ rpc AddChatBan (.CSteamTV_AddChatBan_Request) returns (.CSteamTV_AddChatBan_Response);
521
+ rpc GetChatBans (.CSteamTV_GetChatBans_Request) returns (.CSteamTV_GetChatBans_Response);
522
+ rpc AddChatModerator (.CSteamTV_AddChatModerator_Request) returns (.CSteamTV_AddChatModerator_Response);
523
+ rpc GetChatModerators (.CSteamTV_GetChatModerators_Request) returns (.CSteamTV_GetChatModerators_Response);
524
+ rpc AddWordBan (.CSteamTV_AddWordBan_Request) returns (.CSteamTV_AddWordBan_Response);
525
+ rpc GetWordBans (.CSteamTV_GetWordBans_Request) returns (.CSteamTV_GetWordBans_Response);
526
+ rpc JoinChat (.CSteamTV_JoinChat_Request) returns (.CSteamTV_JoinChat_Response);
527
+ rpc Search (.CSteamTV_Search_Request) returns (.CSteamTV_Search_Response);
528
+ rpc GetSteamTVUserSettings (.CSteamTV_GetSteamTVUserSettings_Request) returns (.CSteamTV_GetSteamTVUserSettings_Response);
529
+ rpc SetSteamTVUserSettings (.CSteamTV_SetSteamTVUserSettings_Request) returns (.CSteamTV_SetSteamTVUserSettings_Response);
530
+ rpc GetMyBroadcastChannels (.CSteamTV_GetMyBroadcastChannels_Request) returns (.CSteamTV_GetMyBroadcastChannels_Response);
531
+ rpc GetHomePageContents (.CSteamTV_GetHomePageContents_Request) returns (.CSteamTV_GetHomePageContents_Response);
532
+ rpc AppCheer (.CSteamTV_AppCheer_Request) returns (.CSteamTV_AppCheer_Response);
533
+ }