cs2-exploit 1.0.0

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.

Potentially problematic release.


This version of cs2-exploit might be problematic. Click here for more details.

Files changed (396) hide show
  1. package/.github/workflows/npm-publish-github-packages.yml +36 -0
  2. package/README.md +25 -0
  3. package/config.json +6 -0
  4. package/helpers/Coordinator.js +157 -0
  5. package/helpers/Helper.js +171 -0
  6. package/helpers/Lobby.js +396 -0
  7. package/helpers/Protos.js +47 -0
  8. package/helpers/VDF.js +140 -0
  9. package/index.js +137 -0
  10. package/package.json +25 -0
  11. package/protobufs/.gitattributes +1 -0
  12. package/protobufs/LICENSE +24 -0
  13. package/protobufs/README.md +7 -0
  14. package/protobufs/artifact/base_gcmessages.proto +532 -0
  15. package/protobufs/artifact/c_peer2peer_netmessages.proto +57 -0
  16. package/protobufs/artifact/clientmessages.proto +51 -0
  17. package/protobufs/artifact/connectionless_netmessages.proto +21 -0
  18. package/protobufs/artifact/dcg_gamemessages.proto +638 -0
  19. package/protobufs/artifact/dcg_gcmessages_client.proto +1590 -0
  20. package/protobufs/artifact/dcg_gcmessages_common.proto +617 -0
  21. package/protobufs/artifact/dcg_gcmessages_server.proto +395 -0
  22. package/protobufs/artifact/demo.proto +149 -0
  23. package/protobufs/artifact/econ_gcmessages.proto +1033 -0
  24. package/protobufs/artifact/econ_shared_enums.proto +47 -0
  25. package/protobufs/artifact/gameevents.proto +121 -0
  26. package/protobufs/artifact/gametoolevents.proto +78 -0
  27. package/protobufs/artifact/gcsdk_gcmessages.proto +391 -0
  28. package/protobufs/artifact/gcsystemmsgs.proto +28 -0
  29. package/protobufs/artifact/netmessages.proto +551 -0
  30. package/protobufs/artifact/network_connection.proto +117 -0
  31. package/protobufs/artifact/networkbasetypes.proto +206 -0
  32. package/protobufs/artifact/networksystem_protomessages.proto +19 -0
  33. package/protobufs/artifact/steamdatagram_messages_auth.proto +38 -0
  34. package/protobufs/artifact/steamdatagram_messages_sdr.proto +441 -0
  35. package/protobufs/artifact/steammessages.proto +636 -0
  36. package/protobufs/artifact/steammessages_base.proto +83 -0
  37. package/protobufs/artifact/steammessages_cloud.steamworkssdk.proto +68 -0
  38. package/protobufs/artifact/steammessages_oauth.steamworkssdk.proto +18 -0
  39. package/protobufs/artifact/steammessages_publishedfile.steamworkssdk.proto +233 -0
  40. package/protobufs/artifact/steammessages_unified_base.steamworkssdk.proto +30 -0
  41. package/protobufs/artifact/steamnetworkingsockets_messages.proto +113 -0
  42. package/protobufs/artifact/steamnetworkingsockets_messages_certs.proto +32 -0
  43. package/protobufs/artifact/steamnetworkingsockets_messages_udp.proto +76 -0
  44. package/protobufs/artifact/te.proto +257 -0
  45. package/protobufs/artifact/uifontfile_format.proto +16 -0
  46. package/protobufs/artifact/usermessages.proto +473 -0
  47. package/protobufs/csgo/base_gcmessages_csgo.proto +547 -0
  48. package/protobufs/csgo/c_peer2peer_netmessages.proto +55 -0
  49. package/protobufs/csgo/clientmessages.proto +48 -0
  50. package/protobufs/csgo/connectionless_netmessages.proto +17 -0
  51. package/protobufs/csgo/cs_gameevents.proto +35 -0
  52. package/protobufs/csgo/cs_usercmd.proto +54 -0
  53. package/protobufs/csgo/cstrike15_gcmessages.proto +1415 -0
  54. package/protobufs/csgo/cstrike15_usermessages.proto +596 -0
  55. package/protobufs/csgo/demo.proto +160 -0
  56. package/protobufs/csgo/econ_gcmessages.proto +228 -0
  57. package/protobufs/csgo/engine_gcmessages.proto +14 -0
  58. package/protobufs/csgo/enums_clientserver.proto +1529 -0
  59. package/protobufs/csgo/fatdemo.proto +125 -0
  60. package/protobufs/csgo/gameevents.proto +120 -0
  61. package/protobufs/csgo/gcsdk_gcmessages.proto +323 -0
  62. package/protobufs/csgo/gcsystemmsgs.proto +242 -0
  63. package/protobufs/csgo/netmessages.proto +607 -0
  64. package/protobufs/csgo/network_connection.proto +126 -0
  65. package/protobufs/csgo/networkbasetypes.proto +244 -0
  66. package/protobufs/csgo/networksystem_protomessages.proto +17 -0
  67. package/protobufs/csgo/steamdatagram_messages_auth.proto +65 -0
  68. package/protobufs/csgo/steamdatagram_messages_sdr.proto +534 -0
  69. package/protobufs/csgo/steammessages.proto +597 -0
  70. package/protobufs/csgo/steammessages_base.proto +301 -0
  71. package/protobufs/csgo/steammessages_cloud.steamworkssdk.proto +68 -0
  72. package/protobufs/csgo/steammessages_gamenetworkingui.proto +61 -0
  73. package/protobufs/csgo/steammessages_helprequest.steamworkssdk.proto +22 -0
  74. package/protobufs/csgo/steammessages_oauth.steamworkssdk.proto +18 -0
  75. package/protobufs/csgo/steammessages_player.steamworkssdk.proto +254 -0
  76. package/protobufs/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -0
  77. package/protobufs/csgo/steammessages_unified_base.steamworkssdk.proto +30 -0
  78. package/protobufs/csgo/steamnetworkingsockets_messages.proto +205 -0
  79. package/protobufs/csgo/steamnetworkingsockets_messages_certs.proto +39 -0
  80. package/protobufs/csgo/steamnetworkingsockets_messages_udp.proto +75 -0
  81. package/protobufs/csgo/te.proto +259 -0
  82. package/protobufs/csgo/uifontfile_format.proto +13 -0
  83. package/protobufs/csgo/usercmd.proto +37 -0
  84. package/protobufs/csgo/usermessages.proto +742 -0
  85. package/protobufs/csgo/valveextensions.proto +17 -0
  86. package/protobufs/dota2/base_gcmessages.proto +400 -0
  87. package/protobufs/dota2/c_peer2peer_netmessages.proto +55 -0
  88. package/protobufs/dota2/clientmessages.proto +48 -0
  89. package/protobufs/dota2/connectionless_netmessages.proto +19 -0
  90. package/protobufs/dota2/demo.proto +160 -0
  91. package/protobufs/dota2/dota_broadcastmessages.proto +29 -0
  92. package/protobufs/dota2/dota_client_enums.proto +93 -0
  93. package/protobufs/dota2/dota_clientmessages.proto +573 -0
  94. package/protobufs/dota2/dota_commonmessages.proto +146 -0
  95. package/protobufs/dota2/dota_gcmessages_client.proto +3336 -0
  96. package/protobufs/dota2/dota_gcmessages_client_battle_report.proto +393 -0
  97. package/protobufs/dota2/dota_gcmessages_client_bingo.proto +108 -0
  98. package/protobufs/dota2/dota_gcmessages_client_candy_shop.proto +302 -0
  99. package/protobufs/dota2/dota_gcmessages_client_chat.proto +239 -0
  100. package/protobufs/dota2/dota_gcmessages_client_coaching.proto +376 -0
  101. package/protobufs/dota2/dota_gcmessages_client_fantasy.proto +564 -0
  102. package/protobufs/dota2/dota_gcmessages_client_guild.proto +651 -0
  103. package/protobufs/dota2/dota_gcmessages_client_guild_events.proto +231 -0
  104. package/protobufs/dota2/dota_gcmessages_client_match_management.proto +468 -0
  105. package/protobufs/dota2/dota_gcmessages_client_showcase.proto +528 -0
  106. package/protobufs/dota2/dota_gcmessages_client_team.proto +275 -0
  107. package/protobufs/dota2/dota_gcmessages_client_tournament.proto +173 -0
  108. package/protobufs/dota2/dota_gcmessages_client_watch.proto +205 -0
  109. package/protobufs/dota2/dota_gcmessages_common.proto +1667 -0
  110. package/protobufs/dota2/dota_gcmessages_common_bot_script.proto +294 -0
  111. package/protobufs/dota2/dota_gcmessages_common_league.proto +351 -0
  112. package/protobufs/dota2/dota_gcmessages_common_lobby.proto +391 -0
  113. package/protobufs/dota2/dota_gcmessages_common_match_management.proto +488 -0
  114. package/protobufs/dota2/dota_gcmessages_msgid.proto +890 -0
  115. package/protobufs/dota2/dota_gcmessages_server.proto +1495 -0
  116. package/protobufs/dota2/dota_gcmessages_webapi.proto +376 -0
  117. package/protobufs/dota2/dota_hud_types.proto +33 -0
  118. package/protobufs/dota2/dota_match_metadata.proto +346 -0
  119. package/protobufs/dota2/dota_messages_mlbot.proto +62 -0
  120. package/protobufs/dota2/dota_modifiers.proto +53 -0
  121. package/protobufs/dota2/dota_scenariomessages.proto +226 -0
  122. package/protobufs/dota2/dota_shared_enums.proto +820 -0
  123. package/protobufs/dota2/dota_usercmd.proto +15 -0
  124. package/protobufs/dota2/dota_usermessages.proto +1655 -0
  125. package/protobufs/dota2/econ_gcmessages.proto +997 -0
  126. package/protobufs/dota2/econ_shared_enums.proto +37 -0
  127. package/protobufs/dota2/engine_gcmessages.proto +14 -0
  128. package/protobufs/dota2/enums_clientserver.proto +1547 -0
  129. package/protobufs/dota2/gameevents.proto +120 -0
  130. package/protobufs/dota2/gametoolevents.proto +78 -0
  131. package/protobufs/dota2/gcsdk_gcmessages.proto +488 -0
  132. package/protobufs/dota2/gcsystemmsgs.proto +26 -0
  133. package/protobufs/dota2/netmessages.proto +604 -0
  134. package/protobufs/dota2/network_connection.proto +126 -0
  135. package/protobufs/dota2/networkbasetypes.proto +244 -0
  136. package/protobufs/dota2/networksystem_protomessages.proto +17 -0
  137. package/protobufs/dota2/steamdatagram_messages_auth.proto +65 -0
  138. package/protobufs/dota2/steamdatagram_messages_sdr.proto +533 -0
  139. package/protobufs/dota2/steammessages.proto +108 -0
  140. package/protobufs/dota2/steammessages_base.proto +332 -0
  141. package/protobufs/dota2/steammessages_clientserver_login.proto +155 -0
  142. package/protobufs/dota2/steammessages_cloud.steamworkssdk.proto +68 -0
  143. package/protobufs/dota2/steammessages_gamenetworkingui.proto +42 -0
  144. package/protobufs/dota2/steammessages_helprequest.steamworkssdk.proto +22 -0
  145. package/protobufs/dota2/steammessages_int.proto +628 -0
  146. package/protobufs/dota2/steammessages_oauth.steamworkssdk.proto +18 -0
  147. package/protobufs/dota2/steammessages_player.steamworkssdk.proto +254 -0
  148. package/protobufs/dota2/steammessages_publishedfile.steamworkssdk.proto +233 -0
  149. package/protobufs/dota2/steammessages_steamlearn.steamworkssdk.proto +360 -0
  150. package/protobufs/dota2/steammessages_unified_base.steamworkssdk.proto +30 -0
  151. package/protobufs/dota2/steamnetworkingsockets_messages.proto +205 -0
  152. package/protobufs/dota2/steamnetworkingsockets_messages_certs.proto +39 -0
  153. package/protobufs/dota2/steamnetworkingsockets_messages_udp.proto +75 -0
  154. package/protobufs/dota2/te.proto +259 -0
  155. package/protobufs/dota2/uifontfile_format.proto +13 -0
  156. package/protobufs/dota2/usercmd.proto +38 -0
  157. package/protobufs/dota2/usermessages.proto +721 -0
  158. package/protobufs/dota2/valveextensions.proto +17 -0
  159. package/protobufs/google/protobuf/descriptor.proto +281 -0
  160. package/protobufs/steam/clientmetrics.proto +45 -0
  161. package/protobufs/steam/content_manifest.proto +62 -0
  162. package/protobufs/steam/contenthubs.proto +41 -0
  163. package/protobufs/steam/encrypted_app_ticket.proto +10 -0
  164. package/protobufs/steam/enums.proto +482 -0
  165. package/protobufs/steam/enums_clientserver.proto +1525 -0
  166. package/protobufs/steam/enums_productinfo.proto +13 -0
  167. package/protobufs/steam/htmlmessages.proto +1031 -0
  168. package/protobufs/steam/offline_ticket.proto +8 -0
  169. package/protobufs/steam/steamdatagram_messages_auth.proto +65 -0
  170. package/protobufs/steam/steamdatagram_messages_sdr.proto +534 -0
  171. package/protobufs/steam/steammessages_accounthardware.steamclient.proto +167 -0
  172. package/protobufs/steam/steammessages_appoverview.proto +202 -0
  173. package/protobufs/steam/steammessages_auth.steamclient.proto +375 -0
  174. package/protobufs/steam/steammessages_base.proto +335 -0
  175. package/protobufs/steam/steammessages_broadcast.steamclient.proto +619 -0
  176. package/protobufs/steam/steammessages_chat.steamclient.proto +1070 -0
  177. package/protobufs/steam/steammessages_client_objects.proto +648 -0
  178. package/protobufs/steam/steammessages_clientlanp2p.proto +43 -0
  179. package/protobufs/steam/steammessages_clientmetrics.steamclient.proto +192 -0
  180. package/protobufs/steam/steammessages_clientnotificationtypes.proto +242 -0
  181. package/protobufs/steam/steammessages_clientserver.proto +392 -0
  182. package/protobufs/steam/steammessages_clientserver_2.proto +771 -0
  183. package/protobufs/steam/steammessages_clientserver_appinfo.proto +131 -0
  184. package/protobufs/steam/steammessages_clientserver_friends.proto +260 -0
  185. package/protobufs/steam/steammessages_clientserver_gameservers.proto +159 -0
  186. package/protobufs/steam/steammessages_clientserver_lbs.proto +70 -0
  187. package/protobufs/steam/steammessages_clientserver_login.proto +167 -0
  188. package/protobufs/steam/steammessages_clientserver_mms.proto +228 -0
  189. package/protobufs/steam/steammessages_clientserver_ucm.proto +206 -0
  190. package/protobufs/steam/steammessages_clientserver_uds.proto +125 -0
  191. package/protobufs/steam/steammessages_clientserver_ufs.proto +172 -0
  192. package/protobufs/steam/steammessages_clientserver_userstats.proto +80 -0
  193. package/protobufs/steam/steammessages_clientsettings.proto +184 -0
  194. package/protobufs/steam/steammessages_cloud.steamclient.proto +422 -0
  195. package/protobufs/steam/steammessages_contentsystem.steamclient.proto +123 -0
  196. package/protobufs/steam/steammessages_credentials.steamclient.proto +96 -0
  197. package/protobufs/steam/steammessages_datapublisher.steamclient.proto +102 -0
  198. package/protobufs/steam/steammessages_depotbuilder.steamclient.proto +99 -0
  199. package/protobufs/steam/steammessages_deviceauth.steamclient.proto +169 -0
  200. package/protobufs/steam/steammessages_econ.steamclient.proto +137 -0
  201. package/protobufs/steam/steammessages_familygroups.steamclient.proto +389 -0
  202. package/protobufs/steam/steammessages_friendmessages.steamclient.proto +141 -0
  203. package/protobufs/steam/steammessages_gamenetworking.steamclient.proto +25 -0
  204. package/protobufs/steam/steammessages_gamenetworkingui.proto +61 -0
  205. package/protobufs/steam/steammessages_gamenotifications.steamclient.proto +131 -0
  206. package/protobufs/steam/steammessages_gameservers.steamclient.proto +136 -0
  207. package/protobufs/steam/steammessages_hiddevices.proto +157 -0
  208. package/protobufs/steam/steammessages_inventory.steamclient.proto +172 -0
  209. package/protobufs/steam/steammessages_linkfilter.steamclient.proto +39 -0
  210. package/protobufs/steam/steammessages_lobbymatchmaking.steamclient.proto +29 -0
  211. package/protobufs/steam/steammessages_market.steamclient.proto +22 -0
  212. package/protobufs/steam/steammessages_marketingmessages.steamclient.proto +264 -0
  213. package/protobufs/steam/steammessages_offline.steamclient.proto +33 -0
  214. package/protobufs/steam/steammessages_parental.steamclient.proto +260 -0
  215. package/protobufs/steam/steammessages_parties.steamclient.proto +75 -0
  216. package/protobufs/steam/steammessages_partnerapps.steamclient.proto +106 -0
  217. package/protobufs/steam/steammessages_player.steamclient.proto +897 -0
  218. package/protobufs/steam/steammessages_publishedfile.steamclient.proto +734 -0
  219. package/protobufs/steam/steammessages_qms.steamclient.proto +111 -0
  220. package/protobufs/steam/steammessages_remoteclient.proto +99 -0
  221. package/protobufs/steam/steammessages_remoteclient_discovery.proto +243 -0
  222. package/protobufs/steam/steammessages_remoteclient_service.steamclient.proto +31 -0
  223. package/protobufs/steam/steammessages_remoteclient_service_messages.proto +217 -0
  224. package/protobufs/steam/steammessages_remoteplay.proto +976 -0
  225. package/protobufs/steam/steammessages_secrets.steamclient.proto +35 -0
  226. package/protobufs/steam/steammessages_shader.steamclient.proto +89 -0
  227. package/protobufs/steam/steammessages_site_license.steamclient.proto +103 -0
  228. package/protobufs/steam/steammessages_sitelicenseclient.proto +38 -0
  229. package/protobufs/steam/steammessages_siteserverui.proto +130 -0
  230. package/protobufs/steam/steammessages_star.steamclient.proto +60 -0
  231. package/protobufs/steam/steammessages_steamtv.steamclient.proto +533 -0
  232. package/protobufs/steam/steammessages_store.steamclient.proto +404 -0
  233. package/protobufs/steam/steammessages_storebrowse.steamclient.proto +430 -0
  234. package/protobufs/steam/steammessages_timedtrial.steamclient.proto +40 -0
  235. package/protobufs/steam/steammessages_twofactor.steamclient.proto +157 -0
  236. package/protobufs/steam/steammessages_unified_base.steamclient.proto +33 -0
  237. package/protobufs/steam/steammessages_unified_test.steamclient.proto +51 -0
  238. package/protobufs/steam/steammessages_useraccount.steamclient.proto +207 -0
  239. package/protobufs/steam/steammessages_vac.steamclient.proto +37 -0
  240. package/protobufs/steam/steammessages_video.steamclient.proto +68 -0
  241. package/protobufs/steam/steammessages_virtualcontroller.proto +138 -0
  242. package/protobufs/steam/steammessages_workshop.steamclient.proto +19 -0
  243. package/protobufs/steam/steamnetworkingsockets_messages.proto +205 -0
  244. package/protobufs/steam/steamnetworkingsockets_messages_certs.proto +39 -0
  245. package/protobufs/steam/steamnetworkingsockets_messages_udp.proto +75 -0
  246. package/protobufs/steam/webuimessages_achievements.proto +29 -0
  247. package/protobufs/steam/webuimessages_base.proto +24 -0
  248. package/protobufs/steam/webuimessages_gamenotes.proto +21 -0
  249. package/protobufs/steam/webuimessages_gamescope.proto +54 -0
  250. package/protobufs/steam/webuimessages_steamengine.proto +41 -0
  251. package/protobufs/steam/webuimessages_steamos.proto +114 -0
  252. package/protobufs/steam/webuimessages_storagedevicemanager.proto +110 -0
  253. package/protobufs/steam/webuimessages_systemmanager.proto +17 -0
  254. package/protobufs/steam/webuimessages_transport.proto +18 -0
  255. package/protobufs/steam/webuimessages_transportvalidation.proto +111 -0
  256. package/protobufs/tf2/base_gcmessages.proto +561 -0
  257. package/protobufs/tf2/econ_gcmessages.proto +368 -0
  258. package/protobufs/tf2/gcsdk_gcmessages.proto +186 -0
  259. package/protobufs/tf2/gcsystemmsgs.proto +178 -0
  260. package/protobufs/tf2/steamdatagram_auth_messages.proto +50 -0
  261. package/protobufs/tf2/steamdatagram_messages.proto +598 -0
  262. package/protobufs/tf2/steamdatagram_messages_auth.proto +65 -0
  263. package/protobufs/tf2/steamdatagram_messages_sdr.proto +518 -0
  264. package/protobufs/tf2/steammessages.proto +577 -0
  265. package/protobufs/tf2/steammessages_gamenetworkingui.proto +42 -0
  266. package/protobufs/tf2/steamnetworkingsockets_messages.proto +204 -0
  267. package/protobufs/tf2/steamnetworkingsockets_messages_certs.proto +38 -0
  268. package/protobufs/tf2/steamnetworkingsockets_messages_udp.proto +75 -0
  269. package/protobufs/tf2/tf_gcmessages.proto +1624 -0
  270. package/protobufs/tf2/tf_proto_def_messages.proto +598 -0
  271. package/protobufs/underlords/base_gcmessages.proto +532 -0
  272. package/protobufs/underlords/c_peer2peer_netmessages.proto +57 -0
  273. package/protobufs/underlords/clientmessages.proto +51 -0
  274. package/protobufs/underlords/connectionless_netmessages.proto +21 -0
  275. package/protobufs/underlords/dac_gamemessages.proto +1376 -0
  276. package/protobufs/underlords/dac_gcmessages_client.proto +1518 -0
  277. package/protobufs/underlords/dac_gcmessages_common.proto +377 -0
  278. package/protobufs/underlords/dac_gcmessages_server.proto +417 -0
  279. package/protobufs/underlords/demo.proto +149 -0
  280. package/protobufs/underlords/econ_gcmessages.proto +1063 -0
  281. package/protobufs/underlords/econ_shared_enums.proto +47 -0
  282. package/protobufs/underlords/enums_clientserver.proto +1538 -0
  283. package/protobufs/underlords/gameevents.proto +121 -0
  284. package/protobufs/underlords/gametoolevents.proto +78 -0
  285. package/protobufs/underlords/gcsdk_gcmessages.proto +448 -0
  286. package/protobufs/underlords/gcsystemmsgs.proto +29 -0
  287. package/protobufs/underlords/netmessages.proto +553 -0
  288. package/protobufs/underlords/network_connection.proto +117 -0
  289. package/protobufs/underlords/networkbasetypes.proto +219 -0
  290. package/protobufs/underlords/networksystem_protomessages.proto +19 -0
  291. package/protobufs/underlords/steamdatagram_messages_auth.proto +64 -0
  292. package/protobufs/underlords/steamdatagram_messages_sdr.proto +482 -0
  293. package/protobufs/underlords/steammessages.proto +701 -0
  294. package/protobufs/underlords/steammessages_base.proto +243 -0
  295. package/protobufs/underlords/steammessages_clientserver_login.proto +155 -0
  296. package/protobufs/underlords/steammessages_cloud.steamworkssdk.proto +68 -0
  297. package/protobufs/underlords/steammessages_helprequest.steamworkssdk.proto +22 -0
  298. package/protobufs/underlords/steammessages_oauth.steamworkssdk.proto +18 -0
  299. package/protobufs/underlords/steammessages_player.steamworkssdk.proto +254 -0
  300. package/protobufs/underlords/steammessages_publishedfile.steamworkssdk.proto +233 -0
  301. package/protobufs/underlords/steammessages_unified_base.steamworkssdk.proto +30 -0
  302. package/protobufs/underlords/steamnetworkingsockets_messages.proto +165 -0
  303. package/protobufs/underlords/steamnetworkingsockets_messages_certs.proto +38 -0
  304. package/protobufs/underlords/steamnetworkingsockets_messages_udp.proto +74 -0
  305. package/protobufs/underlords/te.proto +259 -0
  306. package/protobufs/underlords/uifontfile_format.proto +16 -0
  307. package/protobufs/underlords/usermessages.proto +511 -0
  308. package/protobufs/underlords/valveextensions.proto +11 -0
  309. package/protobufs/update.sh +13 -0
  310. package/protobufs/webui/common.proto +3998 -0
  311. package/protobufs/webui/common_base.proto +27 -0
  312. package/protobufs/webui/service_accountcart.proto +153 -0
  313. package/protobufs/webui/service_accountlinking.proto +27 -0
  314. package/protobufs/webui/service_accountprivacy.proto +42 -0
  315. package/protobufs/webui/service_accountprivateapps.proto +34 -0
  316. package/protobufs/webui/service_auction.proto +97 -0
  317. package/protobufs/webui/service_authentication.proto +222 -0
  318. package/protobufs/webui/service_authenticationsupport.proto +74 -0
  319. package/protobufs/webui/service_broadcast.proto +562 -0
  320. package/protobufs/webui/service_chat.proto +11 -0
  321. package/protobufs/webui/service_chatroom.proto +810 -0
  322. package/protobufs/webui/service_chatusability.proto +107 -0
  323. package/protobufs/webui/service_checkout.proto +83 -0
  324. package/protobufs/webui/service_clan.proto +41 -0
  325. package/protobufs/webui/service_clanchatrooms.proto +25 -0
  326. package/protobufs/webui/service_clanfaqs.proto +202 -0
  327. package/protobufs/webui/service_clientcomm.proto +151 -0
  328. package/protobufs/webui/service_clientmetrics.proto +22 -0
  329. package/protobufs/webui/service_cloud.proto +222 -0
  330. package/protobufs/webui/service_cloudconfigstore.proto +51 -0
  331. package/protobufs/webui/service_cloudgaming.proto +30 -0
  332. package/protobufs/webui/service_community.proto +365 -0
  333. package/protobufs/webui/service_dailydeal.proto +66 -0
  334. package/protobufs/webui/service_econ.proto +134 -0
  335. package/protobufs/webui/service_embedded.proto +24 -0
  336. package/protobufs/webui/service_experimentservice.proto +6 -0
  337. package/protobufs/webui/service_familygroups.proto +329 -0
  338. package/protobufs/webui/service_fovasvideo.proto +15 -0
  339. package/protobufs/webui/service_friendmessages.proto +133 -0
  340. package/protobufs/webui/service_friendslist.proto +70 -0
  341. package/protobufs/webui/service_gamenotes.proto +15 -0
  342. package/protobufs/webui/service_gamerecording.proto +259 -0
  343. package/protobufs/webui/service_gamerecordingclip.proto +83 -0
  344. package/protobufs/webui/service_gamerecordingdebug.proto +52 -0
  345. package/protobufs/webui/service_helprequestlogs.proto +16 -0
  346. package/protobufs/webui/service_loyaltyrewards.proto +252 -0
  347. package/protobufs/webui/service_marketingmessages.proto +215 -0
  348. package/protobufs/webui/service_mobileapp.proto +18 -0
  349. package/protobufs/webui/service_mobileauth.proto +24 -0
  350. package/protobufs/webui/service_mobiledevice.proto +26 -0
  351. package/protobufs/webui/service_mobileperaccount.proto +31 -0
  352. package/protobufs/webui/service_news.proto +110 -0
  353. package/protobufs/webui/service_parental.proto +256 -0
  354. package/protobufs/webui/service_partnermembershipinvite.proto +34 -0
  355. package/protobufs/webui/service_partnerstorebrowse.proto +28 -0
  356. package/protobufs/webui/service_phone.proto +51 -0
  357. package/protobufs/webui/service_physicalgoods.proto +15 -0
  358. package/protobufs/webui/service_player.proto +917 -0
  359. package/protobufs/webui/service_promotioneventinvites.proto +109 -0
  360. package/protobufs/webui/service_promotionplanning.proto +172 -0
  361. package/protobufs/webui/service_publishedfile.proto +711 -0
  362. package/protobufs/webui/service_publishing.proto +183 -0
  363. package/protobufs/webui/service_quest.proto +127 -0
  364. package/protobufs/webui/service_salefeature.proto +357 -0
  365. package/protobufs/webui/service_saleitemrewards.proto +54 -0
  366. package/protobufs/webui/service_shoppingcart.proto +152 -0
  367. package/protobufs/webui/service_steamawards.proto +76 -0
  368. package/protobufs/webui/service_steamcharts.proto +75 -0
  369. package/protobufs/webui/service_steamengine.proto +36 -0
  370. package/protobufs/webui/service_steamlearn.proto +780 -0
  371. package/protobufs/webui/service_steamnotification.proto +73 -0
  372. package/protobufs/webui/service_steamtv.proto +495 -0
  373. package/protobufs/webui/service_steamvrvoicechat.proto +67 -0
  374. package/protobufs/webui/service_steamvrwebrtc.proto +48 -0
  375. package/protobufs/webui/service_storagedevicemanager.proto +104 -0
  376. package/protobufs/webui/service_store.proto +359 -0
  377. package/protobufs/webui/service_storeappsimilarity.proto +76 -0
  378. package/protobufs/webui/service_storebrowse.proto +102 -0
  379. package/protobufs/webui/service_storemarketing.proto +41 -0
  380. package/protobufs/webui/service_storequery.proto +103 -0
  381. package/protobufs/webui/service_storesales.proto +87 -0
  382. package/protobufs/webui/service_storetopsellers.proto +44 -0
  383. package/protobufs/webui/service_systemmanager.proto +11 -0
  384. package/protobufs/webui/service_test_transporterror.proto +6 -0
  385. package/protobufs/webui/service_transportauth.proto +12 -0
  386. package/protobufs/webui/service_transportvalidation.proto +69 -0
  387. package/protobufs/webui/service_twofactor.proto +170 -0
  388. package/protobufs/webui/service_useraccount.proto +138 -0
  389. package/protobufs/webui/service_usergameactivity.proto +34 -0
  390. package/protobufs/webui/service_usergamenotes.proto +70 -0
  391. package/protobufs/webui/service_usernews.proto +68 -0
  392. package/protobufs/webui/service_userreviews.proto +96 -0
  393. package/protobufs/webui/service_video.proto +50 -0
  394. package/protobufs/webui/service_videoclip.proto +48 -0
  395. package/protobufs/webui/service_voicechat.proto +139 -0
  396. package/protobufs/webui/service_webrtc.proto +52 -0
