steamutils 1.3.99 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. package/.idea/codeStyles/Project.xml +1 -0
  2. package/.idea/deployment.xml +14 -0
  3. package/.idea/jsLibraryMappings.xml +6 -0
  4. package/.prettierrc.json +3 -3
  5. package/SteamClient.js +2418 -2418
  6. package/bufferHelpers.js +115 -115
  7. package/cheerio.js +103 -103
  8. package/const.js +336 -336
  9. package/create_remote_file.js +66 -66
  10. package/index.js +7 -2
  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 +1431 -1431
  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/engine_gcmessages.proto +14 -14
  24. package/protos/csgo/enums_clientserver.proto +1529 -1529
  25. package/protos/csgo/fatdemo.proto +125 -125
  26. package/protos/csgo/gameevents.proto +120 -120
  27. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  28. package/protos/csgo/gcsystemmsgs.proto +243 -243
  29. package/protos/csgo/netmessages.proto +618 -618
  30. package/protos/csgo/network_connection.proto +126 -126
  31. package/protos/csgo/networkbasetypes.proto +246 -246
  32. package/protos/csgo/networksystem_protomessages.proto +17 -17
  33. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  34. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  35. package/protos/csgo/steammessages.proto +620 -620
  36. package/protos/csgo/steammessages_base.proto +301 -301
  37. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  38. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  39. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  40. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  41. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  42. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  43. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -30
  44. package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
  45. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  46. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  47. package/protos/csgo/te.proto +259 -259
  48. package/protos/csgo/uifontfile_format.proto +13 -13
  49. package/protos/csgo/usercmd.proto +39 -39
  50. package/protos/csgo/usermessages.proto +752 -752
  51. package/protos/csgo/valveextensions.proto +17 -17
  52. package/protos/google/protobuf/descriptor.proto +281 -281
  53. package/protos/steam/clientmetrics.proto +45 -45
  54. package/protos/steam/content_manifest.proto +62 -62
  55. package/protos/steam/contenthubs.proto +41 -41
  56. package/protos/steam/encrypted_app_ticket.proto +10 -10
  57. package/protos/steam/enums.proto +501 -501
  58. package/protos/steam/enums_clientserver.proto +1508 -1508
  59. package/protos/steam/enums_productinfo.proto +14 -14
  60. package/protos/steam/htmlmessages.proto +1039 -1039
  61. package/protos/steam/offline_ticket.proto +8 -8
  62. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  63. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  64. package/protos/steam/steammessages_accounthardware.steamclient.proto +167 -167
  65. package/protos/steam/steammessages_appoverview.proto +204 -204
  66. package/protos/steam/steammessages_auth.steamclient.proto +375 -375
  67. package/protos/steam/steammessages_base.proto +335 -335
  68. package/protos/steam/steammessages_broadcast.steamclient.proto +618 -618
  69. package/protos/steam/steammessages_chat.steamclient.proto +1070 -1070
  70. package/protos/steam/steammessages_client_objects.proto +649 -649
  71. package/protos/steam/steammessages_clientlanp2p.proto +43 -43
  72. package/protos/steam/steammessages_clientmetrics.steamclient.proto +192 -192
  73. package/protos/steam/steammessages_clientnotificationtypes.proto +250 -250
  74. package/protos/steam/steammessages_clientserver.proto +392 -392
  75. package/protos/steam/steammessages_clientserver_2.proto +771 -771
  76. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  77. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  78. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  79. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  80. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  81. package/protos/steam/steammessages_clientserver_mms.proto +233 -233
  82. package/protos/steam/steammessages_clientserver_ucm.proto +207 -207
  83. package/protos/steam/steammessages_clientserver_uds.proto +125 -125
  84. package/protos/steam/steammessages_clientserver_ufs.proto +45 -45
  85. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  86. package/protos/steam/steammessages_clientsettings.proto +208 -208
  87. package/protos/steam/steammessages_cloud.steamclient.proto +422 -422
  88. package/protos/steam/steammessages_contentsystem.steamclient.proto +123 -123
  89. package/protos/steam/steammessages_credentials.steamclient.proto +96 -96
  90. package/protos/steam/steammessages_datapublisher.steamclient.proto +102 -102
  91. package/protos/steam/steammessages_depotbuilder.steamclient.proto +99 -99
  92. package/protos/steam/steammessages_deviceauth.steamclient.proto +169 -169
  93. package/protos/steam/steammessages_econ.steamclient.proto +137 -137
  94. package/protos/steam/steammessages_familygroups.steamclient.proto +441 -441
  95. package/protos/steam/steammessages_friendmessages.steamclient.proto +141 -141
  96. package/protos/steam/steammessages_gamenetworking.steamclient.proto +25 -25
  97. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  98. package/protos/steam/steammessages_gamenotifications.steamclient.proto +131 -131
  99. package/protos/steam/steammessages_gameservers.steamclient.proto +136 -136
  100. package/protos/steam/steammessages_hiddevices.proto +157 -157
  101. package/protos/steam/steammessages_inventory.steamclient.proto +172 -172
  102. package/protos/steam/steammessages_linkfilter.steamclient.proto +39 -39
  103. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +29 -29
  104. package/protos/steam/steammessages_market.steamclient.proto +22 -22
  105. package/protos/steam/steammessages_marketingmessages.steamclient.proto +273 -273
  106. package/protos/steam/steammessages_offline.steamclient.proto +33 -33
  107. package/protos/steam/steammessages_parental.steamclient.proto +262 -262
  108. package/protos/steam/steammessages_parties.steamclient.proto +75 -75
  109. package/protos/steam/steammessages_partnerapps.steamclient.proto +106 -106
  110. package/protos/steam/steammessages_player.steamclient.proto +915 -915
  111. package/protos/steam/steammessages_publishedfile.steamclient.proto +737 -737
  112. package/protos/steam/steammessages_qms.steamclient.proto +111 -111
  113. package/protos/steam/steammessages_remoteclient.proto +100 -100
  114. package/protos/steam/steammessages_remoteclient_discovery.proto +244 -244
  115. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +31 -31
  116. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  117. package/protos/steam/steammessages_remoteplay.proto +975 -975
  118. package/protos/steam/steammessages_secrets.steamclient.proto +35 -35
  119. package/protos/steam/steammessages_shader.steamclient.proto +89 -89
  120. package/protos/steam/steammessages_site_license.steamclient.proto +103 -103
  121. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  122. package/protos/steam/steammessages_siteserverui.proto +130 -130
  123. package/protos/steam/steammessages_steamtv.steamclient.proto +533 -533
  124. package/protos/steam/steammessages_store.steamclient.proto +404 -404
  125. package/protos/steam/steammessages_storebrowse.steamclient.proto +457 -457
  126. package/protos/steam/steammessages_timedtrial.steamclient.proto +40 -40
  127. package/protos/steam/steammessages_twofactor.steamclient.proto +157 -157
  128. package/protos/steam/steammessages_unified_base.steamclient.proto +45 -45
  129. package/protos/steam/steammessages_unified_test.steamclient.proto +51 -51
  130. package/protos/steam/steammessages_useraccount.steamclient.proto +211 -211
  131. package/protos/steam/steammessages_vac.steamclient.proto +37 -37
  132. package/protos/steam/steammessages_video.steamclient.proto +68 -68
  133. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  134. package/protos/steam/steammessages_workshop.steamclient.proto +19 -19
  135. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  136. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  137. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  138. package/protos/steam/webuimessages_achievements.proto +29 -29
  139. package/protos/steam/webuimessages_base.proto +24 -24
  140. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  141. package/protos/steam/webuimessages_gamescope.proto +57 -57
  142. package/protos/steam/webuimessages_steamengine.proto +41 -41
  143. package/protos/steam/webuimessages_steamos.proto +114 -114
  144. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  145. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  146. package/protos/steam/webuimessages_transport.proto +22 -22
  147. package/protos/steam/webuimessages_transportvalidation.proto +111 -111
  148. package/protos/webui/common.proto +4024 -4024
  149. package/protos/webui/common_base.proto +27 -27
  150. package/protos/webui/service_accountcart.proto +153 -153
  151. package/protos/webui/service_accountlinking.proto +27 -27
  152. package/protos/webui/service_accountprivacy.proto +42 -42
  153. package/protos/webui/service_accountprivateapps.proto +34 -34
  154. package/protos/webui/service_auction.proto +97 -97
  155. package/protos/webui/service_authentication.proto +222 -222
  156. package/protos/webui/service_authenticationsupport.proto +74 -74
  157. package/protos/webui/service_broadcast.proto +562 -562
  158. package/protos/webui/service_chat.proto +11 -11
  159. package/protos/webui/service_chatroom.proto +810 -810
  160. package/protos/webui/service_chatusability.proto +107 -107
  161. package/protos/webui/service_checkout.proto +84 -84
  162. package/protos/webui/service_clan.proto +41 -41
  163. package/protos/webui/service_clanchatrooms.proto +25 -25
  164. package/protos/webui/service_clanfaqs.proto +202 -202
  165. package/protos/webui/service_clientcomm.proto +151 -151
  166. package/protos/webui/service_clientmetrics.proto +22 -22
  167. package/protos/webui/service_cloud.proto +222 -222
  168. package/protos/webui/service_cloudconfigstore.proto +51 -51
  169. package/protos/webui/service_cloudgaming.proto +30 -30
  170. package/protos/webui/service_community.proto +365 -365
  171. package/protos/webui/service_dailydeal.proto +89 -89
  172. package/protos/webui/service_econ.proto +134 -134
  173. package/protos/webui/service_embedded.proto +24 -24
  174. package/protos/webui/service_experimentservice.proto +6 -6
  175. package/protos/webui/service_familygroups.proto +355 -355
  176. package/protos/webui/service_fovasvideo.proto +15 -15
  177. package/protos/webui/service_friendmessages.proto +133 -133
  178. package/protos/webui/service_friendslist.proto +70 -70
  179. package/protos/webui/service_gamenotes.proto +15 -15
  180. package/protos/webui/service_gamerecording.proto +265 -265
  181. package/protos/webui/service_gamerecordingclip.proto +85 -85
  182. package/protos/webui/service_gamerecordingdebug.proto +52 -52
  183. package/protos/webui/service_helprequestlogs.proto +16 -16
  184. package/protos/webui/service_loyaltyrewards.proto +252 -252
  185. package/protos/webui/service_marketingmessages.proto +215 -215
  186. package/protos/webui/service_mobileapp.proto +18 -18
  187. package/protos/webui/service_mobileauth.proto +24 -24
  188. package/protos/webui/service_mobiledevice.proto +26 -26
  189. package/protos/webui/service_mobileperaccount.proto +31 -31
  190. package/protos/webui/service_news.proto +110 -110
  191. package/protos/webui/service_parental.proto +258 -258
  192. package/protos/webui/service_partnermembershipinvite.proto +34 -34
  193. package/protos/webui/service_partnerstorebrowse.proto +28 -28
  194. package/protos/webui/service_phone.proto +51 -51
  195. package/protos/webui/service_physicalgoods.proto +15 -15
  196. package/protos/webui/service_player.proto +918 -918
  197. package/protos/webui/service_promotioneventinvites.proto +109 -109
  198. package/protos/webui/service_promotionplanning.proto +186 -186
  199. package/protos/webui/service_promotionstats.proto +23 -23
  200. package/protos/webui/service_publishedfile.proto +714 -714
  201. package/protos/webui/service_publishing.proto +200 -200
  202. package/protos/webui/service_quest.proto +127 -127
  203. package/protos/webui/service_salefeature.proto +373 -373
  204. package/protos/webui/service_saleitemrewards.proto +54 -54
  205. package/protos/webui/service_shoppingcart.proto +152 -152
  206. package/protos/webui/service_steamawards.proto +76 -76
  207. package/protos/webui/service_steamcharts.proto +75 -75
  208. package/protos/webui/service_steamengine.proto +36 -36
  209. package/protos/webui/service_steamlearn.proto +876 -876
  210. package/protos/webui/service_steamnotification.proto +73 -73
  211. package/protos/webui/service_steamtv.proto +495 -495
  212. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  213. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  214. package/protos/webui/service_storagedevicemanager.proto +104 -104
  215. package/protos/webui/service_store.proto +359 -359
  216. package/protos/webui/service_storeappsimilarity.proto +76 -76
  217. package/protos/webui/service_storebrowse.proto +103 -103
  218. package/protos/webui/service_storemarketing.proto +44 -44
  219. package/protos/webui/service_storequery.proto +103 -103
  220. package/protos/webui/service_storesales.proto +87 -87
  221. package/protos/webui/service_storetopsellers.proto +44 -44
  222. package/protos/webui/service_systemmanager.proto +11 -11
  223. package/protos/webui/service_test_transporterror.proto +6 -6
  224. package/protos/webui/service_transportauth.proto +17 -17
  225. package/protos/webui/service_transportvalidation.proto +69 -69
  226. package/protos/webui/service_twofactor.proto +170 -170
  227. package/protos/webui/service_useraccount.proto +142 -142
  228. package/protos/webui/service_usergameactivity.proto +34 -34
  229. package/protos/webui/service_usergamenotes.proto +70 -70
  230. package/protos/webui/service_usernews.proto +68 -68
  231. package/protos/webui/service_userreviews.proto +97 -97
  232. package/protos/webui/service_video.proto +50 -50
  233. package/protos/webui/service_videoclip.proto +62 -62
  234. package/protos/webui/service_voicechat.proto +139 -139
  235. package/protos/webui/service_webrtc.proto +52 -52
  236. package/remote.js +6259 -6259
  237. package/test_steamclient.js +20 -0
  238. package/utils.js +155 -155