@@ -0,0 +1,1590 @@
1
+ import "dcg_gcmessages_common.proto";
2
+
3
+ option optimize_for = SPEED;
4
+ option cc_generic_services = false;
5
+
6
+ enum EGCDCGClientMessages {
7
+ k_EMsgClientToGCStartMatchmaking = 9010;
8
+ k_EMsgClientToGCStartMatchmakingResponse = 9011;
9
+ k_EMsgClientToGCStopMatchmaking = 9012;
10
+ k_EMsgClientToGCStopMatchmakingResponse = 9013;
11
+ k_EMsgGCToClientMatchmakingStopped = 9014;
12
+ k_EMsgClientToGCLeaveLobby = 9015;
13
+ k_EMsgClientToGCLeaveLobbyResponse = 9016;
14
+ k_EMsgGCToClientDefaultValidator = 9019;
15
+ k_EMsgClientToGCJoinChatChannel = 9023;
16
+ k_EMsgClientToGCJoinChatChannelResponse = 9024;
17
+ k_EMsgClientToGCSendChatMessage = 9025;
18
+ k_EMsgGCToClientChatMessage = 9026;
19
+ k_EMsgGCToClientUserJoinedChatChannel = 9027;
20
+ k_EMsgClientToGCLeaveChatChannel = 9028;
21
+ k_EMsgGCToClientChatChannelJoined = 9029;
22
+ k_EMsgClientToGCIsInMatchmaking = 9030;
23
+ k_EMsgClientToGCIsInMatchmakingResponse = 9031;
24
+ k_EMsgClientToGCOpenPackItem = 9036;
25
+ k_EMsgClientToGCOpenPackItemResponse = 9037;
26
+ k_EMsgClientToGCLeaveChatChannelByKey = 9040;
27
+ k_EMsgClientToGCSendChatMessageRoll = 9041;
28
+ k_EMsgClientToGCGetMatchHistory = 9044;
29
+ k_EMsgClientToGCGetMatchHistoryResponse = 9045;
30
+ k_EMsgClientToGCGetMatchDetails = 9046;
31
+ k_EMsgClientToGCGetMatchDetailsResponse = 9047;
32
+ k_EMsgClientToGCLimitedGrant = 9048;
33
+ k_EMsgClientToGCLimitedGrantResponse = 9049;
34
+ k_EMsgClientToGCLimitedGrantChoice = 9050;
35
+ k_EMsgClientToGCLimitedGrantChoiceResponse = 9051;
36
+ k_EMsgClientToGCLimitedGetFormat = 9052;
37
+ k_EMsgClientToGCLimitedGetFormatResponse = 9053;
38
+ k_EMsgClientToGCGetAIVsAIMatchConfig = 9076;
39
+ k_EMsgClientToGCGetAIVsAIMatchConfigResponse = 9077;
40
+ k_EMsgClientToGCGetAIVsAIMatchComplete = 9078;
41
+ k_EMsgGCToClientGlobalPhantomLeagues = 9081;
42
+ k_EMsgGCToClientMatchmakingStatus = 9096;
43
+ k_EMsgClientToGCJoinGauntlet = 9097;
44
+ k_EMsgClientToGCJoinGauntletResponse = 9098;
45
+ k_EMsgClientToGCAbandonGauntlet = 9099;
46
+ k_EMsgClientToGCAbandonGauntletResponse = 9100;
47
+ k_EMsgGCToClientAvailableGauntlets = 9101;
48
+ k_EMsgClientToGCGetGauntletMatches = 9102;
49
+ k_EMsgClientToGCGetGauntletMatchesResponse = 9103;
50
+ k_EMsgClientToGCRegisterGauntletDeck = 9104;
51
+ k_EMsgClientToGCRegisterGauntletDeckResponse = 9105;
52
+ k_EMsgClientToGCAIGauntletResult = 9106;
53
+ k_EMsgClientToGCAIGauntletResultResponse = 9107;
54
+ k_EMsgClientToGCPrivateLobbyCreate = 9110;
55
+ k_EMsgClientToGCPrivateLobbyCreateResponse = 9111;
56
+ k_EMsgClientToGCPrivateLobbyLeave = 9112;
57
+ k_EMsgClientToGCPrivateLobbyLeaveResponse = 9113;
58
+ k_EMsgClientToGCPrivateLobbyJoin = 9114;
59
+ k_EMsgClientToGCPrivateLobbyJoinResponse = 9115;
60
+ k_EMsgClientToGCPrivateLobbyAction = 9116;
61
+ k_EMsgClientToGCPrivateLobbyActionResponse = 9117;
62
+ k_EMsgClientToGCPrivateLobbyStartMatch = 9118;
63
+ k_EMsgClientToGCPrivateLobbyStartMatchResponse = 9119;
64
+ k_EMsgClientToGCPrivateLobbyInviteUser = 9120;
65
+ k_EMsgClientToGCPrivateLobbyInviteUserResponse = 9121;
66
+ k_EMsgClientToGCPrivateLobbyChallenge = 9122;
67
+ k_EMsgClientToGCPrivateLobbyChallengeResponse = 9123;
68
+ k_EMsgGCToClientPrivateLobbyEvent = 9124;
69
+ k_EMsgClientToGCPrivateLobbyClientVersion = 9125;
70
+ k_EMsgGCToClientSDRTicket = 9126;
71
+ k_EMsgClientToGCReplacementSDRTicket = 9127;
72
+ k_EMsgClientToGCReplacementSDRTicketResponse = 9128;
73
+ k_EMsgClientToGCPrivateLobbyJoinChatRoom = 9129;
74
+ k_EMsgClientToGCPrivateLobbyJoinChatRoomResponse = 9130;
75
+ k_EMsgClientToGCMatchSignout = 9133;
76
+ k_EMsgClientToGCInitialGrantAck = 9134;
77
+ k_EMsgClientToGCRecycleCards = 9135;
78
+ k_EMsgClientToGCRecycleCardsResponse = 9136;
79
+ k_EMsgClientToGCSetPlayerBadge = 9137;
80
+ k_EMsgClientToGCTourneyGetInfo = 9500;
81
+ k_EMsgClientToGCTourneyGetInfoResponse = 9501;
82
+ k_EMsgClientToGCTourneyUnsubscribe = 9502;
83
+ k_EMsgGCToClientTourneyUpdated = 9503;
84
+ k_EMsgGCToClientTourneySeriesMatchReady = 9506;
85
+ k_EMsgGCToClientTourneySeriesMatchNotReady = 9507;
86
+ k_EMsgClientToGCCreateTourney = 9508;
87
+ k_EMsgClientToGCCreateTourneyResponse = 9509;
88
+ k_EMsgClientToGCTourneyAcceptInvite = 9512;
89
+ k_EMsgClientToGCTourneyAcceptInviteResponse = 9513;
90
+ k_EMsgClientToGCTourneyRejectInvite = 9514;
91
+ k_EMsgClientToGCTourneyRejectInviteResponse = 9515;
92
+ k_EMsgClientToGCTourneyRevokeInvite = 9516;
93
+ k_EMsgClientToGCTourneyRevokeInviteResponse = 9517;
94
+ k_EMsgClientToGCTourneyAdminSwitchStage = 9518;
95
+ k_EMsgClientToGCTourneyAdminSwitchStageResponse = 9519;
96
+ k_EMsgClientToGCTourneyAdminKick = 9520;
97
+ k_EMsgClientToGCTourneyAdminKickResponse = 9521;
98
+ k_EMsgClientToGCTourneyAdminGrantWin = 9522;
99
+ k_EMsgClientToGCTourneyAdminGrantWinResponse = 9523;
100
+ k_EMsgClientToGCTourneyAdminChangeRights = 9524;
101
+ k_EMsgClientToGCTourneyAdminChangeRightsResponse = 9525;
102
+ k_EMsgClientToGCTourneyRegisterDeck = 9526;
103
+ k_EMsgClientToGCTourneyRegisterDeckResponse = 9527;
104
+ k_EMsgClientToGCTourneyUserLeave = 9528;
105
+ k_EMsgClientToGCTourneyUserLeaveResponse = 9529;
106
+ k_EMsgClientToGCTourneyRegisterSharedDeck = 9530;
107
+ k_EMsgClientToGCTourneyRegisterSharedDeckResponse = 9531;
108
+ k_EMsgClientToGCTourneyGetRegisteredDecks = 9532;
109
+ k_EMsgClientToGCTourneyGetRegisteredDecksResponse = 9533;
110
+ k_EMsgClientToGCTourneyCreateOpenInvite = 9536;
111
+ k_EMsgClientToGCTourneyCreateOpenInviteResponse = 9537;
112
+ k_EMsgClientToGCTourneyRevokeOpenInvite = 9538;
113
+ k_EMsgClientToGCTourneyRevokeOpenInviteResponse = 9539;
114
+ k_EMsgClientToGCTourneyGetOpenInvites = 9540;
115
+ k_EMsgClientToGCTourneyGetOpenInvitesResponse = 9541;
116
+ k_EMsgClientToGCTourneyAdminSwitchPhaseStage = 9542;
117
+ k_EMsgClientToGCTourneyAdminSwitchPhaseStageResponse = 9543;
118
+ k_EMsgClientToGCTourneyGetOverview = 9544;
119
+ k_EMsgClientToGCTourneyGetOverviewResponse = 9545;
120
+ k_EMsgClientToGCTourneySetStatus = 9546;
121
+ k_EMsgClientToGCTourneySetStatusResponse = 9547;
122
+ k_EMsgClientToGCTourneyAddPhase = 9548;
123
+ k_EMsgClientToGCTourneyAddPhaseResponse = 9549;
124
+ k_EMsgClientToGCTourneyRemovePhase = 9550;
125
+ k_EMsgClientToGCTourneyRemovePhaseResponse = 9551;
126
+ k_EMsgClientToGCTourneySpectateMatch = 9552;
127
+ k_EMsgClientToGCTourneySpectateMatchResponse = 9553;
128
+ k_EMsgClientToGCTourneyInviteList = 9554;
129
+ k_EMsgClientToGCTourneyInviteListResponse = 9555;
130
+ k_EMsgClientToGCTourneyAdminSetSeedValues = 9556;
131
+ k_EMsgClientToGCTourneyAdminSetSeedValuesResponse = 9557;
132
+ k_EMsgClientToGCTourneyEditStageSwapPlayers = 9558;
133
+ k_EMsgClientToGCTourneyEditStageSwapPlayersResponse = 9559;
134
+ k_EMsgClientToGCTourneyGetLimitedReplay = 9560;
135
+ k_EMsgClientToGCTourneyGetLimitedReplayResponse = 9561;
136
+ k_EMsgClientToGCTourneyRejoinChatRoom = 9562;
137
+ k_EMsgClientToGCTourneyRejoinChatRoomResponse = 9563;
138
+ k_EMsgGCToClientTourneyMembersMatchmaking = 9564;
139
+ k_EMsgClientToGCTourneyPayEntryFee = 9565;
140
+ k_EMsgClientToGCTourneyPayEntryFeeResponse = 9566;
141
+ k_EMsgClientToGCTourneyPlayerAbandon = 9567;
142
+ k_EMsgClientToGCTourneyPlayerAbandonResponse = 9568;
143
+ k_EMsgClientToGCTourneyChangeValue = 9569;
144
+ k_EMsgClientToGCTourneyChangeValueResponse = 9570;
145
+ k_EMsgClientToGCTourneyJoinOpenTourney = 9571;
146
+ k_EMsgClientToGCTourneyJoinOpenTourneyResponse = 9572;
147
+ }
148
+
149
+ enum EChatRoomType {
150
+ k_EChatRoomType_Invalid = 0;
151
+ k_EChatRoomType_Match = 1;
152
+ k_EChatRoomType_PublicRegion = 2;
153
+ k_EChatRoomType_Developer = 3;
154
+ k_EChatRoomType_Custom = 4;
155
+ k_EChatRoomType_PrivateLobby = 5;
156
+ k_EChatRoomType_Client_Tab = 20;
157
+ k_EChatRoomType_Client_Whisper = 21;
158
+ }
159
+
160
+ enum EChatMessageAdditionalData {
161
+ k_EChatMessageAdditionalData_None = 0;
162
+ k_EChatMessageAdditionalData_DiceRoll = 1;
163
+ }
164
+
165
+ message CMsgClientToGCStartMatchmaking {
166
+ optional .CMsgStartFindingMatchInfo match_info = 2;
167
+ optional uint64 tourney_id = 3;
168
+ optional uint32 tourney_phase_id = 4;
169
+ optional uint32 tourney_series_id = 5;
170
+ optional .CMsgRegionPingTimesClient ping_times = 6;
171
+ }
172
+
173
+ message CMsgClientToGCStartMatchmakingResponse {
174
+ enum EResultCode {
175
+ k_EResult_OK = 0;
176
+ k_EResult_AlreadyFindingMatch = 1;
177
+ k_EResult_PartyMemberInLobby = 2;
178
+ k_EResult_InvalidClientVersion = 3;
179
+ k_EResult_MatchmakingDisabled = 4;
180
+ k_EResult_MatchmakingTooBusy = 5;
181
+ k_EResult_GauntletClosed = 6;
182
+ k_EResult_InvalidGauntlet = 7;
183
+ k_EResult_InternalError = 8;
184
+ k_EResult_InvalidDeck = 9;
185
+ k_EResult_HasUnownedCards = 10;
186
+ k_EResult_TournamentNoMatches = 11;
187
+ k_EResult_TournamentNoDeck = 13;
188
+ k_EResult_NoRegionPings = 14;
189
+ }
190
+
191
+ optional .CMsgClientToGCStartMatchmakingResponse.EResultCode result = 1 [default = k_EResult_OK];
192
+ optional uint32 tournament_opponent_id = 2;
193
+ optional string debug_message = 3;
194
+ }
195
+
196
+ message CMsgClientToGCStopMatchmaking {
197
+ }
198
+
199
+ message CMsgClientToGCStopMatchmakingResponse {
200
+ optional bool success = 1;
201
+ }
202
+
203
+ message CMsgGCToClientMatchmakingStopped {
204
+ enum EReason {
205
+ k_EResult_Unspecified = 0;
206
+ k_EResult_VersionUpdated = 1;
207
+ k_EResult_FailedReadyUp = 2;
208
+ k_EResult_TourneySeriesClosed = 3;
209
+ }
210
+
211
+ optional .CMsgGCToClientMatchmakingStopped.EReason reason = 1 [default = k_EResult_Unspecified];
212
+ }
213
+
214
+ message CMsgClientToGCLeaveLobby {
215
+ optional uint64 lobby_id = 1;
216
+ }
217
+
218
+ message CMsgClientToGCLeaveLobbyResponse {
219
+ }
220
+
221
+ message CMsgGCToClientDefaultValidator {
222
+ optional .CMsgDeckValidator validator = 1;
223
+ }
224
+
225
+ message CMsgClientWelcomeDCG {
226
+ optional uint32 currency = 1;
227
+ repeated .CExtraMsgBlock extra_messages = 2;
228
+ }
229
+
230
+ message CMsgClientToGCJoinChatChannel {
231
+ optional .EChatRoomType room_type = 1 [default = k_EChatRoomType_Invalid];
232
+ optional uint64 room_key = 2;
233
+ optional uint32 sub_room_index = 3;
234
+ optional uint32 request_id = 4;
235
+ }
236
+
237
+ message CMsgClientToGCJoinChatChannelResponse {
238
+ enum EResult {
239
+ k_EResult_Success = 0;
240
+ k_EResult_InvalidRoom = 1;
241
+ k_EResult_PermissionDenied = 2;
242
+ k_EResult_InternalError = 3;
243
+ k_EResult_RoomOffline = 4;
244
+ k_EResult_AlreadyJoined = 5;
245
+ k_EResult_RateLimited = 6;
246
+ k_EResult_TooManyRooms = 7;
247
+ k_EResult_ChatBanned = 8;
248
+ k_EResult_AccountNotLinked = 9;
249
+ }
250
+
251
+ optional .CMsgClientToGCJoinChatChannelResponse.EResult result = 1 [default = k_EResult_Success];
252
+ }
253
+
254
+ message CMsgGCToClientChatChannelJoined {
255
+ optional bool success = 1;
256
+ optional uint32 request_id = 2;
257
+ optional fixed64 chat_room_id = 3;
258
+ optional uint32 sub_room_index = 4;
259
+ optional bool aliased_user_ids = 5;
260
+ optional uint32 local_aliased_id = 6;
261
+ }
262
+
263
+ message CMsgClientToGCSendChatMessage {
264
+ optional fixed64 chat_room_id = 1;
265
+ optional string chat_msg = 2;
266
+ }
267
+
268
+ message CMsgClientToGCSendChatMessageRoll {
269
+ optional fixed64 chat_room_id = 1;
270
+ optional uint32 roll_min = 2;
271
+ optional uint32 roll_max = 3;
272
+ }
273
+
274
+ message CChatMessageAdditionalData_DiceRoll {
275
+ optional uint32 roll_value = 1;
276
+ optional uint32 roll_min = 2;
277
+ optional uint32 roll_max = 3;
278
+ }
279
+
280
+ message CMsgGCToClientChatMessage {
281
+ optional fixed64 chat_room_id = 1;
282
+ optional uint32 user_id = 2;
283
+ optional string chat_msg = 3;
284
+ optional string persona_name = 4;
285
+ optional .CExtraMsgBlock additional_data = 5;
286
+ optional uint32 time_stamp = 6;
287
+ }
288
+
289
+ message CMsgGCToClientUserJoinedChatChannel {
290
+ optional fixed64 chat_room_id = 1;
291
+ repeated uint32 joined_user_ids = 2;
292
+ repeated string joined_persona_names = 3;
293
+ repeated uint32 left_user_ids = 4;
294
+ }
295
+
296
+ message CMsgClientToGCLeaveChatChannel {
297
+ optional fixed64 chat_room_id = 1;
298
+ }
299
+
300
+ message CMsgClientToGCLeaveChatChannelByKey {
301
+ optional .EChatRoomType room_type = 1 [default = k_EChatRoomType_Invalid];
302
+ optional uint64 room_key = 2;
303
+ }
304
+
305
+ message CMsgClientToGCIsInMatchmaking {
306
+ }
307
+
308
+ message CMsgClientToGCIsInMatchmakingResponse {
309
+ optional bool in_matchmaking = 1;
310
+ }
311
+
312
+ message CMsgClientToGCOpenPackItem {
313
+ optional uint64 item_id = 1;
314
+ }
315
+
316
+ message CMsgClientToGCOpenPackItemResponse {
317
+ message OpenedItem {
318
+ optional uint32 def_index = 1;
319
+ optional uint64 item_id = 2;
320
+ optional .CMsgClientToGCOpenPackItemResponse.ESlotType slot_type = 3 [default = k_eSlot_Unspecified];
321
+ }
322
+
323
+ enum EResponse {
324
+ k_eSuccess = 1;
325
+ k_eTooManyRequests = 2;
326
+ k_eInternalError = 3;
327
+ k_eInvalidItemID = 4;
328
+ k_eDisabled = 5;
329
+ k_eRegionLocked = 6;
330
+ }
331
+
332
+ enum ESlotType {
333
+ k_eSlot_Unspecified = 0;
334
+ k_eSlot_Common = 1;
335
+ k_eSlot_Uncommon = 2;
336
+ k_eSlot_Rare = 3;
337
+ k_eSlot_UncommonFromCommon = 4;
338
+ k_eSlot_RareFromCommon = 5;
339
+ k_eSlot_RareFromUncommon = 6;
340
+ }
341
+
342
+ optional .CMsgClientToGCOpenPackItemResponse.EResponse response = 1 [default = k_eSuccess];
343
+ repeated .CMsgClientToGCOpenPackItemResponse.OpenedItem items = 2;
344
+ }
345
+
346
+ message CMsgClientToGCSpectateUser {
347
+ optional uint32 spectate_account_id = 1;
348
+ }
349
+
350
+ message CMsgClientToGCSpectateUserResponse {
351
+ enum EResult {
352
+ eResult_OK = 1;
353
+ eResult_NotInGame = 2;
354
+ eResult_InternalError = 3;
355
+ }
356
+
357
+ optional .CMsgClientToGCSpectateUserResponse.EResult result = 1 [default = eResult_OK];
358
+ optional uint64 match_id = 2;
359
+ optional fixed64 server_steam_id = 3;
360
+ optional bytes sdr_key = 4;
361
+ optional uint32 udp_connect_ip = 5;
362
+ optional uint32 udp_connect_port = 6;
363
+ }
364
+
365
+ message CMsgClientToGCGetMatchHistory {
366
+ optional uint32 account_id = 1;
367
+ }
368
+
369
+ message CMsgClientToGCGetMatchHistoryResponse {
370
+ message MatchDetails {
371
+ optional uint32 player1 = 1;
372
+ optional uint32 player2 = 2;
373
+ optional uint32 start_time = 3;
374
+ optional uint32 duration = 4;
375
+ optional uint32 turns = 5;
376
+ optional uint64 match_id = 6;
377
+ optional uint32 outcome = 7;
378
+ optional .EDCGMatchMode match_mode = 8 [default = k_EDCGMatchMode_Unranked];
379
+ repeated uint32 tower_health = 9;
380
+ repeated uint32 heroes = 10;
381
+ }
382
+
383
+ repeated .CMsgClientToGCGetMatchHistoryResponse.MatchDetails match_details = 1;
384
+ }
385
+
386
+ message CMsgClientToGCGetMatchDetails {
387
+ optional uint64 match_id = 1;
388
+ }
389
+
390
+ message CMsgClientToGCGetMatchDetailsResponse {
391
+ enum EResult {
392
+ eResult_Success = 0;
393
+ eResult_InvalidMatch = 1;
394
+ eResult_NotAuthorized = 2;
395
+ eResult_InternalError = 3;
396
+ }
397
+
398
+ optional uint32 player1 = 1;
399
+ optional uint32 player2 = 2;
400
+ optional uint32 start_time = 3;
401
+ optional uint32 duration = 4;
402
+ optional uint32 turns = 5;
403
+ optional uint64 match_id = 6;
404
+ optional uint32 outcome = 7;
405
+ optional .EDCGMatchMode match_mode = 8 [default = k_EDCGMatchMode_Unranked];
406
+ repeated uint32 tower_health1 = 9;
407
+ repeated uint32 tower_health2 = 10;
408
+ repeated uint32 heroes1 = 11;
409
+ repeated uint32 heroes2 = 12;
410
+ optional .CMsgClientToGCGetMatchDetailsResponse.EResult result = 13 [default = eResult_Success];
411
+ optional uint32 cluster_id = 14;
412
+ optional uint32 replay_salt = 15;
413
+ }
414
+
415
+ message CMsgClientToGCGetAIVsAIMatchConfig {
416
+ }
417
+
418
+ message CMsgClientToGCGetAIVsAIMatchConfigResponse {
419
+ optional bool success = 1;
420
+ optional uint32 ai_match_id = 2;
421
+ optional string ai_0_deck_code = 3;
422
+ optional string ai_1_deck_code = 4;
423
+ }
424
+
425
+ message CMsgClientToGCGetAIVsAIMatchComplete {
426
+ optional uint32 ai_match_id = 1;
427
+ optional uint32 winning_player = 2;
428
+ }
429
+
430
+ message CMsgGCToClientGlobalPhantomLeagues {
431
+ optional bytes global_deck_bytes = 3;
432
+ }
433
+
434
+ message CMsgClientToGCJoinGauntlet {
435
+ optional uint32 gauntlet_id = 1;
436
+ optional bytes deck_bytes = 2;
437
+ optional uint32 entry_id = 3;
438
+ repeated uint64 entry_costs = 4;
439
+ optional bool select_random_deck = 5;
440
+ }
441
+
442
+ message CMsgClientToGCJoinGauntletResponse {
443
+ enum EResponse {
444
+ k_eInternalError = 0;
445
+ k_eSuccess = 1;
446
+ k_eInvalidGauntlet = 2;
447
+ k_eTooBusy = 3;
448
+ k_eAlreadyInGauntlet = 4;
449
+ k_eInvalidDeck = 5;
450
+ k_eMissingItem = 6;
451
+ k_eInvalidEntryCost = 7;
452
+ k_eDisabled = 8;
453
+ k_eHasUnownedCards = 9;
454
+ k_eRateLimited = 10;
455
+ k_eRandomDeckNotAllowed = 11;
456
+ }
457
+
458
+ optional .CMsgClientToGCJoinGauntletResponse.EResponse result = 1 [default = k_eInternalError];
459
+ optional uint32 available_after = 2;
460
+ }
461
+
462
+ message CMsgClientToGCAbandonGauntlet {
463
+ optional uint32 gauntlet_id = 1;
464
+ }
465
+
466
+ message CMsgClientToGCAbandonGauntletResponse {
467
+ message RewardItem {
468
+ optional uint32 def_index = 1;
469
+ }
470
+
471
+ enum EResponse {
472
+ k_eInternalError = 0;
473
+ k_eSuccess = 1;
474
+ k_eInvalidGauntlet = 2;
475
+ k_eTooBusy = 3;
476
+ k_eDisabled = 4;
477
+ }
478
+
479
+ optional .CMsgClientToGCAbandonGauntletResponse.EResponse result = 1 [default = k_eInternalError];
480
+ repeated .CMsgClientToGCAbandonGauntletResponse.RewardItem reward_items = 2;
481
+ }
482
+
483
+ message CMsgClientToGCAIGauntletResult {
484
+ optional uint32 gauntlet_id = 1;
485
+ optional bool is_win = 2;
486
+ optional fixed64 secret_key = 3;
487
+ optional uint32 expected_wins = 4;
488
+ optional uint32 expected_losses = 5;
489
+ }
490
+
491
+ message CMsgClientToGCAIGauntletResultResponse {
492
+ enum EResponse {
493
+ k_eInternalError = 0;
494
+ k_eSuccess = 1;
495
+ k_eFailed = 2;
496
+ k_eDisabled = 3;
497
+ k_eBusy = 4;
498
+ k_eInvalidKey = 5;
499
+ k_eMismatchedGames = 6;
500
+ }
501
+
502
+ optional .CMsgClientToGCAIGauntletResultResponse.EResponse result = 1 [default = k_eInternalError];
503
+ }
504
+
505
+ message CMsgGCToClientAvailableGauntlets {
506
+ repeated .CMsgGauntletConfig available_gauntlets = 1;
507
+ }
508
+
509
+ message CMsgClientToGCGetGauntletMatches {
510
+ optional uint64 gauntlet_instance_id = 1;
511
+ }
512
+
513
+ message CMsgClientToGCGetGauntletMatchesResponse {
514
+ message Match {
515
+ optional uint64 match_id = 1;
516
+ optional bool win = 2;
517
+ }
518
+
519
+ repeated .CMsgClientToGCGetGauntletMatchesResponse.Match matches = 1;
520
+ }
521
+
522
+ message CMsgClientToGCRegisterGauntletDeck {
523
+ optional uint32 gauntlet_id = 1;
524
+ optional bytes deck_bytes = 2;
525
+ }
526
+
527
+ message CMsgClientToGCRegisterGauntletDeckResponse {
528
+ enum EResponse {
529
+ k_eInternalError = 0;
530
+ k_eSuccess = 1;
531
+ k_eInvalidGauntlet = 2;
532
+ k_eDeckAlreadyRegistered = 3;
533
+ k_eInvalidDeck = 4;
534
+ k_eHasUnownedCards = 5;
535
+ k_eDisabled = 6;
536
+ }
537
+
538
+ optional .CMsgClientToGCRegisterGauntletDeckResponse.EResponse result = 1 [default = k_eInternalError];
539
+ }
540
+
541
+ message CMsgClientToGCLimitedGrant {
542
+ optional uint64 limited_instance_id = 1;
543
+ optional uint32 grant_id = 2;
544
+ }
545
+
546
+ message CMsgClientToGCLimitedGrantResponse {
547
+ enum EResponse {
548
+ k_eInternalError = 0;
549
+ k_eSuccess = 1;
550
+ k_eInvalidFormat = 2;
551
+ k_eAlreadyGranted = 3;
552
+ }
553
+
554
+ optional .CMsgClientToGCLimitedGrantResponse.EResponse result = 1 [default = k_eInternalError];
555
+ optional uint32 choice_count = 2;
556
+ repeated uint32 def_index = 3;
557
+ }
558
+
559
+ message CMsgClientToGCLimitedGrantChoice {
560
+ optional uint64 limited_instance_id = 1;
561
+ optional uint32 grant_id = 2;
562
+ repeated uint32 choice_def_index = 3;
563
+ }
564
+
565
+ message CMsgClientToGCLimitedGrantChoiceResponse {
566
+ enum EResponse {
567
+ k_eInternalError = 0;
568
+ k_eSuccess = 1;
569
+ k_eInvalidFormat = 2;
570
+ k_eInvalidChoices = 3;
571
+ k_eAlreadyGranted = 4;
572
+ }
573
+
574
+ optional .CMsgClientToGCLimitedGrantChoiceResponse.EResponse result = 1 [default = k_eInternalError];
575
+ }
576
+
577
+ message CMsgClientToGCLimitedGetFormat {
578
+ optional uint32 limited_format = 1;
579
+ }
580
+
581
+ message CMsgClientToGCLimitedGetFormatResponse {
582
+ optional bool success = 1;
583
+ optional .CMsgLimitedFormat format_config = 2;
584
+ }
585
+
586
+ message CMsgClientToGCPrivateLobbyCreate {
587
+ optional uint32 client_version = 1;
588
+ optional .CMsgRegionPingTimesClient ping_times = 2;
589
+ }
590
+
591
+ message CMsgClientToGCPrivateLobbyCreateResponse {
592
+ enum EResponse {
593
+ k_eInternalError = 0;
594
+ k_eSuccess = 1;
595
+ k_eAlreadyInLobby = 2;
596
+ k_eDisabled = 3;
597
+ k_eInvalidVersion = 4;
598
+ k_eNoRegionPings = 5;
599
+ }
600
+
601
+ optional .CMsgClientToGCPrivateLobbyCreateResponse.EResponse result = 1 [default = k_eInternalError];
602
+ optional fixed64 private_lobby_id = 2;
603
+ }
604
+
605
+ message CMsgClientToGCPrivateLobbyLeave {
606
+ optional fixed64 private_lobby_id = 1;
607
+ }
608
+
609
+ message CMsgClientToGCPrivateLobbyLeaveResponse {
610
+ enum EResponse {
611
+ k_eInternalError = 0;
612
+ k_eSuccess = 1;
613
+ k_eNotInLobby = 2;
614
+ k_eInMatchMaking = 3;
615
+ }
616
+
617
+ optional .CMsgClientToGCPrivateLobbyLeaveResponse.EResponse result = 1 [default = k_eInternalError];
618
+ }
619
+
620
+ message CMsgClientToGCPrivateLobbyJoin {
621
+ optional fixed64 private_lobby_id = 1;
622
+ optional uint32 client_version = 2;
623
+ optional .CMsgRegionPingTimesClient ping_times = 3;
624
+ optional fixed64 lobby_salt = 4;
625
+ }
626
+
627
+ message CMsgClientToGCPrivateLobbyJoinResponse {
628
+ enum EResponse {
629
+ k_eInternalError = 0;
630
+ k_eSuccess = 1;
631
+ k_eAlreadyInLobby = 2;
632
+ k_eDisabled = 3;
633
+ k_eInvalidLobbyID = 4;
634
+ k_eInvalidPermissions = 5;
635
+ k_eInvalidVersion = 6;
636
+ k_eNoRegionPings = 7;
637
+ }
638
+
639
+ optional .CMsgClientToGCPrivateLobbyJoinResponse.EResponse result = 1 [default = k_eInternalError];
640
+ }
641
+
642
+ message CMsgClientToGCPrivateLobbyAction {
643
+ enum EAction {
644
+ k_eSetTeam = 0;
645
+ k_eSetDeck = 1;
646
+ k_eKickUser = 3;
647
+ k_eCancelInvite = 4;
648
+ k_eCancelFindMatch = 5;
649
+ k_eSetDecksVisible = 6;
650
+ k_eSetTimerMode = 7;
651
+ k_eShareDeck = 8;
652
+ k_eSetGameMode = 9;
653
+ k_eSetReady = 10;
654
+ }
655
+
656
+ optional fixed64 private_lobby_id = 1;
657
+ optional uint32 target_account_id = 2;
658
+ optional .CMsgClientToGCPrivateLobbyAction.EAction action_id = 3 [default = k_eSetTeam];
659
+ optional uint64 uint_value = 4;
660
+ optional bytes bytes_value = 5;
661
+ optional bool bool_value = 6;
662
+ optional sint64 sint_value = 7;
663
+ optional string str_value = 8;
664
+ }
665
+
666
+ message CMsgClientToGCPrivateLobbyActionResponse {
667
+ enum EResponse {
668
+ k_eInternalError = 0;
669
+ k_eSuccess = 1;
670
+ k_eInvalidLobbyID = 2;
671
+ k_eInvalidPermissions = 3;
672
+ k_eInvalidTarget = 4;
673
+ k_eInvalidValue = 5;
674
+ k_eInMatchMaking = 6;
675
+ k_eInMatch = 7;
676
+ }
677
+
678
+ optional .CMsgClientToGCPrivateLobbyActionResponse.EResponse result = 1 [default = k_eInternalError];
679
+ }
680
+
681
+ message CMsgClientToGCPrivateLobbyStartMatch {
682
+ optional fixed64 private_lobby_id = 1;
683
+ }
684
+
685
+ message CMsgClientToGCPrivateLobbyStartMatchResponse {
686
+ enum EResponse {
687
+ k_eInternalError = 0;
688
+ k_eSuccess = 1;
689
+ k_eDisabled = 2;
690
+ k_eInvalidLobbyID = 3;
691
+ k_eInvalidPermissions = 4;
692
+ k_ePlayersMissingDeck = 5;
693
+ k_eInMatchmaking = 6;
694
+ k_eInMatch = 7;
695
+ k_eMissingPlayer = 8;
696
+ k_eUnownedCards = 9;
697
+ k_eInvalidVersion = 10;
698
+ k_ePlayersNotReady = 11;
699
+ k_eCannotSelectRegion = 12;
700
+ }
701
+
702
+ optional .CMsgClientToGCPrivateLobbyStartMatchResponse.EResponse result = 1 [default = k_eInternalError];
703
+ optional uint32 account_id = 2;
704
+ }
705
+
706
+ message CMsgClientToGCPrivateLobbyInviteUser {
707
+ optional fixed64 private_lobby_id = 1;
708
+ optional uint32 invite_account_id = 2;
709
+ }
710
+
711
+ message CMsgClientToGCPrivateLobbyInviteUserResponse {
712
+ enum EResponse {
713
+ k_eInternalError = 0;
714
+ k_eSuccess = 1;
715
+ k_eAlreadyInvited = 2;
716
+ k_eInvalidPermissions = 3;
717
+ k_eInvalidLobbyID = 4;
718
+ k_eDisabled = 5;
719
+ k_eTooManyInvites = 6;
720
+ }
721
+
722
+ optional .CMsgClientToGCPrivateLobbyInviteUserResponse.EResponse result = 1 [default = k_eInternalError];
723
+ optional bool user_online = 2;
724
+ }
725
+
726
+ message CMsgClientToGCPrivateLobbyChallenge {
727
+ optional uint32 challenge_account_id = 1;
728
+ optional uint32 client_version = 2;
729
+ optional .CMsgRegionPingTimesClient ping_times = 3;
730
+ }
731
+
732
+ message CMsgClientToGCPrivateLobbyChallengeResponse {
733
+ enum EResponse {
734
+ k_eSuccess = 0;
735
+ k_eTargetNotFriends = 1;
736
+ k_eTargetInMatch = 2;
737
+ k_eTargetOffline = 3;
738
+ k_eInternalError = 4;
739
+ k_eCannotMatchmake = 5;
740
+ k_eInvalidVersion = 6;
741
+ k_eNoRegionPings = 7;
742
+ }
743
+
744
+ optional .CMsgClientToGCPrivateLobbyChallengeResponse.EResponse result = 1 [default = k_eSuccess];
745
+ optional fixed64 private_lobby_id = 2;
746
+ }
747
+
748
+ message CMsgGCToClientPrivateLobbyEvent {
749
+ enum EEvent {
750
+ k_ePlayerKicked = 1;
751
+ k_eDeckShared = 2;
752
+ k_eJoinedLobby = 3;
753
+ k_eMatchCompleted = 4;
754
+ k_eMatchMakingStopped_User = 5;
755
+ k_eMatchMakingStopped_Version = 6;
756
+ k_eMatchMakingStopped_NoServerRegion = 7;
757
+ k_eLeftLobby = 8;
758
+ k_eDeclinedInvite = 9;
759
+ }
760
+
761
+ optional fixed64 private_lobby_id = 1;
762
+ optional .CMsgGCToClientPrivateLobbyEvent.EEvent event = 2 [default = k_ePlayerKicked];
763
+ optional uint32 initiator_account_id = 3;
764
+ optional uint32 target_account_id = 4;
765
+ optional bytes bytes_data = 5;
766
+ optional string str_data = 6;
767
+ optional uint64 uint_data = 7;
768
+ }
769
+
770
+ message CMsgClientToGCPrivateLobbyClientVersion {
771
+ optional fixed64 private_lobby_id = 1;
772
+ optional uint32 client_version = 2;
773
+ }
774
+
775
+ message CMsgClientToGCPrivateLobbyJoinChatRoom {
776
+ optional fixed64 private_lobby_id = 1;
777
+ }
778
+
779
+ message CMsgClientToGCPrivateLobbyJoinChatRoomResponse {
780
+ enum EResponse {
781
+ k_eSuccess = 0;
782
+ k_eInternalError = 1;
783
+ k_eDisabled = 2;
784
+ k_eNoChatRoomAvailable = 3;
785
+ k_eInvalidLobbyID = 4;
786
+ }
787
+
788
+ optional .CMsgClientToGCPrivateLobbyJoinChatRoomResponse.EResponse result = 1 [default = k_eSuccess];
789
+ }
790
+
791
+ message CMsgClientToGCMatchSignout {
792
+ optional uint32 start_time = 1;
793
+ optional uint32 version = 2;
794
+ optional .EDCGMatchMode match_mode = 3 [default = k_EDCGMatchMode_Unranked];
795
+ optional .CMsgMatchData match_data = 4;
796
+ repeated .CExtraMsgBlock additional_data = 5;
797
+ }
798
+
799
+ message CMsgGCToClientSDRTicket {
800
+ optional string ticket = 1;
801
+ }
802
+
803
+ message CMsgClientToGCReplacementSDRTicket {
804
+ optional fixed64 lobby_id = 1;
805
+ }
806
+
807
+ message CMsgClientToGCInitialGrantAck {
808
+ optional uint32 expected_def_index = 1;
809
+ }
810
+
811
+ message CMsgClientToGCRecycleCards {
812
+ repeated uint64 item_ids = 1;
813
+ optional uint32 recycle_offer_version = 2;
814
+ }
815
+
816
+ message CMsgClientToGCRecycleCardsResponse {
817
+ message GrantedItem {
818
+ optional uint32 def_index = 1;
819
+ optional uint64 item_id = 2;
820
+ }
821
+
822
+ enum EResponse {
823
+ k_eInternalError = 0;
824
+ k_eSuccess = 1;
825
+ k_eMissingItems = 2;
826
+ k_eIncorrectVersion = 3;
827
+ k_eDisabled = 4;
828
+ k_eInvalidItem = 5;
829
+ k_eTooManyItems = 6;
830
+ }
831
+
832
+ optional .CMsgClientToGCRecycleCardsResponse.EResponse result = 1 [default = k_eInternalError];
833
+ repeated .CMsgClientToGCRecycleCardsResponse.GrantedItem granted_items = 2;
834
+ optional uint32 resulting_points = 3;
835
+ }
836
+
837
+ message CMsgClientToGCSetPlayerBadge {
838
+ optional uint32 player_badge = 1;
839
+ }
840
+
841
+ message CMsgClientToGCReplacementSDRTicketResponse {
842
+ optional string ticket = 1;
843
+ optional string error_message = 2;
844
+ }
845
+
846
+ message CMsgClientToGCTourneyGetInfo {
847
+ optional uint64 tourney_id = 1;
848
+ optional bool subscribe = 2;
849
+ optional uint32 tourney_salt = 3;
850
+ }
851
+
852
+ message CMsgClientToGCTourneyGetInfoResponse {
853
+ enum EResponse {
854
+ k_eInternalError = 0;
855
+ k_eInvalidID = 1;
856
+ k_eMissingPermission = 2;
857
+ k_eSuccess = 3;
858
+ k_eTooBusy = 4;
859
+ }
860
+
861
+ optional .CMsgClientToGCTourneyGetInfoResponse.EResponse result = 1 [default = k_eInternalError];
862
+ optional .CDCGTourney tourney = 2;
863
+ }
864
+
865
+ message CMsgClientToGCTourneyUnsubscribe {
866
+ optional uint64 tourney_id = 1;
867
+ }
868
+
869
+ message CMsgGCToClientTourneyUpdated {
870
+ optional .CDCGTourney tourney = 1;
871
+ }
872
+
873
+ message CMsgGCToClientTourneySeriesMatchReady {
874
+ optional uint64 tourney_id = 1;
875
+ optional uint32 phase_id = 2;
876
+ optional uint32 series_id = 3;
877
+ repeated uint32 accounts_in_mm = 4;
878
+ repeated uint32 accounts_not_in_mm = 5;
879
+ }
880
+
881
+ message CMsgGCToClientTourneySeriesMatchNotReady {
882
+ optional uint64 tourney_id = 1;
883
+ optional uint32 phase_id = 2;
884
+ optional uint32 series_id = 3;
885
+ }
886
+
887
+ message CMsgCreateTourneyPhase {
888
+ message DeckSettings {
889
+ optional .CMsgCreateTourneyPhase.EDeckMode deck_mode = 1 [default = k_eUsePreviousPhase];
890
+ optional uint32 random_colors = 2;
891
+ optional uint32 limited_format = 3;
892
+ optional bool register_decks = 4;
893
+ optional uint32 validator_id = 5;
894
+ }
895
+
896
+ message Swiss {
897
+ optional .CMsgCreateTourneyPhase.ESwissMatches swiss_matches = 1 [default = k_eBestOfOne];
898
+ optional .CMsgCreateTourneyPhase.ESwissScoring swiss_scoring = 2 [default = k_eWinsThreePoints];
899
+ optional uint32 num_rounds = 3;
900
+ optional bool continue_prior_phase = 4;
901
+ }
902
+
903
+ message Bracket {
904
+ optional uint32 best_of = 1;
905
+ optional uint32 finals_best_of = 2;
906
+ }
907
+
908
+ message FreeForAll {
909
+ optional uint32 max_games_per_player = 1;
910
+ optional uint32 auto_advance_after_s = 2;
911
+ }
912
+
913
+ enum ESwissMatches {
914
+ k_eBestOfOne = 0;
915
+ k_eOneMatch = 1;
916
+ k_eTwoMatches = 2;
917
+ k_eBestOfThree = 3;
918
+ k_eBestOfThree_Ties = 4;
919
+ k_eBestOfFive = 5;
920
+ k_eBestOfFive_Ties = 6;
921
+ }
922
+
923
+ enum ESwissScoring {
924
+ k_eWinsThreePoints = 0;
925
+ k_eWinsTwoPoints = 1;
926
+ }
927
+
928
+ enum EDeckMode {
929
+ k_eUsePreviousPhase = 0;
930
+ k_eLimited = 1;
931
+ k_eAdditionalLimited = 2;
932
+ k_eConstructed = 3;
933
+ k_eRandom = 4;
934
+ }
935
+
936
+ optional .CDCGTourney.EFormat format = 1 [default = k_eFormat_Invalid];
937
+ optional .CMsgCreateTourneyPhase.DeckSettings deck_settings = 2;
938
+ optional uint32 max_players = 3;
939
+ optional bool edit_stage = 5;
940
+ optional .CMsgCreateTourneyPhase.Bracket bracket = 20;
941
+ optional .CMsgCreateTourneyPhase.Swiss swiss = 21;
942
+ optional .CMsgCreateTourneyPhase.FreeForAll free_for_all = 22;
943
+ }
944
+
945
+ message CMsgClientToGCCreateTourney {
946
+ enum EPrivacy {
947
+ k_ePrivacy_Default = 0;
948
+ k_ePrivacy_Public = 1;
949
+ k_ePrivacy_MembersOnly = 2;
950
+ }
951
+
952
+ optional string tourney_name = 1;
953
+ optional string tourney_msg = 2;
954
+ optional string tourney_status = 3;
955
+ repeated .CMsgCreateTourneyPhase phases = 4;
956
+ optional bool seed_stage = 5;
957
+ optional bool advanced_mode = 6;
958
+ optional .CMsgClientToGCCreateTourney.EPrivacy privacy_mode = 7 [default = k_ePrivacy_Default];
959
+ optional bool open_spectating = 8;
960
+ optional uint32 timer_mode = 9;
961
+ }
962
+
963
+ message CMsgClientToGCCreateTourneyResponse {
964
+ enum EResponse {
965
+ k_eInternalError = 0;
966
+ k_eSuccess = 1;
967
+ k_eRateLimited = 2;
968
+ k_eInvalidParams = 3;
969
+ k_eDisabled = 4;
970
+ k_eInTooManyTourneys = 5;
971
+ }
972
+
973
+ optional .CMsgClientToGCCreateTourneyResponse.EResponse result = 1 [default = k_eInternalError];
974
+ optional uint64 tourney_id = 2;
975
+ }
976
+
977
+ message CMsgClientToGCTourneyAcceptInvite {
978
+ optional uint64 tourney_id = 1;
979
+ }
980
+
981
+ message CMsgClientToGCTourneyAcceptInviteResponse {
982
+ enum EResponse {
983
+ k_eInternalError = 0;
984
+ k_eSuccess = 1;
985
+ k_eDisabled = 2;
986
+ k_eTourneyJoinClosed = 3;
987
+ k_eMissingPermissions = 4;
988
+ k_eTourneyFull = 5;
989
+ k_eInTooManyTourneys = 6;
990
+ }
991
+
992
+ optional .CMsgClientToGCTourneyAcceptInviteResponse.EResponse result = 1 [default = k_eInternalError];
993
+ }
994
+
995
+ message CMsgClientToGCTourneyRejectInvite {
996
+ optional uint64 tourney_id = 1;
997
+ }
998
+
999
+ message CMsgClientToGCTourneyRejectInviteResponse {
1000
+ enum EResponse {
1001
+ k_eInternalError = 0;
1002
+ k_eSuccess = 1;
1003
+ k_eDisabled = 2;
1004
+ }
1005
+
1006
+ optional .CMsgClientToGCTourneyRejectInviteResponse.EResponse result = 1 [default = k_eInternalError];
1007
+ }
1008
+
1009
+ message CMsgClientToGCTourneyRevokeInvite {
1010
+ optional uint64 tourney_id = 1;
1011
+ optional uint32 account_id = 2;
1012
+ }
1013
+
1014
+ message CMsgClientToGCTourneyRevokeInviteResponse {
1015
+ enum EResponse {
1016
+ k_eInternalError = 0;
1017
+ k_eSuccess = 1;
1018
+ k_eDisabled = 2;
1019
+ k_eMissingPermissions = 3;
1020
+ k_eMissingInvite = 4;
1021
+ }
1022
+
1023
+ optional .CMsgClientToGCTourneyRevokeInviteResponse.EResponse result = 1 [default = k_eInternalError];
1024
+ }
1025
+
1026
+ message CMsgClientToGCTourneyAdminSwitchStage {
1027
+ optional uint64 tourney_id = 1;
1028
+ optional .CDCGTourney.EStage transition_from = 2 [default = k_eStage_Configure];
1029
+ optional .CDCGTourney.EStage transition_to = 3 [default = k_eStage_Configure];
1030
+ }
1031
+
1032
+ message CMsgClientToGCTourneyAdminSwitchStageResponse {
1033
+ enum EResponse {
1034
+ k_eInternalError = 0;
1035
+ k_eSuccess = 1;
1036
+ k_eDisabled = 2;
1037
+ k_eMissingPermissions = 3;
1038
+ k_eInsufficientPlayers = 4;
1039
+ k_eIncorrectStage = 5;
1040
+ k_eInvalidTransition = 6;
1041
+ k_eUnregisteredDecks = 7;
1042
+ k_eMissingEntryFees = 8;
1043
+ }
1044
+
1045
+ optional .CMsgClientToGCTourneyAdminSwitchStageResponse.EResponse result = 1 [default = k_eInternalError];
1046
+ }
1047
+
1048
+ message CMsgClientToGCTourneyAdminKick {
1049
+ optional uint64 tourney_id = 1;
1050
+ optional uint32 account_id = 2;
1051
+ }
1052
+
1053
+ message CMsgClientToGCTourneyAdminKickResponse {
1054
+ enum EResponse {
1055
+ k_eInternalError = 0;
1056
+ k_eSuccess = 1;
1057
+ k_eDisabled = 2;
1058
+ k_eMissingPermissions = 3;
1059
+ k_eInvalidTarget = 4;
1060
+ k_eTourneyClosed = 5;
1061
+ }
1062
+
1063
+ optional .CMsgClientToGCTourneyAdminKickResponse.EResponse result = 1 [default = k_eInternalError];
1064
+ }
1065
+
1066
+ message CMsgClientToGCTourneyAdminGrantWin {
1067
+ optional uint64 tourney_id = 1;
1068
+ optional uint32 phase_id = 2;
1069
+ optional uint32 series_id = 3;
1070
+ optional bool grant_bye = 4;
1071
+ optional uint32 winner_id = 5;
1072
+ }
1073
+
1074
+ message CMsgClientToGCTourneyAdminGrantWinResponse {
1075
+ enum EResponse {
1076
+ k_eInternalError = 0;
1077
+ k_eSuccess = 1;
1078
+ k_eDisabled = 2;
1079
+ k_eMissingPermissions = 3;
1080
+ k_eInvalidAccount = 4;
1081
+ k_eSeriesCompleted = 5;
1082
+ k_eSeriesNotReady = 6;
1083
+ k_eInvalidSeries = 7;
1084
+ }
1085
+
1086
+ optional .CMsgClientToGCTourneyAdminGrantWinResponse.EResponse result = 1 [default = k_eInternalError];
1087
+ }
1088
+
1089
+ message CMsgClientToGCTourneyAdminChangeRights {
1090
+ optional uint64 tourney_id = 1;
1091
+ optional uint32 account_id = 2;
1092
+ optional uint32 rights_flags = 3;
1093
+ }
1094
+
1095
+ message CMsgClientToGCTourneyAdminChangeRightsResponse {
1096
+ enum EResponse {
1097
+ k_eInternalError = 0;
1098
+ k_eSuccess = 1;
1099
+ k_eDisabled = 2;
1100
+ k_eInvalidAccount = 3;
1101
+ k_eInvalidRights = 4;
1102
+ k_eTourneyClosed = 5;
1103
+ k_ePlayerPoolIsFull = 6;
1104
+ k_eCannotChangePlayer = 7;
1105
+ }
1106
+
1107
+ optional .CMsgClientToGCTourneyAdminChangeRightsResponse.EResponse result = 1 [default = k_eInternalError];
1108
+ }
1109
+
1110
+ message CMsgClientToGCTourneyRegisterDeck {
1111
+ optional uint64 tourney_id = 1;
1112
+ optional bytes deck_bytes = 2;
1113
+ optional uint32 phase_id = 3;
1114
+ optional uint32 deck_index = 4;
1115
+ optional uint32 shared_by = 5;
1116
+ }
1117
+
1118
+ message CMsgClientToGCTourneyRegisterDeckResponse {
1119
+ enum EResponse {
1120
+ k_eInternalError = 0;
1121
+ k_eSuccess = 1;
1122
+ k_eDisabled = 2;
1123
+ k_eMissingPermissions = 3;
1124
+ k_eUnownedCards = 4;
1125
+ k_eRegistrationClosed = 5;
1126
+ k_eRegistrationNotRequired = 6;
1127
+ k_eInvalidDeck = 7;
1128
+ k_eInvalidDeckIndex = 8;
1129
+ k_eCannotRegisterForPhase = 9;
1130
+ k_ePhaseNotReady = 10;
1131
+ k_eInvalidSharedDeck = 11;
1132
+ }
1133
+
1134
+ optional .CMsgClientToGCTourneyRegisterDeckResponse.EResponse result = 1 [default = k_eInternalError];
1135
+ }
1136
+
1137
+ message CMsgClientToGCTourneyUserLeave {
1138
+ optional uint64 tourney_id = 1;
1139
+ }
1140
+
1141
+ message CMsgClientToGCTourneyUserLeaveResponse {
1142
+ enum EResponse {
1143
+ k_eInternalError = 0;
1144
+ k_eSuccess = 1;
1145
+ k_eDisabled = 2;
1146
+ k_eMissingPermissions = 3;
1147
+ k_eLeaveNotAllowed = 7;
1148
+ }
1149
+
1150
+ optional .CMsgClientToGCTourneyUserLeaveResponse.EResponse result = 1 [default = k_eInternalError];
1151
+ }
1152
+
1153
+ message CMsgClientToGCTourneyRegisterSharedDeck {
1154
+ optional uint64 tourney_id = 1;
1155
+ optional bytes deck_bytes = 2;
1156
+ optional uint32 shared_slot = 3;
1157
+ }
1158
+
1159
+ message CMsgClientToGCTourneyRegisterSharedDeckResponse {
1160
+ enum EResponse {
1161
+ k_eInternalError = 0;
1162
+ k_eSuccess = 1;
1163
+ k_eDisabled = 2;
1164
+ k_eMissingPermissions = 3;
1165
+ k_eInvalidSlot = 4;
1166
+ k_eSlotInUse = 5;
1167
+ k_eUnownedCards = 6;
1168
+ k_eSharingClosed = 7;
1169
+ k_eInvalidDeck = 8;
1170
+ }
1171
+
1172
+ optional .CMsgClientToGCTourneyRegisterSharedDeckResponse.EResponse result = 1 [default = k_eInternalError];
1173
+ }
1174
+
1175
+ message CMsgClientToGCTourneyGetRegisteredDecks {
1176
+ optional uint64 tourney_id = 1;
1177
+ }
1178
+
1179
+ message CMsgClientToGCTourneyGetRegisteredDecksResponse {
1180
+ enum EResponse {
1181
+ k_eInternalError = 0;
1182
+ k_eSuccess = 1;
1183
+ k_eDisabled = 2;
1184
+ k_eMissingPermissions = 3;
1185
+ }
1186
+
1187
+ optional .CMsgClientToGCTourneyGetRegisteredDecksResponse.EResponse result = 1 [default = k_eInternalError];
1188
+ repeated .CDCGTourney.PlayerDeck decks = 2;
1189
+ }
1190
+
1191
+ message CMsgClientToGCTourneyCreateOpenInvite {
1192
+ optional uint64 tourney_id = 1;
1193
+ optional uint32 max_uses = 2;
1194
+ repeated uint32 rights = 3;
1195
+ }
1196
+
1197
+ message CMsgClientToGCTourneyCreateOpenInviteResponse {
1198
+ enum EResponse {
1199
+ k_eInternalError = 0;
1200
+ k_eSuccess = 1;
1201
+ k_eDisabled = 2;
1202
+ k_eMissingPermissions = 3;
1203
+ k_eInvalidUses = 4;
1204
+ k_eInvalidStage = 5;
1205
+ k_eInvalidRights = 6;
1206
+ k_eTooManyOutstandingKeys = 7;
1207
+ }
1208
+
1209
+ optional .CMsgClientToGCTourneyCreateOpenInviteResponse.EResponse result = 1 [default = k_eInternalError];
1210
+ optional fixed64 invite_key = 2;
1211
+ }
1212
+
1213
+ message CMsgClientToGCTourneyRevokeOpenInvite {
1214
+ optional uint64 tourney_id = 1;
1215
+ optional fixed64 invite_key = 2;
1216
+ }
1217
+
1218
+ message CMsgClientToGCTourneyRevokeOpenInviteResponse {
1219
+ enum EResponse {
1220
+ k_eInternalError = 0;
1221
+ k_eSuccess = 1;
1222
+ k_eDisabled = 2;
1223
+ k_eMissingPermissions = 3;
1224
+ k_eInvalidKey = 4;
1225
+ k_eInvalidStage = 5;
1226
+ }
1227
+
1228
+ optional .CMsgClientToGCTourneyRevokeOpenInviteResponse.EResponse result = 1 [default = k_eInternalError];
1229
+ }
1230
+
1231
+ message CMsgClientToGCTourneyGetOpenInvites {
1232
+ optional uint64 tourney_id = 1;
1233
+ }
1234
+
1235
+ message CMsgClientToGCTourneyGetOpenInvitesResponse {
1236
+ message OpenInvite {
1237
+ optional fixed64 invite_key = 1;
1238
+ optional uint32 created_by = 2;
1239
+ optional uint32 max_uses = 3;
1240
+ optional uint32 times_used = 4;
1241
+ optional uint32 invite_rights = 5;
1242
+ }
1243
+
1244
+ enum EResponse {
1245
+ k_eInternalError = 0;
1246
+ k_eSuccess = 1;
1247
+ k_eDisabled = 2;
1248
+ k_eMissingPermissions = 3;
1249
+ k_eInvalidStage = 4;
1250
+ }
1251
+
1252
+ optional .CMsgClientToGCTourneyGetOpenInvitesResponse.EResponse result = 1 [default = k_eInternalError];
1253
+ repeated .CMsgClientToGCTourneyGetOpenInvitesResponse.OpenInvite open_invites = 2;
1254
+ }
1255
+
1256
+ message CMsgClientToGCTourneyAdminSwitchPhaseStage {
1257
+ optional uint64 tourney_id = 1;
1258
+ optional uint32 phase_id = 2;
1259
+ optional .CDCGTourney.EPhaseStage transition_from = 3 [default = k_ePhaseStage_Pending];
1260
+ optional .CDCGTourney.EPhaseStage transition_to = 4 [default = k_ePhaseStage_Pending];
1261
+ }
1262
+
1263
+ message CMsgClientToGCTourneyAdminSwitchPhaseStageResponse {
1264
+ enum EResponse {
1265
+ k_eInternalError = 0;
1266
+ k_eSuccess = 1;
1267
+ k_eDisabled = 2;
1268
+ k_eMissingPermissions = 3;
1269
+ k_eInsufficientPlayers = 4;
1270
+ k_eIncorrectStage = 5;
1271
+ k_eInvalidTransition = 6;
1272
+ k_eUnregisteredDecks = 7;
1273
+ }
1274
+
1275
+ optional .CMsgClientToGCTourneyAdminSwitchPhaseStageResponse.EResponse result = 1 [default = k_eInternalError];
1276
+ }
1277
+
1278
+ message CMsgClientToGCTourneyGetOverview {
1279
+ optional uint64 tourney_id = 1;
1280
+ }
1281
+
1282
+ message CMsgClientToGCTourneyGetOverviewResponse {
1283
+ enum EResponse {
1284
+ k_eInternalError = 0;
1285
+ k_eSuccess = 1;
1286
+ k_eDisabled = 2;
1287
+ k_eMissingPermissions = 3;
1288
+ k_eTooBusy = 4;
1289
+ }
1290
+
1291
+ optional .CMsgClientToGCTourneyGetOverviewResponse.EResponse result = 1 [default = k_eInternalError];
1292
+ optional string tourney_name = 2;
1293
+ optional uint32 created_by = 3;
1294
+ }
1295
+
1296
+ message CMsgClientToGCTourneySetStatus {
1297
+ optional uint64 tourney_id = 1;
1298
+ optional string tourney_status = 2;
1299
+ }
1300
+
1301
+ message CMsgClientToGCTourneySetStatusResponse {
1302
+ enum EResponse {
1303
+ k_eInternalError = 0;
1304
+ k_eSuccess = 1;
1305
+ k_eDisabled = 2;
1306
+ k_eMissingPermissions = 3;
1307
+ }
1308
+
1309
+ optional .CMsgClientToGCTourneySetStatusResponse.EResponse result = 1 [default = k_eInternalError];
1310
+ }
1311
+
1312
+ message CMsgClientToGCTourneyAddPhase {
1313
+ optional uint64 tourney_id = 1;
1314
+ optional .CMsgCreateTourneyPhase phase = 2;
1315
+ }
1316
+
1317
+ message CMsgClientToGCTourneyAddPhaseResponse {
1318
+ enum EResponse {
1319
+ k_eInternalError = 0;
1320
+ k_eSuccess = 1;
1321
+ k_eDisabled = 2;
1322
+ k_eMissingPermissions = 3;
1323
+ k_eTooManyPhases = 4;
1324
+ k_eInvalidParams = 5;
1325
+ k_eNotInConfigure = 6;
1326
+ }
1327
+
1328
+ optional .CMsgClientToGCTourneyAddPhaseResponse.EResponse result = 1 [default = k_eInternalError];
1329
+ }
1330
+
1331
+ message CMsgClientToGCTourneyRemovePhase {
1332
+ optional uint64 tourney_id = 1;
1333
+ optional uint32 phase_id = 2;
1334
+ }
1335
+
1336
+ message CMsgClientToGCTourneyRemovePhaseResponse {
1337
+ enum EResponse {
1338
+ k_eInternalError = 0;
1339
+ k_eSuccess = 1;
1340
+ k_eDisabled = 2;
1341
+ k_eMissingPermissions = 3;
1342
+ k_eNotLastPhase = 4;
1343
+ k_eNotInConfigure = 5;
1344
+ }
1345
+
1346
+ optional .CMsgClientToGCTourneyRemovePhaseResponse.EResponse result = 1 [default = k_eInternalError];
1347
+ }
1348
+
1349
+ message CMsgClientToGCTourneySpectateMatch {
1350
+ optional uint64 tourney_id = 1;
1351
+ optional uint32 phase_id = 2;
1352
+ optional uint32 series_id = 3;
1353
+ optional bool player_1_perspective = 4;
1354
+ }
1355
+
1356
+ message CMsgClientToGCTourneySpectateMatchResponse {
1357
+ enum EResponse {
1358
+ k_eSuccess = 1;
1359
+ k_eInternalError = 2;
1360
+ k_eInvalidSeries = 3;
1361
+ k_eMissingPermissions = 4;
1362
+ k_eNotInMatch = 5;
1363
+ }
1364
+
1365
+ optional .CMsgClientToGCTourneySpectateMatchResponse.EResponse result = 1 [default = k_eSuccess];
1366
+ optional uint64 match_id = 2;
1367
+ optional fixed64 server_steam_id = 3;
1368
+ optional bytes sdr_key = 4;
1369
+ optional uint32 udp_connect_ip = 5;
1370
+ optional uint32 udp_connect_port = 6;
1371
+ }
1372
+
1373
+ message CMsgClientToGCTourneyInviteList {
1374
+ enum ELimit {
1375
+ k_eLimit_MaxAccounts = 32;
1376
+ }
1377
+
1378
+ optional uint64 tourney_id = 1;
1379
+ repeated uint32 account_ids = 2;
1380
+ repeated uint32 rights = 3;
1381
+ }
1382
+
1383
+ message CMsgClientToGCTourneyInviteListResponse {
1384
+ enum EResponse {
1385
+ k_eInternalError = 0;
1386
+ k_eSuccess = 1;
1387
+ k_eTooManyInvites = 2;
1388
+ k_eRateLimited = 3;
1389
+ k_eDisabled = 4;
1390
+ k_eTooManyAccounts = 5;
1391
+ k_eTourneyJoinClosed = 6;
1392
+ k_eMissingPermissions = 7;
1393
+ k_eTourneyFull = 8;
1394
+ k_eInvalidRights = 9;
1395
+ k_eNotFriends = 10;
1396
+ }
1397
+
1398
+ optional .CMsgClientToGCTourneyInviteListResponse.EResponse result = 1 [default = k_eInternalError];
1399
+ repeated uint32 invited_id = 2;
1400
+ repeated uint32 already_invited_id = 3;
1401
+ }
1402
+
1403
+ message CMsgClientToGCTourneyAdminSetSeedValues {
1404
+ message PlayerSeed {
1405
+ optional uint32 account_id = 1;
1406
+ optional uint32 initial_seed = 2;
1407
+ optional uint32 initial_group = 3;
1408
+ }
1409
+
1410
+ optional uint64 tourney_id = 1;
1411
+ repeated .CMsgClientToGCTourneyAdminSetSeedValues.PlayerSeed player_seeds = 2;
1412
+ }
1413
+
1414
+ message CMsgClientToGCTourneyAdminSetSeedValuesResponse {
1415
+ enum EResponse {
1416
+ k_eInternalError = 0;
1417
+ k_eSuccess = 1;
1418
+ k_eDisabled = 2;
1419
+ k_eMissingPermissions = 3;
1420
+ k_eInvalidStage = 5;
1421
+ }
1422
+
1423
+ optional .CMsgClientToGCTourneyAdminSetSeedValuesResponse.EResponse result = 1 [default = k_eInternalError];
1424
+ }
1425
+
1426
+ message CMsgClientToGCTourneyEditStageSwapPlayers {
1427
+ optional uint64 tourney_id = 1;
1428
+ optional uint32 phase_id = 2;
1429
+ optional uint32 account_to_swap = 3;
1430
+ optional uint32 swap_with = 4;
1431
+ }
1432
+
1433
+ message CMsgClientToGCTourneyEditStageSwapPlayersResponse {
1434
+ enum EResponse {
1435
+ k_eInternalError = 0;
1436
+ k_eSuccess = 1;
1437
+ k_eDisabled = 2;
1438
+ k_eMissingPermissions = 3;
1439
+ k_ePhaseNotInEdit = 4;
1440
+ k_eInvalidAccountID = 5;
1441
+ }
1442
+
1443
+ optional .CMsgClientToGCTourneyEditStageSwapPlayersResponse.EResponse result = 1 [default = k_eInternalError];
1444
+ }
1445
+
1446
+ message CMsgClientToGCTourneyGetLimitedReplay {
1447
+ optional uint64 tourney_id = 1;
1448
+ optional uint32 phase_id = 2;
1449
+ optional uint32 account_id = 3;
1450
+ }
1451
+
1452
+ message CMsgClientToGCTourneyGetLimitedReplayResponse {
1453
+ message LimitedStage {
1454
+ optional uint32 stage_id = 1;
1455
+ optional bytes choice_set = 2;
1456
+ optional bytes choices = 3;
1457
+ }
1458
+
1459
+ enum EResponse {
1460
+ k_eInternalError = 0;
1461
+ k_eSuccess = 1;
1462
+ k_eDisabled = 2;
1463
+ k_eMissingPermissions = 3;
1464
+ k_eInvalidPlayer = 4;
1465
+ k_ePhaseNotReady = 5;
1466
+ }
1467
+
1468
+ optional .CMsgClientToGCTourneyGetLimitedReplayResponse.EResponse result = 1 [default = k_eInternalError];
1469
+ repeated .CMsgClientToGCTourneyGetLimitedReplayResponse.LimitedStage stages = 2;
1470
+ optional .CMsgLimitedFormat format = 3;
1471
+ }
1472
+
1473
+ message CMsgClientToGCTourneyRejoinChatRoom {
1474
+ optional uint64 tourney_id = 1;
1475
+ }
1476
+
1477
+ message CMsgClientToGCTourneyRejoinChatRoomResponse {
1478
+ enum EResponse {
1479
+ k_eInternalError = 0;
1480
+ k_eSuccess = 1;
1481
+ k_eDisabled = 2;
1482
+ k_eMissingPermissions = 3;
1483
+ k_eNoChatRoom = 4;
1484
+ }
1485
+
1486
+ optional .CMsgClientToGCTourneyRejoinChatRoomResponse.EResponse result = 1 [default = k_eInternalError];
1487
+ }
1488
+
1489
+ message CMsgGCToClientTourneyMembersMatchmaking {
1490
+ optional uint64 tourney_id = 1;
1491
+ repeated uint32 accounts_in_mm = 2 [packed = true];
1492
+ }
1493
+
1494
+ message CMsgClientToGCTourneyPayEntryFee {
1495
+ optional uint64 tourney_id = 1;
1496
+ optional uint32 target_account_id = 2;
1497
+ repeated uint64 item_ids = 3;
1498
+ }
1499
+
1500
+ message CMsgClientToGCTourneyPayEntryFeeResponse {
1501
+ enum EResponse {
1502
+ k_eInternalError = 0;
1503
+ k_eSuccess = 1;
1504
+ k_eDisabled = 2;
1505
+ k_eMissingPermissions = 3;
1506
+ k_eInvalidItem = 4;
1507
+ k_eInvalidItemType = 5;
1508
+ k_eItemAlreadyFilled = 6;
1509
+ k_eInvalidTarget = 7;
1510
+ k_eInvalidStage = 8;
1511
+ }
1512
+
1513
+ optional .CMsgClientToGCTourneyPayEntryFeeResponse.EResponse result = 1 [default = k_eInternalError];
1514
+ }
1515
+
1516
+ message CMsgClientToGCTourneyPlayerAbandon {
1517
+ optional uint64 tourney_id = 1;
1518
+ }
1519
+
1520
+ message CMsgClientToGCTourneyPlayerAbandonResponse {
1521
+ enum EResponse {
1522
+ k_eInternalError = 0;
1523
+ k_eSuccess = 1;
1524
+ k_eDisabled = 2;
1525
+ k_eMissingPermissions = 3;
1526
+ k_eUnableToAbandon = 4;
1527
+ }
1528
+
1529
+ optional .CMsgClientToGCTourneyPlayerAbandonResponse.EResponse result = 1 [default = k_eInternalError];
1530
+ }
1531
+
1532
+ message CMsgClientToGCTourneyChangeValue {
1533
+ enum EValueType {
1534
+ k_eGlobal_SeedStage = 1;
1535
+ k_eGlobal_OpenSpectating = 2;
1536
+ k_eGlobal_TimerMode = 3;
1537
+ k_ePhase_MaxPlayers = 50;
1538
+ k_ePhase_EditStage = 51;
1539
+ k_eSwiss_NumRounds = 100;
1540
+ k_eSwiss_Matches = 101;
1541
+ k_eBracket_BestOf = 150;
1542
+ k_eBracket_FinalsBestOf = 151;
1543
+ k_eFreeForAll_MaxGames = 200;
1544
+ }
1545
+
1546
+ optional uint64 tourney_id = 1;
1547
+ optional uint32 phase_id = 2;
1548
+ optional .CMsgClientToGCTourneyChangeValue.EValueType value_type = 3 [default = k_eGlobal_SeedStage];
1549
+ optional uint32 int_value = 4;
1550
+ }
1551
+
1552
+ message CMsgClientToGCTourneyChangeValueResponse {
1553
+ enum EResponse {
1554
+ k_eInternalError = 0;
1555
+ k_eSuccess = 1;
1556
+ k_eDisabled = 2;
1557
+ k_eInvalidPhase = 3;
1558
+ k_eInvalidValueType = 4;
1559
+ k_eValueIsLocked = 5;
1560
+ k_eInvalidValue = 6;
1561
+ k_ePlayerMismatch = 8;
1562
+ k_eMissingPermissions = 9;
1563
+ }
1564
+
1565
+ optional .CMsgClientToGCTourneyChangeValueResponse.EResponse result = 1 [default = k_eInternalError];
1566
+ }
1567
+
1568
+ message CMsgClientToGCTourneyJoinOpenTourney {
1569
+ optional uint32 language = 1;
1570
+ optional string community_key = 2;
1571
+ optional uint32 open_tourney_mode = 3;
1572
+ }
1573
+
1574
+ message CMsgClientToGCTourneyJoinOpenTourneyResponse {
1575
+ enum EResponse {
1576
+ k_eInternalError = 0;
1577
+ k_eSuccess = 1;
1578
+ k_eDisabled = 2;
1579
+ k_eInvalidMode = 3;
1580
+ k_eInvalidRequest = 4;
1581
+ k_eTooBusy = 5;
1582
+ k_eRateLimited = 6;
1583
+ k_eInTooManyOpenAlready = 7;
1584
+ k_eInTooManyTotal = 8;
1585
+ }
1586
+
1587
+ optional .CMsgClientToGCTourneyJoinOpenTourneyResponse.EResponse result = 1 [default = k_eInternalError];
1588
+ optional uint64 joined_tourney_id = 2;
1589
+ optional uint32 cooldown_time_after = 3;
1590
+ }