@@ -1,592 +1,592 @@
1
- enum ECstrike15UserMessages {
2
- CS_UM_VGUIMenu = 301;
3
- CS_UM_Geiger = 302;
4
- CS_UM_Train = 303;
5
- CS_UM_HudText = 304;
6
- CS_UM_SayText = 305;
7
- CS_UM_SayText2 = 306;
8
- CS_UM_TextMsg = 307;
9
- CS_UM_HudMsg = 308;
10
- CS_UM_ResetHud = 309;
11
- CS_UM_GameTitle = 310;
12
- CS_UM_Shake = 312;
13
- CS_UM_Fade = 313;
14
- CS_UM_Rumble = 314;
15
- CS_UM_CloseCaption = 315;
16
- CS_UM_CloseCaptionDirect = 316;
17
- CS_UM_SendAudio = 317;
18
- CS_UM_RawAudio = 318;
19
- CS_UM_VoiceMask = 319;
20
- CS_UM_RequestState = 320;
21
- CS_UM_Damage = 321;
22
- CS_UM_RadioText = 322;
23
- CS_UM_HintText = 323;
24
- CS_UM_KeyHintText = 324;
25
- CS_UM_ProcessSpottedEntityUpdate = 325;
26
- CS_UM_ReloadEffect = 326;
27
- CS_UM_AdjustMoney = 327;
28
- CS_UM_UpdateTeamMoney = 328;
29
- CS_UM_StopSpectatorMode = 329;
30
- CS_UM_KillCam = 330;
31
- CS_UM_DesiredTimescale = 331;
32
- CS_UM_CurrentTimescale = 332;
33
- CS_UM_AchievementEvent = 333;
34
- CS_UM_MatchEndConditions = 334;
35
- CS_UM_DisconnectToLobby = 335;
36
- CS_UM_PlayerStatsUpdate = 336;
37
- CS_UM_WarmupHasEnded = 338;
38
- CS_UM_ClientInfo = 339;
39
- CS_UM_XRankGet = 340;
40
- CS_UM_XRankUpd = 341;
41
- CS_UM_CallVoteFailed = 345;
42
- CS_UM_VoteStart = 346;
43
- CS_UM_VotePass = 347;
44
- CS_UM_VoteFailed = 348;
45
- CS_UM_VoteSetup = 349;
46
- CS_UM_ServerRankRevealAll = 350;
47
- CS_UM_SendLastKillerDamageToClient = 351;
48
- CS_UM_ServerRankUpdate = 352;
49
- CS_UM_ItemPickup = 353;
50
- CS_UM_ShowMenu = 354;
51
- CS_UM_BarTime = 355;
52
- CS_UM_AmmoDenied = 356;
53
- CS_UM_MarkAchievement = 357;
54
- CS_UM_MatchStatsUpdate = 358;
55
- CS_UM_ItemDrop = 359;
56
- CS_UM_GlowPropTurnOff = 360;
57
- CS_UM_SendPlayerItemDrops = 361;
58
- CS_UM_RoundBackupFilenames = 362;
59
- CS_UM_SendPlayerItemFound = 363;
60
- CS_UM_ReportHit = 364;
61
- CS_UM_XpUpdate = 365;
62
- CS_UM_QuestProgress = 366;
63
- CS_UM_ScoreLeaderboardData = 367;
64
- CS_UM_PlayerDecalDigitalSignature = 368;
65
- CS_UM_WeaponSound = 369;
66
- CS_UM_UpdateScreenHealthBar = 370;
67
- CS_UM_EntityOutlineHighlight = 371;
68
- CS_UM_SSUI = 372;
69
- CS_UM_SurvivalStats = 373;
70
- CS_UM_DisconnectToLobby2 = 374;
71
- CS_UM_EndOfMatchAllPlayersData = 375;
72
- CS_UM_PostRoundDamageReport = 376;
73
- CS_UM_RoundEndReportData = 379;
74
- CS_UM_CurrentRoundOdds = 380;
75
- CS_UM_DeepStats = 381;
76
- CS_UM_ShootInfo = 383;
77
- }
78
-
79
- enum ECSUsrMsg_DisconnectToLobby_Action {
80
- k_ECSUsrMsg_DisconnectToLobby_Action_Default = 0;
81
- k_ECSUsrMsg_DisconnectToLobby_Action_GoQueue = 1;
82
- }
83
-
84
- message CCSUsrMsg_VGUIMenu {
85
- message Keys {
86
- optional string name = 1;
87
- optional string value = 2;
88
- }
89
-
90
- optional string name = 1;
91
- optional bool show = 2;
92
- repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3;
93
- }
94
-
95
- message CCSUsrMsg_Geiger {
96
- optional int32 range = 1;
97
- }
98
-
99
- message CCSUsrMsg_Train {
100
- optional int32 train = 1;
101
- }
102
-
103
- message CCSUsrMsg_HudText {
104
- optional string text = 1;
105
- }
106
-
107
- message CCSUsrMsg_HudMsg {
108
- optional int32 channel = 1;
109
- optional .CMsgVector2D pos = 2;
110
- optional .CMsgRGBA clr1 = 3;
111
- optional .CMsgRGBA clr2 = 4;
112
- optional int32 effect = 5;
113
- optional float fade_in_time = 6;
114
- optional float fade_out_time = 7;
115
- optional float hold_time = 9;
116
- optional float fx_time = 10;
117
- optional string text = 11;
118
- }
119
-
120
- message CCSUsrMsg_Shake {
121
- optional int32 command = 1;
122
- optional float local_amplitude = 2;
123
- optional float frequency = 3;
124
- optional float duration = 4;
125
- }
126
-
127
- message CCSUsrMsg_Fade {
128
- optional int32 duration = 1;
129
- optional int32 hold_time = 2;
130
- optional int32 flags = 3;
131
- optional .CMsgRGBA clr = 4;
132
- }
133
-
134
- message CCSUsrMsg_Rumble {
135
- optional int32 index = 1;
136
- optional int32 data = 2;
137
- optional int32 flags = 3;
138
- }
139
-
140
- message CCSUsrMsg_CloseCaption {
141
- optional uint32 hash = 1;
142
- optional int32 duration = 2;
143
- optional bool from_player = 3;
144
- optional string cctoken = 4;
145
- }
146
-
147
- message CCSUsrMsg_CloseCaptionDirect {
148
- optional uint32 hash = 1;
149
- optional int32 duration = 2;
150
- optional bool from_player = 3;
151
- }
152
-
153
- message CCSUsrMsg_SendAudio {
154
- optional string radio_sound = 1;
155
- }
156
-
157
- message CCSUsrMsg_RawAudio {
158
- optional int32 pitch = 1;
159
- optional int32 entidx = 2 [default = -1];
160
- optional float duration = 3;
161
- optional string voice_filename = 4;
162
- }
163
-
164
- message CCSUsrMsg_VoiceMask {
165
- message PlayerMask {
166
- optional int32 game_rules_mask = 1;
167
- optional int32 ban_masks = 2;
168
- }
169
-
170
- repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1;
171
- optional bool player_mod_enable = 2;
172
- }
173
-
174
- message CCSUsrMsg_Damage {
175
- optional int32 amount = 1;
176
- optional .CMsgVector inflictor_world_pos = 2;
177
- optional int32 victim_entindex = 3 [default = -1];
178
- }
179
-
180
- message CCSUsrMsg_RadioText {
181
- optional int32 msg_dst = 1;
182
- optional int32 client = 2 [default = -1];
183
- optional string msg_name = 3;
184
- repeated string params = 4;
185
- }
186
-
187
- message CCSUsrMsg_HintText {
188
- optional string message = 1;
189
- }
190
-
191
- message CCSUsrMsg_KeyHintText {
192
- repeated string messages = 1;
193
- }
194
-
195
- message CCSUsrMsg_ProcessSpottedEntityUpdate {
196
- message SpottedEntityUpdate {
197
- optional int32 entity_idx = 1 [default = -1];
198
- optional int32 class_id = 2;
199
- optional int32 origin_x = 3;
200
- optional int32 origin_y = 4;
201
- optional int32 origin_z = 5;
202
- optional int32 angle_y = 6;
203
- optional bool defuser = 7;
204
- optional bool player_has_defuser = 8;
205
- optional bool player_has_c4 = 9;
206
- }
207
-
208
- optional bool new_update = 1;
209
- repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2;
210
- }
211
-
212
- message CCSUsrMsg_SendPlayerItemDrops {
213
- repeated .CEconItemPreviewDataBlock entity_updates = 1;
214
- }
215
-
216
- message CCSUsrMsg_SendPlayerItemFound {
217
- optional .CEconItemPreviewDataBlock iteminfo = 1;
218
- optional int32 playerslot = 2 [default = -1];
219
- }
220
-
221
- message CCSUsrMsg_ReloadEffect {
222
- optional int32 entidx = 1 [default = -1];
223
- optional int32 actanim = 2;
224
- optional float origin_x = 3;
225
- optional float origin_y = 4;
226
- optional float origin_z = 5;
227
- }
228
-
229
- message CCSUsrMsg_WeaponSound {
230
- optional int32 entidx = 1 [default = -1];
231
- optional float origin_x = 2;
232
- optional float origin_y = 3;
233
- optional float origin_z = 4;
234
- optional string sound = 5;
235
- optional float game_timestamp = 6;
236
- optional fixed32 source_soundscapeid = 7;
237
- }
238
-
239
- message CCSUsrMsg_UpdateScreenHealthBar {
240
- optional int32 entidx = 1 [default = -1];
241
- optional float healthratio_old = 2;
242
- optional float healthratio_new = 3;
243
- optional int32 style = 4;
244
- }
245
-
246
- message CCSUsrMsg_EntityOutlineHighlight {
247
- optional int32 entidx = 1 [default = -1];
248
- optional bool removehighlight = 2;
249
- }
250
-
251
- message CCSUsrMsg_AdjustMoney {
252
- optional int32 amount = 1;
253
- }
254
-
255
- message CCSUsrMsg_ReportHit {
256
- optional float pos_x = 1;
257
- optional float pos_y = 2;
258
- optional float timestamp = 4;
259
- optional float pos_z = 3;
260
- }
261
-
262
- message CCSUsrMsg_KillCam {
263
- optional int32 obs_mode = 1;
264
- optional int32 first_target = 2 [default = -1];
265
- optional int32 second_target = 3 [default = -1];
266
- }
267
-
268
- message CCSUsrMsg_DesiredTimescale {
269
- optional float desired_timescale = 1;
270
- optional float duration_realtime_sec = 2;
271
- optional int32 interpolator_type = 3;
272
- optional float start_blend_time = 4;
273
- }
274
-
275
- message CCSUsrMsg_CurrentTimescale {
276
- optional float cur_timescale = 1;
277
- }
278
-
279
- message CCSUsrMsg_AchievementEvent {
280
- optional int32 achievement = 1;
281
- optional int32 count = 2;
282
- optional int32 user_id = 3;
283
- }
284
-
285
- message CCSUsrMsg_MatchEndConditions {
286
- optional int32 fraglimit = 1;
287
- optional int32 mp_maxrounds = 2;
288
- optional int32 mp_winlimit = 3;
289
- optional float mp_timelimit = 4;
290
- }
291
-
292
- message CCSUsrMsg_PlayerStatsUpdate {
293
- message Stat {
294
- optional int32 idx = 1;
295
- optional int32 delta = 2;
296
- }
297
-
298
- optional int32 version = 1;
299
- repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4;
300
- optional uint32 ehandle = 5;
301
- optional int32 crc = 6;
302
- }
303
-
304
- message CCSUsrMsg_QuestProgress {
305
- optional uint32 quest_id = 1;
306
- optional uint32 normal_points = 2;
307
- optional uint32 bonus_points = 3;
308
- optional bool is_event_quest = 4;
309
- }
310
-
311
- message CCSUsrMsg_ScoreLeaderboardData {
312
- optional .ScoreLeaderboardData data = 1;
313
- }
314
-
315
- message CCSUsrMsg_PlayerDecalDigitalSignature {
316
- optional .PlayerDecalDigitalSignature data = 1;
317
- }
318
-
319
- message CCSUsrMsg_XRankGet {
320
- optional int32 mode_idx = 1;
321
- optional int32 controller = 2;
322
- }
323
-
324
- message CCSUsrMsg_XRankUpd {
325
- optional int32 mode_idx = 1;
326
- optional int32 controller = 2;
327
- optional int32 ranking = 3;
328
- }
329
-
330
- message CCSUsrMsg_CallVoteFailed {
331
- optional int32 reason = 1;
332
- optional int32 time = 2;
333
- }
334
-
335
- message CCSUsrMsg_VoteStart {
336
- optional int32 team = 1;
337
- optional int32 player_slot = 2 [default = -1];
338
- optional int32 vote_type = 3;
339
- optional string disp_str = 4;
340
- optional string details_str = 5;
341
- optional string other_team_str = 6;
342
- optional bool is_yes_no_vote = 7;
343
- optional int32 player_slot_target = 8 [default = -1];
344
- }
345
-
346
- message CCSUsrMsg_VotePass {
347
- optional int32 team = 1;
348
- optional int32 vote_type = 2;
349
- optional string disp_str = 3;
350
- optional string details_str = 4;
351
- }
352
-
353
- message CCSUsrMsg_VoteFailed {
354
- optional int32 team = 1;
355
- optional int32 reason = 2;
356
- }
357
-
358
- message CCSUsrMsg_VoteSetup {
359
- repeated string potential_issues = 1;
360
- }
361
-
362
- message CCSUsrMsg_SendLastKillerDamageToClient {
363
- optional int32 num_hits_given = 1;
364
- optional int32 damage_given = 2;
365
- optional int32 num_hits_taken = 3;
366
- optional int32 damage_taken = 4;
367
- optional int32 actual_damage_given = 5;
368
- optional int32 actual_damage_taken = 6;
369
- }
370
-
371
- message CCSUsrMsg_ServerRankUpdate {
372
- message RankUpdate {
373
- optional int32 account_id = 1;
374
- optional int32 rank_old = 2;
375
- optional int32 rank_new = 3;
376
- optional int32 num_wins = 4;
377
- optional float rank_change = 5;
378
- optional int32 rank_type_id = 6;
379
- }
380
-
381
- repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1;
382
- }
383
-
384
- message CCSUsrMsg_XpUpdate {
385
- optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1;
386
- }
387
-
388
- message CCSUsrMsg_ItemPickup {
389
- optional string item = 1;
390
- }
391
-
392
- message CCSUsrMsg_ShowMenu {
393
- optional int32 bits_valid_slots = 1;
394
- optional int32 display_time = 2;
395
- optional string menu_string = 3;
396
- }
397
-
398
- message CCSUsrMsg_BarTime {
399
- optional string time = 1;
400
- }
401
-
402
- message CCSUsrMsg_AmmoDenied {
403
- optional int32 ammoidx = 1;
404
- }
405
-
406
- message CCSUsrMsg_MarkAchievement {
407
- optional string achievement = 1;
408
- }
409
-
410
- message CCSUsrMsg_MatchStatsUpdate {
411
- optional string update = 1;
412
- }
413
-
414
- message CCSUsrMsg_ItemDrop {
415
- optional int64 itemid = 1;
416
- optional bool death = 2;
417
- }
418
-
419
- message CCSUsrMsg_GlowPropTurnOff {
420
- optional int32 entidx = 1 [default = -1];
421
- }
422
-
423
- message CCSUsrMsg_RoundBackupFilenames {
424
- optional int32 count = 1;
425
- optional int32 index = 2;
426
- optional string filename = 3;
427
- optional string nicename = 4;
428
- }
429
-
430
- message CCSUsrMsg_SSUI {
431
- optional bool show = 1;
432
- optional float start_time = 2;
433
- optional float end_time = 3;
434
- }
435
-
436
- message CCSUsrMsg_SurvivalStats {
437
- message Fact {
438
- optional int32 type = 1;
439
- optional int32 display = 2;
440
- optional int32 value = 3;
441
- optional float interestingness = 4;
442
- }
443
-
444
- message Placement {
445
- optional uint64 xuid = 1;
446
- optional int32 teamnumber = 2;
447
- optional int32 placement = 3;
448
- }
449
-
450
- message Damage {
451
- optional uint64 xuid = 1;
452
- optional int32 to = 2;
453
- optional int32 to_hits = 3;
454
- optional int32 from = 4;
455
- optional int32 from_hits = 5;
456
- }
457
-
458
- optional uint64 xuid = 1;
459
- repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2;
460
- repeated .CCSUsrMsg_SurvivalStats.Placement users = 3;
461
- repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5;
462
- optional int32 ticknumber = 4;
463
- }
464
-
465
- message CCSUsrMsg_EndOfMatchAllPlayersData {
466
- message Accolade {
467
- optional int32 eaccolade = 1;
468
- optional float value = 2;
469
- optional int32 position = 3;
470
- }
471
-
472
- message PlayerData {
473
- optional int32 slot = 1 [default = -1];
474
- optional uint64 xuid = 2;
475
- optional string name = 3;
476
- optional int32 teamnumber = 4;
477
- optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5;
478
- repeated .CEconItemPreviewDataBlock items = 6;
479
- optional int32 playercolor = 7;
480
- optional bool isbot = 8;
481
- }
482
-
483
- repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1;
484
- optional int32 scene = 2;
485
- }
486
-
487
- message CCSUsrMsg_RoundEndReportData {
488
- message RerEvent {
489
- message Victim {
490
- optional int32 team_number = 1;
491
- optional int32 playerslot = 2 [default = -1];
492
- optional uint64 xuid = 3;
493
- optional int32 color = 4;
494
- optional bool is_bot = 5;
495
- optional bool is_dead = 6;
496
- }
497
-
498
- message Objective {
499
- optional int32 type = 1;
500
- }
501
-
502
- message Damage {
503
- optional int32 other_playerslot = 1 [default = -1];
504
- optional uint64 other_xuid = 2;
505
- optional int32 health_removed = 3;
506
- optional int32 num_hits = 4;
507
- optional int32 return_health_removed = 5;
508
- optional int32 return_num_hits = 6;
509
- }
510
-
511
- optional float timestamp = 1;
512
- optional int32 terrorist_odds = 2;
513
- optional int32 ct_alive = 3;
514
- optional int32 t_alive = 4;
515
- optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5;
516
- optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6;
517
- repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7;
518
- }
519
-
520
- message InitialConditions {
521
- optional int32 ct_equip_value = 1;
522
- optional int32 t_equip_value = 2;
523
- optional int32 terrorist_odds = 3;
524
- }
525
-
526
- optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1;
527
- repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2;
528
- }
529
-
530
- message CCSUsrMsg_PostRoundDamageReport {
531
- optional uint64 other_xuid = 1;
532
- optional int32 given_kill_type = 2;
533
- optional int32 given_health_removed = 3;
534
- optional int32 given_num_hits = 4;
535
- optional int32 taken_kill_type = 5;
536
- optional int32 taken_health_removed = 6;
537
- optional int32 taken_num_hits = 7;
538
- }
539
-
540
- message CCSUsrMsg_CurrentRoundOdds {
541
- optional int32 odds = 1;
542
- }
543
-
544
- message CCSUsrMsg_DeepStats {
545
- optional .CMsgGCCStrike15_ClientDeepStats stats = 1;
546
- }
547
-
548
- message CCSUsrMsg_ShootInfo {
549
- optional int32 frame_number = 1;
550
- repeated .CMsgTransform hitbox_transforms = 2;
551
- optional .CMsgVector shoot_pos = 3;
552
- optional .CMsgQAngle shoot_dir = 4;
553
- }
554
-
555
- message CCSUsrMsg_ResetHud {
556
- optional bool reset = 1;
557
- }
558
-
559
- message CCSUsrMsg_GameTitle {
560
- optional int32 dummy = 1;
561
- }
562
-
563
- message CCSUsrMsg_RequestState {
564
- optional int32 dummy = 1;
565
- }
566
-
567
- message CCSUsrMsg_StopSpectatorMode {
568
- optional int32 dummy = 1;
569
- }
570
-
571
- message CCSUsrMsg_DisconnectToLobby {
572
- optional int32 dummy = 1;
573
- }
574
-
575
- message CCSUsrMsg_WarmupHasEnded {
576
- optional int32 dummy = 1;
577
- }
578
-
579
- message CCSUsrMsg_ClientInfo {
580
- optional int32 dummy = 1;
581
- }
582
-
583
- message CCSUsrMsg_ServerRankRevealAll {
584
- optional int32 seconds_till_shutdown = 1;
585
- optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2;
586
- }
587
-
588
- message CCSUsrMsgPreMatchSayText {
589
- optional uint32 account_id = 1;
590
- optional string text = 2;
591
- optional bool all_chat = 3;
592
- }
1
+ enum ECstrike15UserMessages {
2
+ CS_UM_VGUIMenu = 301;
3
+ CS_UM_Geiger = 302;
4
+ CS_UM_Train = 303;
5
+ CS_UM_HudText = 304;
6
+ CS_UM_SayText = 305;
7
+ CS_UM_SayText2 = 306;
8
+ CS_UM_TextMsg = 307;
9
+ CS_UM_HudMsg = 308;
10
+ CS_UM_ResetHud = 309;
11
+ CS_UM_GameTitle = 310;
12
+ CS_UM_Shake = 312;
13
+ CS_UM_Fade = 313;
14
+ CS_UM_Rumble = 314;
15
+ CS_UM_CloseCaption = 315;
16
+ CS_UM_CloseCaptionDirect = 316;
17
+ CS_UM_SendAudio = 317;
18
+ CS_UM_RawAudio = 318;
19
+ CS_UM_VoiceMask = 319;
20
+ CS_UM_RequestState = 320;
21
+ CS_UM_Damage = 321;
22
+ CS_UM_RadioText = 322;
23
+ CS_UM_HintText = 323;
24
+ CS_UM_KeyHintText = 324;
25
+ CS_UM_ProcessSpottedEntityUpdate = 325;
26
+ CS_UM_ReloadEffect = 326;
27
+ CS_UM_AdjustMoney = 327;
28
+ CS_UM_UpdateTeamMoney = 328;
29
+ CS_UM_StopSpectatorMode = 329;
30
+ CS_UM_KillCam = 330;
31
+ CS_UM_DesiredTimescale = 331;
32
+ CS_UM_CurrentTimescale = 332;
33
+ CS_UM_AchievementEvent = 333;
34
+ CS_UM_MatchEndConditions = 334;
35
+ CS_UM_DisconnectToLobby = 335;
36
+ CS_UM_PlayerStatsUpdate = 336;
37
+ CS_UM_WarmupHasEnded = 338;
38
+ CS_UM_ClientInfo = 339;
39
+ CS_UM_XRankGet = 340;
40
+ CS_UM_XRankUpd = 341;
41
+ CS_UM_CallVoteFailed = 345;
42
+ CS_UM_VoteStart = 346;
43
+ CS_UM_VotePass = 347;
44
+ CS_UM_VoteFailed = 348;
45
+ CS_UM_VoteSetup = 349;
46
+ CS_UM_ServerRankRevealAll = 350;
47
+ CS_UM_SendLastKillerDamageToClient = 351;
48
+ CS_UM_ServerRankUpdate = 352;
49
+ CS_UM_ItemPickup = 353;
50
+ CS_UM_ShowMenu = 354;
51
+ CS_UM_BarTime = 355;
52
+ CS_UM_AmmoDenied = 356;
53
+ CS_UM_MarkAchievement = 357;
54
+ CS_UM_MatchStatsUpdate = 358;
55
+ CS_UM_ItemDrop = 359;
56
+ CS_UM_GlowPropTurnOff = 360;
57
+ CS_UM_SendPlayerItemDrops = 361;
58
+ CS_UM_RoundBackupFilenames = 362;
59
+ CS_UM_SendPlayerItemFound = 363;
60
+ CS_UM_ReportHit = 364;
61
+ CS_UM_XpUpdate = 365;
62
+ CS_UM_QuestProgress = 366;
63
+ CS_UM_ScoreLeaderboardData = 367;
64
+ CS_UM_PlayerDecalDigitalSignature = 368;
65
+ CS_UM_WeaponSound = 369;
66
+ CS_UM_UpdateScreenHealthBar = 370;
67
+ CS_UM_EntityOutlineHighlight = 371;
68
+ CS_UM_SSUI = 372;
69
+ CS_UM_SurvivalStats = 373;
70
+ CS_UM_DisconnectToLobby2 = 374;
71
+ CS_UM_EndOfMatchAllPlayersData = 375;
72
+ CS_UM_PostRoundDamageReport = 376;
73
+ CS_UM_RoundEndReportData = 379;
74
+ CS_UM_CurrentRoundOdds = 380;
75
+ CS_UM_DeepStats = 381;
76
+ CS_UM_ShootInfo = 383;
77
+ }
78
+
79
+ enum ECSUsrMsg_DisconnectToLobby_Action {
80
+ k_ECSUsrMsg_DisconnectToLobby_Action_Default = 0;
81
+ k_ECSUsrMsg_DisconnectToLobby_Action_GoQueue = 1;
82
+ }
83
+
84
+ message CCSUsrMsg_VGUIMenu {
85
+ message Keys {
86
+ optional string name = 1;
87
+ optional string value = 2;
88
+ }
89
+
90
+ optional string name = 1;
91
+ optional bool show = 2;
92
+ repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3;
93
+ }
94
+
95
+ message CCSUsrMsg_Geiger {
96
+ optional int32 range = 1;
97
+ }
98
+
99
+ message CCSUsrMsg_Train {
100
+ optional int32 train = 1;
101
+ }
102
+
103
+ message CCSUsrMsg_HudText {
104
+ optional string text = 1;
105
+ }
106
+
107
+ message CCSUsrMsg_HudMsg {
108
+ optional int32 channel = 1;
109
+ optional .CMsgVector2D pos = 2;
110
+ optional .CMsgRGBA clr1 = 3;
111
+ optional .CMsgRGBA clr2 = 4;
112
+ optional int32 effect = 5;
113
+ optional float fade_in_time = 6;
114
+ optional float fade_out_time = 7;
115
+ optional float hold_time = 9;
116
+ optional float fx_time = 10;
117
+ optional string text = 11;
118
+ }
119
+
120
+ message CCSUsrMsg_Shake {
121
+ optional int32 command = 1;
122
+ optional float local_amplitude = 2;
123
+ optional float frequency = 3;
124
+ optional float duration = 4;
125
+ }
126
+
127
+ message CCSUsrMsg_Fade {
128
+ optional int32 duration = 1;
129
+ optional int32 hold_time = 2;
130
+ optional int32 flags = 3;
131
+ optional .CMsgRGBA clr = 4;
132
+ }
133
+
134
+ message CCSUsrMsg_Rumble {
135
+ optional int32 index = 1;
136
+ optional int32 data = 2;
137
+ optional int32 flags = 3;
138
+ }
139
+
140
+ message CCSUsrMsg_CloseCaption {
141
+ optional uint32 hash = 1;
142
+ optional int32 duration = 2;
143
+ optional bool from_player = 3;
144
+ optional string cctoken = 4;
145
+ }
146
+
147
+ message CCSUsrMsg_CloseCaptionDirect {
148
+ optional uint32 hash = 1;
149
+ optional int32 duration = 2;
150
+ optional bool from_player = 3;
151
+ }
152
+
153
+ message CCSUsrMsg_SendAudio {
154
+ optional string radio_sound = 1;
155
+ }
156
+
157
+ message CCSUsrMsg_RawAudio {
158
+ optional int32 pitch = 1;
159
+ optional int32 entidx = 2 [default = -1];
160
+ optional float duration = 3;
161
+ optional string voice_filename = 4;
162
+ }
163
+
164
+ message CCSUsrMsg_VoiceMask {
165
+ message PlayerMask {
166
+ optional int32 game_rules_mask = 1;
167
+ optional int32 ban_masks = 2;
168
+ }
169
+
170
+ repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1;
171
+ optional bool player_mod_enable = 2;
172
+ }
173
+
174
+ message CCSUsrMsg_Damage {
175
+ optional int32 amount = 1;
176
+ optional .CMsgVector inflictor_world_pos = 2;
177
+ optional int32 victim_entindex = 3 [default = -1];
178
+ }
179
+
180
+ message CCSUsrMsg_RadioText {
181
+ optional int32 msg_dst = 1;
182
+ optional int32 client = 2 [default = -1];
183
+ optional string msg_name = 3;
184
+ repeated string params = 4;
185
+ }
186
+
187
+ message CCSUsrMsg_HintText {
188
+ optional string message = 1;
189
+ }
190
+
191
+ message CCSUsrMsg_KeyHintText {
192
+ repeated string messages = 1;
193
+ }
194
+
195
+ message CCSUsrMsg_ProcessSpottedEntityUpdate {
196
+ message SpottedEntityUpdate {
197
+ optional int32 entity_idx = 1 [default = -1];
198
+ optional int32 class_id = 2;
199
+ optional int32 origin_x = 3;
200
+ optional int32 origin_y = 4;
201
+ optional int32 origin_z = 5;
202
+ optional int32 angle_y = 6;
203
+ optional bool defuser = 7;
204
+ optional bool player_has_defuser = 8;
205
+ optional bool player_has_c4 = 9;
206
+ }
207
+
208
+ optional bool new_update = 1;
209
+ repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2;
210
+ }
211
+
212
+ message CCSUsrMsg_SendPlayerItemDrops {
213
+ repeated .CEconItemPreviewDataBlock entity_updates = 1;
214
+ }
215
+
216
+ message CCSUsrMsg_SendPlayerItemFound {
217
+ optional .CEconItemPreviewDataBlock iteminfo = 1;
218
+ optional int32 playerslot = 2 [default = -1];
219
+ }
220
+
221
+ message CCSUsrMsg_ReloadEffect {
222
+ optional int32 entidx = 1 [default = -1];
223
+ optional int32 actanim = 2;
224
+ optional float origin_x = 3;
225
+ optional float origin_y = 4;
226
+ optional float origin_z = 5;
227
+ }
228
+
229
+ message CCSUsrMsg_WeaponSound {
230
+ optional int32 entidx = 1 [default = -1];
231
+ optional float origin_x = 2;
232
+ optional float origin_y = 3;
233
+ optional float origin_z = 4;
234
+ optional string sound = 5;
235
+ optional float game_timestamp = 6;
236
+ optional fixed32 source_soundscapeid = 7;
237
+ }
238
+
239
+ message CCSUsrMsg_UpdateScreenHealthBar {
240
+ optional int32 entidx = 1 [default = -1];
241
+ optional float healthratio_old = 2;
242
+ optional float healthratio_new = 3;
243
+ optional int32 style = 4;
244
+ }
245
+
246
+ message CCSUsrMsg_EntityOutlineHighlight {
247
+ optional int32 entidx = 1 [default = -1];
248
+ optional bool removehighlight = 2;
249
+ }
250
+
251
+ message CCSUsrMsg_AdjustMoney {
252
+ optional int32 amount = 1;
253
+ }
254
+
255
+ message CCSUsrMsg_ReportHit {
256
+ optional float pos_x = 1;
257
+ optional float pos_y = 2;
258
+ optional float timestamp = 4;
259
+ optional float pos_z = 3;
260
+ }
261
+
262
+ message CCSUsrMsg_KillCam {
263
+ optional int32 obs_mode = 1;
264
+ optional int32 first_target = 2 [default = -1];
265
+ optional int32 second_target = 3 [default = -1];
266
+ }
267
+
268
+ message CCSUsrMsg_DesiredTimescale {
269
+ optional float desired_timescale = 1;
270
+ optional float duration_realtime_sec = 2;
271
+ optional int32 interpolator_type = 3;
272
+ optional float start_blend_time = 4;
273
+ }
274
+
275
+ message CCSUsrMsg_CurrentTimescale {
276
+ optional float cur_timescale = 1;
277
+ }
278
+
279
+ message CCSUsrMsg_AchievementEvent {
280
+ optional int32 achievement = 1;
281
+ optional int32 count = 2;
282
+ optional int32 user_id = 3;
283
+ }
284
+
285
+ message CCSUsrMsg_MatchEndConditions {
286
+ optional int32 fraglimit = 1;
287
+ optional int32 mp_maxrounds = 2;
288
+ optional int32 mp_winlimit = 3;
289
+ optional float mp_timelimit = 4;
290
+ }
291
+
292
+ message CCSUsrMsg_PlayerStatsUpdate {
293
+ message Stat {
294
+ optional int32 idx = 1;
295
+ optional int32 delta = 2;
296
+ }
297
+
298
+ optional int32 version = 1;
299
+ repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4;
300
+ optional uint32 ehandle = 5;
301
+ optional int32 crc = 6;
302
+ }
303
+
304
+ message CCSUsrMsg_QuestProgress {
305
+ optional uint32 quest_id = 1;
306
+ optional uint32 normal_points = 2;
307
+ optional uint32 bonus_points = 3;
308
+ optional bool is_event_quest = 4;
309
+ }
310
+
311
+ message CCSUsrMsg_ScoreLeaderboardData {
312
+ optional .ScoreLeaderboardData data = 1;
313
+ }
314
+
315
+ message CCSUsrMsg_PlayerDecalDigitalSignature {
316
+ optional .PlayerDecalDigitalSignature data = 1;
317
+ }
318
+
319
+ message CCSUsrMsg_XRankGet {
320
+ optional int32 mode_idx = 1;
321
+ optional int32 controller = 2;
322
+ }
323
+
324
+ message CCSUsrMsg_XRankUpd {
325
+ optional int32 mode_idx = 1;
326
+ optional int32 controller = 2;
327
+ optional int32 ranking = 3;
328
+ }
329
+
330
+ message CCSUsrMsg_CallVoteFailed {
331
+ optional int32 reason = 1;
332
+ optional int32 time = 2;
333
+ }
334
+
335
+ message CCSUsrMsg_VoteStart {
336
+ optional int32 team = 1;
337
+ optional int32 player_slot = 2 [default = -1];
338
+ optional int32 vote_type = 3;
339
+ optional string disp_str = 4;
340
+ optional string details_str = 5;
341
+ optional string other_team_str = 6;
342
+ optional bool is_yes_no_vote = 7;
343
+ optional int32 player_slot_target = 8 [default = -1];
344
+ }
345
+
346
+ message CCSUsrMsg_VotePass {
347
+ optional int32 team = 1;
348
+ optional int32 vote_type = 2;
349
+ optional string disp_str = 3;
350
+ optional string details_str = 4;
351
+ }
352
+
353
+ message CCSUsrMsg_VoteFailed {
354
+ optional int32 team = 1;
355
+ optional int32 reason = 2;
356
+ }
357
+
358
+ message CCSUsrMsg_VoteSetup {
359
+ repeated string potential_issues = 1;
360
+ }
361
+
362
+ message CCSUsrMsg_SendLastKillerDamageToClient {
363
+ optional int32 num_hits_given = 1;
364
+ optional int32 damage_given = 2;
365
+ optional int32 num_hits_taken = 3;
366
+ optional int32 damage_taken = 4;
367
+ optional int32 actual_damage_given = 5;
368
+ optional int32 actual_damage_taken = 6;
369
+ }
370
+
371
+ message CCSUsrMsg_ServerRankUpdate {
372
+ message RankUpdate {
373
+ optional int32 account_id = 1;
374
+ optional int32 rank_old = 2;
375
+ optional int32 rank_new = 3;
376
+ optional int32 num_wins = 4;
377
+ optional float rank_change = 5;
378
+ optional int32 rank_type_id = 6;
379
+ }
380
+
381
+ repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1;
382
+ }
383
+
384
+ message CCSUsrMsg_XpUpdate {
385
+ optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1;
386
+ }
387
+
388
+ message CCSUsrMsg_ItemPickup {
389
+ optional string item = 1;
390
+ }
391
+
392
+ message CCSUsrMsg_ShowMenu {
393
+ optional int32 bits_valid_slots = 1;
394
+ optional int32 display_time = 2;
395
+ optional string menu_string = 3;
396
+ }
397
+
398
+ message CCSUsrMsg_BarTime {
399
+ optional string time = 1;
400
+ }
401
+
402
+ message CCSUsrMsg_AmmoDenied {
403
+ optional int32 ammoidx = 1;
404
+ }
405
+
406
+ message CCSUsrMsg_MarkAchievement {
407
+ optional string achievement = 1;
408
+ }
409
+
410
+ message CCSUsrMsg_MatchStatsUpdate {
411
+ optional string update = 1;
412
+ }
413
+
414
+ message CCSUsrMsg_ItemDrop {
415
+ optional int64 itemid = 1;
416
+ optional bool death = 2;
417
+ }
418
+
419
+ message CCSUsrMsg_GlowPropTurnOff {
420
+ optional int32 entidx = 1 [default = -1];
421
+ }
422
+
423
+ message CCSUsrMsg_RoundBackupFilenames {
424
+ optional int32 count = 1;
425
+ optional int32 index = 2;
426
+ optional string filename = 3;
427
+ optional string nicename = 4;
428
+ }
429
+
430
+ message CCSUsrMsg_SSUI {
431
+ optional bool show = 1;
432
+ optional float start_time = 2;
433
+ optional float end_time = 3;
434
+ }
435
+
436
+ message CCSUsrMsg_SurvivalStats {
437
+ message Fact {
438
+ optional int32 type = 1;
439
+ optional int32 display = 2;
440
+ optional int32 value = 3;
441
+ optional float interestingness = 4;
442
+ }
443
+
444
+ message Placement {
445
+ optional uint64 xuid = 1;
446
+ optional int32 teamnumber = 2;
447
+ optional int32 placement = 3;
448
+ }
449
+
450
+ message Damage {
451
+ optional uint64 xuid = 1;
452
+ optional int32 to = 2;
453
+ optional int32 to_hits = 3;
454
+ optional int32 from = 4;
455
+ optional int32 from_hits = 5;
456
+ }
457
+
458
+ optional uint64 xuid = 1;
459
+ repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2;
460
+ repeated .CCSUsrMsg_SurvivalStats.Placement users = 3;
461
+ repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5;
462
+ optional int32 ticknumber = 4;
463
+ }
464
+
465
+ message CCSUsrMsg_EndOfMatchAllPlayersData {
466
+ message Accolade {
467
+ optional int32 eaccolade = 1;
468
+ optional float value = 2;
469
+ optional int32 position = 3;
470
+ }
471
+
472
+ message PlayerData {
473
+ optional int32 slot = 1 [default = -1];
474
+ optional uint64 xuid = 2;
475
+ optional string name = 3;
476
+ optional int32 teamnumber = 4;
477
+ optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5;
478
+ repeated .CEconItemPreviewDataBlock items = 6;
479
+ optional int32 playercolor = 7;
480
+ optional bool isbot = 8;
481
+ }
482
+
483
+ repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1;
484
+ optional int32 scene = 2;
485
+ }
486
+
487
+ message CCSUsrMsg_RoundEndReportData {
488
+ message RerEvent {
489
+ message Victim {
490
+ optional int32 team_number = 1;
491
+ optional int32 playerslot = 2 [default = -1];
492
+ optional uint64 xuid = 3;
493
+ optional int32 color = 4;
494
+ optional bool is_bot = 5;
495
+ optional bool is_dead = 6;
496
+ }
497
+
498
+ message Objective {
499
+ optional int32 type = 1;
500
+ }
501
+
502
+ message Damage {
503
+ optional int32 other_playerslot = 1 [default = -1];
504
+ optional uint64 other_xuid = 2;
505
+ optional int32 health_removed = 3;
506
+ optional int32 num_hits = 4;
507
+ optional int32 return_health_removed = 5;
508
+ optional int32 return_num_hits = 6;
509
+ }
510
+
511
+ optional float timestamp = 1;
512
+ optional int32 terrorist_odds = 2;
513
+ optional int32 ct_alive = 3;
514
+ optional int32 t_alive = 4;
515
+ optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5;
516
+ optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6;
517
+ repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7;
518
+ }
519
+
520
+ message InitialConditions {
521
+ optional int32 ct_equip_value = 1;
522
+ optional int32 t_equip_value = 2;
523
+ optional int32 terrorist_odds = 3;
524
+ }
525
+
526
+ optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1;
527
+ repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2;
528
+ }
529
+
530
+ message CCSUsrMsg_PostRoundDamageReport {
531
+ optional uint64 other_xuid = 1;
532
+ optional int32 given_kill_type = 2;
533
+ optional int32 given_health_removed = 3;
534
+ optional int32 given_num_hits = 4;
535
+ optional int32 taken_kill_type = 5;
536
+ optional int32 taken_health_removed = 6;
537
+ optional int32 taken_num_hits = 7;
538
+ }
539
+
540
+ message CCSUsrMsg_CurrentRoundOdds {
541
+ optional int32 odds = 1;
542
+ }
543
+
544
+ message CCSUsrMsg_DeepStats {
545
+ optional .CMsgGCCStrike15_ClientDeepStats stats = 1;
546
+ }
547
+
548
+ message CCSUsrMsg_ShootInfo {
549
+ optional int32 frame_number = 1;
550
+ repeated .CMsgTransform hitbox_transforms = 2;
551
+ optional .CMsgVector shoot_pos = 3;
552
+ optional .CMsgQAngle shoot_dir = 4;
553
+ }
554
+
555
+ message CCSUsrMsg_ResetHud {
556
+ optional bool reset = 1;
557
+ }
558
+
559
+ message CCSUsrMsg_GameTitle {
560
+ optional int32 dummy = 1;
561
+ }
562
+
563
+ message CCSUsrMsg_RequestState {
564
+ optional int32 dummy = 1;
565
+ }
566
+
567
+ message CCSUsrMsg_StopSpectatorMode {
568
+ optional int32 dummy = 1;
569
+ }
570
+
571
+ message CCSUsrMsg_DisconnectToLobby {
572
+ optional int32 dummy = 1;
573
+ }
574
+
575
+ message CCSUsrMsg_WarmupHasEnded {
576
+ optional int32 dummy = 1;
577
+ }
578
+
579
+ message CCSUsrMsg_ClientInfo {
580
+ optional int32 dummy = 1;
581
+ }
582
+
583
+ message CCSUsrMsg_ServerRankRevealAll {
584
+ optional int32 seconds_till_shutdown = 1;
585
+ optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2;
586
+ }
587
+
588
+ message CCSUsrMsgPreMatchSayText {
589
+ optional uint32 account_id = 1;
590
+ optional string text = 2;
591
+ optional bool all_chat = 3;
592
+ }