steamutils 1.4.76 → 1.4.77

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) hide show
  1. package/.idea/codeStyles/Project.xml +1 -0
  2. package/.idea/deployment.xml +14 -0
  3. package/.prettierrc.json +3 -3
  4. package/SteamClient.js +23 -43
  5. package/_steamproto.js +33 -33
  6. package/axios.js +84 -84
  7. package/bufferHelpers.js +115 -115
  8. package/cheerio.js +103 -103
  9. package/const.js +458 -458
  10. package/create_proto.js +96 -96
  11. package/create_remote_file.js +74 -74
  12. package/full_steamproto.js +33 -33
  13. package/helpers/protos.js +48 -48
  14. package/index.js +7781 -7781
  15. package/package.json +1 -1
  16. package/protos/csgo/base_gcmessages.proto +553 -553
  17. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  18. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  19. package/protos/csgo/clientmessages.proto +48 -48
  20. package/protos/csgo/connectionless_netmessages.proto +17 -17
  21. package/protos/csgo/cs_gameevents.proto +35 -35
  22. package/protos/csgo/cs_usercmd.proto +34 -34
  23. package/protos/csgo/cstrike15_gcmessages.proto +1431 -1431
  24. package/protos/csgo/cstrike15_usermessages.proto +592 -592
  25. package/protos/csgo/demo.proto +165 -165
  26. package/protos/csgo/econ_gcmessages.proto +219 -219
  27. package/protos/csgo/enums_clientserver.proto +1529 -1529
  28. package/protos/csgo/fatdemo.proto +125 -125
  29. package/protos/csgo/gameevents.proto +120 -120
  30. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  31. package/protos/csgo/gcsystemmsgs.proto +243 -243
  32. package/protos/csgo/netmessages.proto +618 -618
  33. package/protos/csgo/networkbasetypes.proto +246 -246
  34. package/protos/csgo/networksystem_protomessages.proto +17 -17
  35. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  36. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  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/steamnetworkingsockets_messages.proto +205 -205
  44. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  45. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  46. package/protos/csgo/te.proto +259 -259
  47. package/protos/csgo/uifontfile_format.proto +13 -13
  48. package/protos/csgo/usercmd.proto +39 -39
  49. package/protos/csgo/usermessages.proto +752 -752
  50. package/protos/google/protobuf/descriptor.proto +281 -281
  51. package/protos/steam/clientmetrics.proto +45 -45
  52. package/protos/steam/content_manifest.proto +62 -62
  53. package/protos/steam/contenthubs.proto +41 -41
  54. package/protos/steam/encrypted_app_ticket.proto +10 -10
  55. package/protos/steam/enums.proto +501 -501
  56. package/protos/steam/enums_clientserver.proto +1508 -1508
  57. package/protos/steam/enums_productinfo.proto +14 -14
  58. package/protos/steam/htmlmessages.proto +1039 -1039
  59. package/protos/steam/offline_ticket.proto +8 -8
  60. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  61. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  62. package/protos/steam/steammessages_accounthardware.steamclient.proto +167 -167
  63. package/protos/steam/steammessages_appoverview.proto +204 -204
  64. package/protos/steam/steammessages_auth.steamclient.proto +375 -375
  65. package/protos/steam/steammessages_broadcast.steamclient.proto +618 -618
  66. package/protos/steam/steammessages_chat.steamclient.proto +1070 -1070
  67. package/protos/steam/steammessages_client_objects.proto +649 -649
  68. package/protos/steam/steammessages_clientlanp2p.proto +43 -43
  69. package/protos/steam/steammessages_clientmetrics.steamclient.proto +192 -192
  70. package/protos/steam/steammessages_clientnotificationtypes.proto +250 -250
  71. package/protos/steam/steammessages_clientserver.proto +392 -392
  72. package/protos/steam/steammessages_clientserver_2.proto +771 -771
  73. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  74. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  75. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  76. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  77. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  78. package/protos/steam/steammessages_clientserver_mms.proto +233 -233
  79. package/protos/steam/steammessages_clientserver_ucm.proto +207 -207
  80. package/protos/steam/steammessages_clientserver_uds.proto +125 -125
  81. package/protos/steam/steammessages_clientserver_ufs.proto +45 -45
  82. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  83. package/protos/steam/steammessages_cloud.steamclient.proto +422 -422
  84. package/protos/steam/steammessages_contentsystem.steamclient.proto +123 -123
  85. package/protos/steam/steammessages_credentials.steamclient.proto +96 -96
  86. package/protos/steam/steammessages_datapublisher.steamclient.proto +102 -102
  87. package/protos/steam/steammessages_depotbuilder.steamclient.proto +99 -99
  88. package/protos/steam/steammessages_deviceauth.steamclient.proto +169 -169
  89. package/protos/steam/steammessages_econ.steamclient.proto +137 -137
  90. package/protos/steam/steammessages_familygroups.steamclient.proto +441 -441
  91. package/protos/steam/steammessages_friendmessages.steamclient.proto +141 -141
  92. package/protos/steam/steammessages_gamenetworking.steamclient.proto +25 -25
  93. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  94. package/protos/steam/steammessages_gamenotifications.steamclient.proto +131 -131
  95. package/protos/steam/steammessages_gameservers.steamclient.proto +136 -136
  96. package/protos/steam/steammessages_hiddevices.proto +157 -157
  97. package/protos/steam/steammessages_inventory.steamclient.proto +172 -172
  98. package/protos/steam/steammessages_linkfilter.steamclient.proto +39 -39
  99. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +29 -29
  100. package/protos/steam/steammessages_market.steamclient.proto +22 -22
  101. package/protos/steam/steammessages_marketingmessages.steamclient.proto +273 -273
  102. package/protos/steam/steammessages_offline.steamclient.proto +33 -33
  103. package/protos/steam/steammessages_parental.steamclient.proto +262 -262
  104. package/protos/steam/steammessages_parties.steamclient.proto +75 -75
  105. package/protos/steam/steammessages_partnerapps.steamclient.proto +106 -106
  106. package/protos/steam/steammessages_player.steamclient.proto +915 -915
  107. package/protos/steam/steammessages_publishedfile.steamclient.proto +737 -737
  108. package/protos/steam/steammessages_qms.steamclient.proto +111 -111
  109. package/protos/steam/steammessages_remoteclient.proto +100 -100
  110. package/protos/steam/steammessages_remoteclient_discovery.proto +244 -244
  111. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +31 -31
  112. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  113. package/protos/steam/steammessages_remoteplay.proto +975 -975
  114. package/protos/steam/steammessages_secrets.steamclient.proto +35 -35
  115. package/protos/steam/steammessages_shader.steamclient.proto +89 -89
  116. package/protos/steam/steammessages_site_license.steamclient.proto +103 -103
  117. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  118. package/protos/steam/steammessages_siteserverui.proto +130 -130
  119. package/protos/steam/steammessages_steamtv.steamclient.proto +533 -533
  120. package/protos/steam/steammessages_store.steamclient.proto +404 -404
  121. package/protos/steam/steammessages_storebrowse.steamclient.proto +457 -457
  122. package/protos/steam/steammessages_timedtrial.steamclient.proto +40 -40
  123. package/protos/steam/steammessages_twofactor.steamclient.proto +157 -157
  124. package/protos/steam/steammessages_unified_test.steamclient.proto +51 -51
  125. package/protos/steam/steammessages_useraccount.steamclient.proto +211 -211
  126. package/protos/steam/steammessages_vac.steamclient.proto +37 -37
  127. package/protos/steam/steammessages_video.steamclient.proto +68 -68
  128. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  129. package/protos/steam/steammessages_workshop.steamclient.proto +19 -19
  130. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  131. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  132. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  133. package/protos/steam/webuimessages_achievements.proto +29 -29
  134. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  135. package/protos/steam/webuimessages_gamescope.proto +57 -57
  136. package/protos/steam/webuimessages_steamengine.proto +41 -41
  137. package/protos/steam/webuimessages_steamos.proto +114 -114
  138. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  139. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  140. package/protos/steam/webuimessages_transport.proto +22 -22
  141. package/protos/steam/webuimessages_transportvalidation.proto +111 -111
  142. package/protos/webui/common.proto +4024 -4024
  143. package/protos/webui/service_accountcart.proto +153 -153
  144. package/protos/webui/service_accountlinking.proto +27 -27
  145. package/protos/webui/service_accountprivacy.proto +42 -42
  146. package/protos/webui/service_accountprivateapps.proto +34 -34
  147. package/protos/webui/service_auction.proto +97 -97
  148. package/protos/webui/service_authentication.proto +222 -222
  149. package/protos/webui/service_authenticationsupport.proto +74 -74
  150. package/protos/webui/service_broadcast.proto +562 -562
  151. package/protos/webui/service_chat.proto +11 -11
  152. package/protos/webui/service_chatroom.proto +810 -810
  153. package/protos/webui/service_chatusability.proto +107 -107
  154. package/protos/webui/service_checkout.proto +84 -84
  155. package/protos/webui/service_clan.proto +41 -41
  156. package/protos/webui/service_clanchatrooms.proto +25 -25
  157. package/protos/webui/service_clanfaqs.proto +202 -202
  158. package/protos/webui/service_clientcomm.proto +151 -151
  159. package/protos/webui/service_clientmetrics.proto +22 -22
  160. package/protos/webui/service_cloud.proto +222 -222
  161. package/protos/webui/service_cloudconfigstore.proto +51 -51
  162. package/protos/webui/service_cloudgaming.proto +30 -30
  163. package/protos/webui/service_community.proto +365 -365
  164. package/protos/webui/service_dailydeal.proto +89 -89
  165. package/protos/webui/service_econ.proto +134 -134
  166. package/protos/webui/service_embedded.proto +24 -24
  167. package/protos/webui/service_experimentservice.proto +6 -6
  168. package/protos/webui/service_familygroups.proto +355 -355
  169. package/protos/webui/service_fovasvideo.proto +15 -15
  170. package/protos/webui/service_friendmessages.proto +133 -133
  171. package/protos/webui/service_friendslist.proto +70 -70
  172. package/protos/webui/service_gamenotes.proto +15 -15
  173. package/protos/webui/service_gamerecording.proto +265 -265
  174. package/protos/webui/service_gamerecordingclip.proto +85 -85
  175. package/protos/webui/service_gamerecordingdebug.proto +52 -52
  176. package/protos/webui/service_helprequestlogs.proto +16 -16
  177. package/protos/webui/service_loyaltyrewards.proto +252 -252
  178. package/protos/webui/service_marketingmessages.proto +215 -215
  179. package/protos/webui/service_mobileapp.proto +18 -18
  180. package/protos/webui/service_mobileauth.proto +24 -24
  181. package/protos/webui/service_mobiledevice.proto +26 -26
  182. package/protos/webui/service_mobileperaccount.proto +31 -31
  183. package/protos/webui/service_news.proto +110 -110
  184. package/protos/webui/service_parental.proto +258 -258
  185. package/protos/webui/service_partnermembershipinvite.proto +34 -34
  186. package/protos/webui/service_partnerstorebrowse.proto +28 -28
  187. package/protos/webui/service_phone.proto +51 -51
  188. package/protos/webui/service_physicalgoods.proto +15 -15
  189. package/protos/webui/service_player.proto +918 -918
  190. package/protos/webui/service_promotioneventinvites.proto +109 -109
  191. package/protos/webui/service_promotionplanning.proto +186 -186
  192. package/protos/webui/service_promotionstats.proto +23 -23
  193. package/protos/webui/service_publishedfile.proto +714 -714
  194. package/protos/webui/service_publishing.proto +200 -200
  195. package/protos/webui/service_quest.proto +127 -127
  196. package/protos/webui/service_salefeature.proto +373 -373
  197. package/protos/webui/service_saleitemrewards.proto +54 -54
  198. package/protos/webui/service_shoppingcart.proto +152 -152
  199. package/protos/webui/service_steamawards.proto +76 -76
  200. package/protos/webui/service_steamcharts.proto +75 -75
  201. package/protos/webui/service_steamengine.proto +36 -36
  202. package/protos/webui/service_steamlearn.proto +876 -876
  203. package/protos/webui/service_steamnotification.proto +73 -73
  204. package/protos/webui/service_steamtv.proto +495 -495
  205. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  206. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  207. package/protos/webui/service_storagedevicemanager.proto +104 -104
  208. package/protos/webui/service_store.proto +359 -359
  209. package/protos/webui/service_storeappsimilarity.proto +76 -76
  210. package/protos/webui/service_storebrowse.proto +103 -103
  211. package/protos/webui/service_storemarketing.proto +44 -44
  212. package/protos/webui/service_storequery.proto +103 -103
  213. package/protos/webui/service_storesales.proto +87 -87
  214. package/protos/webui/service_storetopsellers.proto +44 -44
  215. package/protos/webui/service_systemmanager.proto +11 -11
  216. package/protos/webui/service_test_transporterror.proto +6 -6
  217. package/protos/webui/service_transportauth.proto +17 -17
  218. package/protos/webui/service_transportvalidation.proto +69 -69
  219. package/protos/webui/service_twofactor.proto +170 -170
  220. package/protos/webui/service_useraccount.proto +142 -142
  221. package/protos/webui/service_usergameactivity.proto +34 -34
  222. package/protos/webui/service_usergamenotes.proto +70 -70
  223. package/protos/webui/service_usernews.proto +68 -68
  224. package/protos/webui/service_userreviews.proto +97 -97
  225. package/protos/webui/service_video.proto +50 -50
  226. package/protos/webui/service_videoclip.proto +62 -62
  227. package/protos/webui/service_voicechat.proto +139 -139
  228. package/protos/webui/service_webrtc.proto +52 -52
  229. package/remote.js +8378 -8378
  230. package/steamproto.js +1 -1
  231. package/utils.js +986 -986
  232. package/.idea/gbrowser_project.xml +0 -11
  233. package/.idea/git_toolbox_blame.xml +0 -6
  234. package/.idea/git_toolbox_prj.xml +0 -15
@@ -1,618 +1,618 @@
1
- import "networkbasetypes.proto";
2
-
3
- enum CLC_Messages {
4
- clc_ClientInfo = 20;
5
- clc_Move = 21;
6
- clc_VoiceData = 22;
7
- clc_BaselineAck = 23;
8
- clc_ListenEvents = 24;
9
- clc_RespondCvarValue = 25;
10
- clc_FileCRCCheck = 26;
11
- clc_LoadingProgress = 27;
12
- clc_SplitPlayerConnect = 28;
13
- clc_ClientMessage = 29;
14
- clc_SplitPlayerDisconnect = 30;
15
- clc_ServerStatus = 31;
16
- clc_ServerPing = 32;
17
- clc_RequestPause = 33;
18
- clc_CmdKeyValues = 34;
19
- clc_RconServerDetails = 35;
20
- clc_HltvReplay = 36;
21
- }
22
-
23
- enum SVC_Messages {
24
- svc_ServerInfo = 40;
25
- svc_FlattenedSerializer = 41;
26
- svc_ClassInfo = 42;
27
- svc_SetPause = 43;
28
- svc_CreateStringTable = 44;
29
- svc_UpdateStringTable = 45;
30
- svc_VoiceInit = 46;
31
- svc_VoiceData = 47;
32
- svc_Print = 48;
33
- svc_Sounds = 49;
34
- svc_SetView = 50;
35
- svc_ClearAllStringTables = 51;
36
- svc_CmdKeyValues = 52;
37
- svc_BSPDecal = 53;
38
- svc_SplitScreen = 54;
39
- svc_PacketEntities = 55;
40
- svc_Prefetch = 56;
41
- svc_Menu = 57;
42
- svc_GetCvarValue = 58;
43
- svc_StopSound = 59;
44
- svc_PeerList = 60;
45
- svc_PacketReliable = 61;
46
- svc_HLTVStatus = 62;
47
- svc_ServerSteamID = 63;
48
- svc_FullFrameSplit = 70;
49
- svc_RconServerDetails = 71;
50
- svc_UserMessage = 72;
51
- svc_HltvReplay = 73;
52
- svc_Broadcast_Command = 74;
53
- svc_HltvFixupOperatorStatus = 75;
54
- }
55
-
56
- enum VoiceDataFormat_t {
57
- VOICEDATA_FORMAT_STEAM = 0;
58
- VOICEDATA_FORMAT_ENGINE = 1;
59
- VOICEDATA_FORMAT_OPUS = 2;
60
- }
61
-
62
- enum RequestPause_t {
63
- RP_PAUSE = 0;
64
- RP_UNPAUSE = 1;
65
- RP_TOGGLEPAUSE = 2;
66
- }
67
-
68
- enum PrefetchType {
69
- PFT_SOUND = 0;
70
- }
71
-
72
- enum ESplitScreenMessageType {
73
- MSG_SPLITSCREEN_ADDUSER = 0;
74
- MSG_SPLITSCREEN_REMOVEUSER = 1;
75
- }
76
-
77
- enum EQueryCvarValueStatus {
78
- eQueryCvarValueStatus_ValueIntact = 0;
79
- eQueryCvarValueStatus_CvarNotFound = 1;
80
- eQueryCvarValueStatus_NotACvar = 2;
81
- eQueryCvarValueStatus_CvarProtected = 3;
82
- }
83
-
84
- enum DIALOG_TYPE {
85
- DIALOG_MSG = 0;
86
- DIALOG_MENU = 1;
87
- DIALOG_TEXT = 2;
88
- DIALOG_ENTRY = 3;
89
- DIALOG_ASKCONNECT = 4;
90
- }
91
-
92
- enum SVC_Messages_LowFrequency {
93
- svc_dummy = 600;
94
- }
95
-
96
- enum Bidirectional_Messages {
97
- bi_RebroadcastGameEvent = 16;
98
- bi_RebroadcastSource = 17;
99
- bi_GameEvent = 18;
100
- }
101
-
102
- enum Bidirectional_Messages_LowFrequency {
103
- bi_RelayInfo = 700;
104
- bi_RelayPacket = 701;
105
- }
106
-
107
- enum ReplayEventType_t {
108
- REPLAY_EVENT_CANCEL = 0;
109
- REPLAY_EVENT_DEATH = 1;
110
- REPLAY_EVENT_GENERIC = 2;
111
- REPLAY_EVENT_STUCK_NEED_FULL_UPDATE = 3;
112
- REPLAY_EVENT_VICTORY = 4;
113
- }
114
-
115
- message CCLCMsg_ClientInfo {
116
- optional fixed32 send_table_crc = 1;
117
- optional uint32 server_count = 2;
118
- optional bool is_hltv = 3;
119
- optional uint32 friends_id = 5;
120
- optional string friends_name = 6;
121
- }
122
-
123
- message CCLCMsg_Move {
124
- optional bytes data = 3;
125
- optional uint32 command_number = 4;
126
- optional uint32 num_commands = 5;
127
- }
128
-
129
- message CMsgVoiceAudio {
130
- optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM];
131
- optional bytes voice_data = 2;
132
- optional int32 sequence_bytes = 3;
133
- optional uint32 section_number = 4;
134
- optional uint32 sample_rate = 5;
135
- optional uint32 uncompressed_sample_offset = 6;
136
- optional uint32 num_packets = 7;
137
- repeated uint32 packet_offsets = 8 [packed = true];
138
- optional float voice_level = 9;
139
- }
140
-
141
- message CCLCMsg_VoiceData {
142
- optional .CMsgVoiceAudio audio = 1;
143
- optional fixed64 xuid = 2;
144
- optional uint32 tick = 3;
145
- }
146
-
147
- message CCLCMsg_BaselineAck {
148
- optional int32 baseline_tick = 1;
149
- optional int32 baseline_nr = 2;
150
- }
151
-
152
- message CCLCMsg_ListenEvents {
153
- repeated fixed32 event_mask = 1;
154
- }
155
-
156
- message CCLCMsg_RespondCvarValue {
157
- optional int32 cookie = 1;
158
- optional int32 status_code = 2;
159
- optional string name = 3;
160
- optional string value = 4;
161
- }
162
-
163
- message CCLCMsg_FileCRCCheck {
164
- optional int32 code_path = 1;
165
- optional string path = 2;
166
- optional int32 code_filename = 3;
167
- optional string filename = 4;
168
- optional fixed32 crc = 5;
169
- }
170
-
171
- message CCLCMsg_LoadingProgress {
172
- optional int32 progress = 1;
173
- }
174
-
175
- message CCLCMsg_SplitPlayerConnect {
176
- optional string playername = 1;
177
- }
178
-
179
- message CCLCMsg_ClientMessage {
180
- optional int32 msg_type = 1;
181
- optional bytes data = 2;
182
- }
183
-
184
- message CCLCMsg_SplitPlayerDisconnect {
185
- optional int32 slot = 1;
186
- }
187
-
188
- message CCLCMsg_ServerStatus {
189
- optional bool simplified = 1;
190
- }
191
-
192
- message CCLCMsg_RequestPause {
193
- optional .RequestPause_t pause_type = 1 [default = RP_PAUSE];
194
- optional int32 pause_group = 2;
195
- }
196
-
197
- message CCLCMsg_CmdKeyValues {
198
- optional bytes data = 1;
199
- }
200
-
201
- message CCLCMsg_RconServerDetails {
202
- optional bytes token = 1;
203
- }
204
-
205
- message CSVCMsg_ServerInfo {
206
- optional int32 protocol = 1;
207
- optional int32 server_count = 2;
208
- optional bool is_dedicated = 3;
209
- optional bool is_hltv = 4;
210
- optional int32 c_os = 6;
211
- optional int32 max_clients = 10;
212
- optional int32 max_classes = 11;
213
- optional int32 player_slot = 12 [default = -1];
214
- optional float tick_interval = 13;
215
- optional string game_dir = 14;
216
- optional string map_name = 15;
217
- optional string sky_name = 16;
218
- optional string host_name = 17;
219
- optional string addon_name = 18;
220
- optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
221
- optional bytes game_session_manifest = 20;
222
- }
223
-
224
- message CSVCMsg_ClassInfo {
225
- message class_t {
226
- optional int32 class_id = 1;
227
- optional string class_name = 3;
228
- }
229
-
230
- optional bool create_on_client = 1;
231
- repeated .CSVCMsg_ClassInfo.class_t classes = 2;
232
- }
233
-
234
- message CSVCMsg_SetPause {
235
- optional bool paused = 1;
236
- }
237
-
238
- message CSVCMsg_VoiceInit {
239
- optional int32 quality = 1;
240
- optional string codec = 2;
241
- optional int32 version = 3 [default = 0];
242
- }
243
-
244
- message CSVCMsg_Print {
245
- optional string text = 1;
246
- }
247
-
248
- message CSVCMsg_Sounds {
249
- message sounddata_t {
250
- optional sint32 origin_x = 1;
251
- optional sint32 origin_y = 2;
252
- optional sint32 origin_z = 3;
253
- optional uint32 volume = 4;
254
- optional float delay_value = 5;
255
- optional int32 sequence_number = 6;
256
- optional int32 entity_index = 7 [default = -1];
257
- optional int32 channel = 8;
258
- optional int32 pitch = 9;
259
- optional int32 flags = 10;
260
- optional uint32 sound_num = 11;
261
- optional fixed32 sound_num_handle = 12;
262
- optional int32 speaker_entity = 13;
263
- optional int32 random_seed = 14;
264
- optional int32 sound_level = 15;
265
- optional bool is_sentence = 16;
266
- optional bool is_ambient = 17;
267
- optional uint32 guid = 18;
268
- optional fixed64 sound_resource_id = 19;
269
- }
270
-
271
- optional bool reliable_sound = 1;
272
- repeated .CSVCMsg_Sounds.sounddata_t sounds = 2;
273
- }
274
-
275
- message CSVCMsg_Prefetch {
276
- optional int32 sound_index = 1;
277
- optional .PrefetchType resource_type = 2 [default = PFT_SOUND];
278
- }
279
-
280
- message CSVCMsg_SetView {
281
- optional int32 entity_index = 1 [default = -1];
282
- optional int32 slot = 2 [default = -1];
283
- }
284
-
285
- message CSVCMsg_FixAngle {
286
- optional bool relative = 1;
287
- optional .CMsgQAngle angle = 2;
288
- }
289
-
290
- message CSVCMsg_CrosshairAngle {
291
- optional .CMsgQAngle angle = 1;
292
- }
293
-
294
- message CSVCMsg_BSPDecal {
295
- optional .CMsgVector pos = 1;
296
- optional int32 decal_texture_index = 2;
297
- optional int32 entity_index = 3 [default = -1];
298
- optional int32 model_index = 4;
299
- optional bool low_priority = 5;
300
- }
301
-
302
- message CSVCMsg_SplitScreen {
303
- optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER];
304
- optional int32 slot = 2;
305
- optional int32 player_index = 3 [default = -1];
306
- }
307
-
308
- message CSVCMsg_GetCvarValue {
309
- optional int32 cookie = 1;
310
- optional string cvar_name = 2;
311
- }
312
-
313
- message CSVCMsg_Menu {
314
- optional int32 dialog_type = 1;
315
- optional bytes menu_key_values = 2;
316
- }
317
-
318
- message CSVCMsg_UserMessage {
319
- optional int32 msg_type = 1;
320
- optional bytes msg_data = 2;
321
- optional int32 passthrough = 3;
322
- }
323
-
324
- message CSVCMsg_SendTable {
325
- message sendprop_t {
326
- optional int32 type = 1;
327
- optional string var_name = 2;
328
- optional int32 flags = 3;
329
- optional int32 priority = 4;
330
- optional string dt_name = 5;
331
- optional int32 num_elements = 6;
332
- optional float low_value = 7;
333
- optional float high_value = 8;
334
- optional int32 num_bits = 9;
335
- }
336
-
337
- optional bool is_end = 1;
338
- optional string net_table_name = 2;
339
- optional bool needs_decoder = 3;
340
- repeated .CSVCMsg_SendTable.sendprop_t props = 4;
341
- }
342
-
343
- message CSVCMsg_GameEventList {
344
- message key_t {
345
- optional int32 type = 1;
346
- optional string name = 2;
347
- }
348
-
349
- message descriptor_t {
350
- optional int32 eventid = 1;
351
- optional string name = 2;
352
- repeated .CSVCMsg_GameEventList.key_t keys = 3;
353
- }
354
-
355
- repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1;
356
- }
357
-
358
- message CSVCMsg_PacketEntities {
359
- message command_queue_info_t {
360
- optional uint32 commands_queued = 1;
361
- optional uint32 command_queue_desired_size = 2;
362
- optional uint32 starved_command_ticks = 3;
363
- optional float time_dilation_percent = 4;
364
- optional uint32 discarded_command_ticks = 5;
365
- }
366
-
367
- message alternate_baseline_t {
368
- optional int32 entity_index = 1;
369
- optional int32 baseline_index = 2;
370
- }
371
-
372
- message non_transmitted_entities_t {
373
- optional int32 header_count = 1;
374
- optional bytes data = 2;
375
- }
376
-
377
- optional int32 max_entries = 1;
378
- optional int32 updated_entries = 2;
379
- optional bool legacy_is_delta = 3;
380
- optional bool update_baseline = 4;
381
- optional int32 baseline = 5;
382
- optional int32 delta_from = 6;
383
- optional bytes entity_data = 7;
384
- optional bool pending_full_frame = 8;
385
- optional uint32 active_spawngroup_handle = 9;
386
- optional uint32 max_spawngroup_creationsequence = 10;
387
- optional uint32 last_cmd_number_executed = 11;
388
- optional sint32 last_cmd_number_recv_delta = 17;
389
- optional uint32 server_tick = 12;
390
- optional bytes serialized_entities = 13;
391
- optional .CSVCMsg_PacketEntities.command_queue_info_t command_queue_info = 14;
392
- repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15;
393
- optional uint32 has_pvs_vis_bits = 16;
394
- optional uint32 last_cmd_recv_margin = 18;
395
- optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19;
396
- optional bytes dev_padding = 999;
397
- }
398
-
399
- message CSVCMsg_TempEntities {
400
- optional bool reliable = 1;
401
- optional int32 num_entries = 2;
402
- optional bytes entity_data = 3;
403
- }
404
-
405
- message CSVCMsg_CreateStringTable {
406
- optional string name = 1;
407
- optional int32 num_entries = 2;
408
- optional bool user_data_fixed_size = 3;
409
- optional int32 user_data_size = 4;
410
- optional int32 user_data_size_bits = 5;
411
- optional int32 flags = 6;
412
- optional bytes string_data = 7;
413
- optional int32 uncompressed_size = 8;
414
- optional bool data_compressed = 9;
415
- optional bool using_varint_bitcounts = 10;
416
- }
417
-
418
- message CSVCMsg_UpdateStringTable {
419
- optional int32 table_id = 1;
420
- optional int32 num_changed_entries = 2;
421
- optional bytes string_data = 3;
422
- }
423
-
424
- message CSVCMsg_VoiceData {
425
- optional .CMsgVoiceAudio audio = 1;
426
- optional int32 client = 2 [default = -1];
427
- optional bool proximity = 3;
428
- optional fixed64 xuid = 4;
429
- optional int32 audible_mask = 5;
430
- optional uint32 tick = 6;
431
- optional int32 passthrough = 7;
432
- }
433
-
434
- message CSVCMsg_PacketReliable {
435
- optional int32 tick = 1;
436
- optional int32 messagessize = 2;
437
- optional bool state = 3;
438
- }
439
-
440
- message CSVCMsg_FullFrameSplit {
441
- optional int32 tick = 1;
442
- optional int32 section = 2;
443
- optional int32 total = 3;
444
- optional bytes data = 4;
445
- }
446
-
447
- message CSVCMsg_HLTVStatus {
448
- optional string master = 1;
449
- optional int32 clients = 2;
450
- optional int32 slots = 3;
451
- optional int32 proxies = 4;
452
- }
453
-
454
- message CSVCMsg_ServerSteamID {
455
- optional uint64 steam_id = 1;
456
- }
457
-
458
- message CSVCMsg_CmdKeyValues {
459
- optional bytes data = 1;
460
- }
461
-
462
- message CSVCMsg_RconServerDetails {
463
- optional bytes token = 1;
464
- optional string details = 2;
465
- }
466
-
467
- message CMsgIPCAddress {
468
- optional fixed64 computer_guid = 1;
469
- optional uint32 process_id = 2;
470
- }
471
-
472
- message CMsgServerPeer {
473
- optional int32 player_slot = 1 [default = -1];
474
- optional fixed64 steamid = 2;
475
- optional .CMsgIPCAddress ipc = 3;
476
- optional bool they_hear_you = 4;
477
- optional bool you_hear_them = 5;
478
- optional bool is_listenserver_host = 6;
479
- }
480
-
481
- message CSVCMsg_PeerList {
482
- repeated .CMsgServerPeer peer = 1;
483
- }
484
-
485
- message CSVCMsg_ClearAllStringTables {
486
- optional string mapname = 1;
487
- optional bool create_tables_skipped = 3;
488
- }
489
-
490
- message ProtoFlattenedSerializerField_t {
491
- message polymorphic_field_t {
492
- optional int32 polymorphic_field_serializer_name_sym = 1;
493
- optional int32 polymorphic_field_serializer_version = 2;
494
- }
495
-
496
- optional int32 var_type_sym = 1;
497
- optional int32 var_name_sym = 2;
498
- optional int32 bit_count = 3;
499
- optional float low_value = 4;
500
- optional float high_value = 5;
501
- optional int32 encode_flags = 6;
502
- optional int32 field_serializer_name_sym = 7;
503
- optional int32 field_serializer_version = 8;
504
- optional int32 send_node_sym = 9;
505
- optional int32 var_encoder_sym = 10;
506
- repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11;
507
- optional int32 var_serializer_sym = 12;
508
- }
509
-
510
- message ProtoFlattenedSerializer_t {
511
- optional int32 serializer_name_sym = 1;
512
- optional int32 serializer_version = 2;
513
- repeated int32 fields_index = 3;
514
- }
515
-
516
- message CSVCMsg_FlattenedSerializer {
517
- repeated .ProtoFlattenedSerializer_t serializers = 1;
518
- repeated string symbols = 2;
519
- repeated .ProtoFlattenedSerializerField_t fields = 3;
520
- }
521
-
522
- message CSVCMsg_StopSound {
523
- optional fixed32 guid = 1;
524
- }
525
-
526
- message CBidirMsg_RebroadcastGameEvent {
527
- optional bool posttoserver = 1;
528
- optional int32 buftype = 2;
529
- optional uint32 clientbitcount = 3;
530
- optional uint64 receivingclients = 4;
531
- }
532
-
533
- message CBidirMsg_RebroadcastSource {
534
- optional int32 eventsource = 1;
535
- }
536
-
537
- message CMsgServerNetworkStats {
538
- message Port {
539
- optional int32 port = 1;
540
- optional string name = 2;
541
- }
542
-
543
- message Player {
544
- optional uint64 steamid = 1;
545
- optional string remote_addr = 2;
546
- optional int32 ping_avg_ms = 4;
547
- optional float packet_loss_pct = 5;
548
- optional bool is_bot = 6;
549
- optional float loss_in = 7;
550
- optional float loss_out = 8;
551
- optional int32 engine_latency_ms = 9;
552
- }
553
-
554
- optional bool dedicated = 1;
555
- optional int32 cpu_usage = 2;
556
- optional int32 memory_used_mb = 3;
557
- optional int32 memory_free_mb = 4;
558
- optional int32 uptime = 5;
559
- optional int32 spawn_count = 6;
560
- optional int32 num_clients = 8;
561
- optional int32 num_bots = 9;
562
- optional int32 num_spectators = 10;
563
- optional int32 num_tv_relays = 11;
564
- optional float fps = 12;
565
- repeated .CMsgServerNetworkStats.Port ports = 17;
566
- optional float avg_ping_ms = 18;
567
- optional float avg_engine_latency_out = 19;
568
- optional float avg_packets_out = 20;
569
- optional float avg_packets_in = 21;
570
- optional float avg_loss_out = 22;
571
- optional float avg_loss_in = 23;
572
- optional float avg_data_out = 24;
573
- optional float avg_data_in = 25;
574
- optional uint64 total_data_in = 26;
575
- optional uint64 total_packets_in = 27;
576
- optional uint64 total_data_out = 28;
577
- optional uint64 total_packets_out = 29;
578
- repeated .CMsgServerNetworkStats.Player players = 30;
579
- }
580
-
581
- message CSVCMsg_HltvReplay {
582
- optional int32 delay = 1;
583
- optional int32 primary_target = 2 [default = -1];
584
- optional int32 replay_stop_at = 3;
585
- optional int32 replay_start_at = 4;
586
- optional int32 replay_slowdown_begin = 5;
587
- optional int32 replay_slowdown_end = 6;
588
- optional float replay_slowdown_rate = 7;
589
- optional int32 reason = 8;
590
- }
591
-
592
- message CCLCMsg_HltvReplay {
593
- optional int32 request = 1;
594
- optional float slowdown_length = 2;
595
- optional float slowdown_rate = 3;
596
- optional int32 primary_target = 4 [default = -1];
597
- optional float event_time = 5;
598
- }
599
-
600
- message CSVCMsg_Broadcast_Command {
601
- optional string cmd = 1;
602
- }
603
-
604
- message CCLCMsg_HltvFixupOperatorTick {
605
- optional int32 tick = 1;
606
- optional bytes props_data = 2;
607
- optional .CMsgVector origin = 3;
608
- optional .CMsgQAngle eye_angles = 4;
609
- optional int32 observer_mode = 5;
610
- optional bool cameraman_scoreboard = 6;
611
- optional int32 observer_target = 7;
612
- optional .CMsgVector view_offset = 8;
613
- }
614
-
615
- message CSVCMsg_HltvFixupOperatorStatus {
616
- optional uint32 mode = 1;
617
- optional string override_operator_name = 2;
618
- }
1
+ import "networkbasetypes.proto";
2
+
3
+ enum CLC_Messages {
4
+ clc_ClientInfo = 20;
5
+ clc_Move = 21;
6
+ clc_VoiceData = 22;
7
+ clc_BaselineAck = 23;
8
+ clc_ListenEvents = 24;
9
+ clc_RespondCvarValue = 25;
10
+ clc_FileCRCCheck = 26;
11
+ clc_LoadingProgress = 27;
12
+ clc_SplitPlayerConnect = 28;
13
+ clc_ClientMessage = 29;
14
+ clc_SplitPlayerDisconnect = 30;
15
+ clc_ServerStatus = 31;
16
+ clc_ServerPing = 32;
17
+ clc_RequestPause = 33;
18
+ clc_CmdKeyValues = 34;
19
+ clc_RconServerDetails = 35;
20
+ clc_HltvReplay = 36;
21
+ }
22
+
23
+ enum SVC_Messages {
24
+ svc_ServerInfo = 40;
25
+ svc_FlattenedSerializer = 41;
26
+ svc_ClassInfo = 42;
27
+ svc_SetPause = 43;
28
+ svc_CreateStringTable = 44;
29
+ svc_UpdateStringTable = 45;
30
+ svc_VoiceInit = 46;
31
+ svc_VoiceData = 47;
32
+ svc_Print = 48;
33
+ svc_Sounds = 49;
34
+ svc_SetView = 50;
35
+ svc_ClearAllStringTables = 51;
36
+ svc_CmdKeyValues = 52;
37
+ svc_BSPDecal = 53;
38
+ svc_SplitScreen = 54;
39
+ svc_PacketEntities = 55;
40
+ svc_Prefetch = 56;
41
+ svc_Menu = 57;
42
+ svc_GetCvarValue = 58;
43
+ svc_StopSound = 59;
44
+ svc_PeerList = 60;
45
+ svc_PacketReliable = 61;
46
+ svc_HLTVStatus = 62;
47
+ svc_ServerSteamID = 63;
48
+ svc_FullFrameSplit = 70;
49
+ svc_RconServerDetails = 71;
50
+ svc_UserMessage = 72;
51
+ svc_HltvReplay = 73;
52
+ svc_Broadcast_Command = 74;
53
+ svc_HltvFixupOperatorStatus = 75;
54
+ }
55
+
56
+ enum VoiceDataFormat_t {
57
+ VOICEDATA_FORMAT_STEAM = 0;
58
+ VOICEDATA_FORMAT_ENGINE = 1;
59
+ VOICEDATA_FORMAT_OPUS = 2;
60
+ }
61
+
62
+ enum RequestPause_t {
63
+ RP_PAUSE = 0;
64
+ RP_UNPAUSE = 1;
65
+ RP_TOGGLEPAUSE = 2;
66
+ }
67
+
68
+ enum PrefetchType {
69
+ PFT_SOUND = 0;
70
+ }
71
+
72
+ enum ESplitScreenMessageType {
73
+ MSG_SPLITSCREEN_ADDUSER = 0;
74
+ MSG_SPLITSCREEN_REMOVEUSER = 1;
75
+ }
76
+
77
+ enum EQueryCvarValueStatus {
78
+ eQueryCvarValueStatus_ValueIntact = 0;
79
+ eQueryCvarValueStatus_CvarNotFound = 1;
80
+ eQueryCvarValueStatus_NotACvar = 2;
81
+ eQueryCvarValueStatus_CvarProtected = 3;
82
+ }
83
+
84
+ enum DIALOG_TYPE {
85
+ DIALOG_MSG = 0;
86
+ DIALOG_MENU = 1;
87
+ DIALOG_TEXT = 2;
88
+ DIALOG_ENTRY = 3;
89
+ DIALOG_ASKCONNECT = 4;
90
+ }
91
+
92
+ enum SVC_Messages_LowFrequency {
93
+ svc_dummy = 600;
94
+ }
95
+
96
+ enum Bidirectional_Messages {
97
+ bi_RebroadcastGameEvent = 16;
98
+ bi_RebroadcastSource = 17;
99
+ bi_GameEvent = 18;
100
+ }
101
+
102
+ enum Bidirectional_Messages_LowFrequency {
103
+ bi_RelayInfo = 700;
104
+ bi_RelayPacket = 701;
105
+ }
106
+
107
+ enum ReplayEventType_t {
108
+ REPLAY_EVENT_CANCEL = 0;
109
+ REPLAY_EVENT_DEATH = 1;
110
+ REPLAY_EVENT_GENERIC = 2;
111
+ REPLAY_EVENT_STUCK_NEED_FULL_UPDATE = 3;
112
+ REPLAY_EVENT_VICTORY = 4;
113
+ }
114
+
115
+ message CCLCMsg_ClientInfo {
116
+ optional fixed32 send_table_crc = 1;
117
+ optional uint32 server_count = 2;
118
+ optional bool is_hltv = 3;
119
+ optional uint32 friends_id = 5;
120
+ optional string friends_name = 6;
121
+ }
122
+
123
+ message CCLCMsg_Move {
124
+ optional bytes data = 3;
125
+ optional uint32 command_number = 4;
126
+ optional uint32 num_commands = 5;
127
+ }
128
+
129
+ message CMsgVoiceAudio {
130
+ optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM];
131
+ optional bytes voice_data = 2;
132
+ optional int32 sequence_bytes = 3;
133
+ optional uint32 section_number = 4;
134
+ optional uint32 sample_rate = 5;
135
+ optional uint32 uncompressed_sample_offset = 6;
136
+ optional uint32 num_packets = 7;
137
+ repeated uint32 packet_offsets = 8 [packed = true];
138
+ optional float voice_level = 9;
139
+ }
140
+
141
+ message CCLCMsg_VoiceData {
142
+ optional .CMsgVoiceAudio audio = 1;
143
+ optional fixed64 xuid = 2;
144
+ optional uint32 tick = 3;
145
+ }
146
+
147
+ message CCLCMsg_BaselineAck {
148
+ optional int32 baseline_tick = 1;
149
+ optional int32 baseline_nr = 2;
150
+ }
151
+
152
+ message CCLCMsg_ListenEvents {
153
+ repeated fixed32 event_mask = 1;
154
+ }
155
+
156
+ message CCLCMsg_RespondCvarValue {
157
+ optional int32 cookie = 1;
158
+ optional int32 status_code = 2;
159
+ optional string name = 3;
160
+ optional string value = 4;
161
+ }
162
+
163
+ message CCLCMsg_FileCRCCheck {
164
+ optional int32 code_path = 1;
165
+ optional string path = 2;
166
+ optional int32 code_filename = 3;
167
+ optional string filename = 4;
168
+ optional fixed32 crc = 5;
169
+ }
170
+
171
+ message CCLCMsg_LoadingProgress {
172
+ optional int32 progress = 1;
173
+ }
174
+
175
+ message CCLCMsg_SplitPlayerConnect {
176
+ optional string playername = 1;
177
+ }
178
+
179
+ message CCLCMsg_ClientMessage {
180
+ optional int32 msg_type = 1;
181
+ optional bytes data = 2;
182
+ }
183
+
184
+ message CCLCMsg_SplitPlayerDisconnect {
185
+ optional int32 slot = 1;
186
+ }
187
+
188
+ message CCLCMsg_ServerStatus {
189
+ optional bool simplified = 1;
190
+ }
191
+
192
+ message CCLCMsg_RequestPause {
193
+ optional .RequestPause_t pause_type = 1 [default = RP_PAUSE];
194
+ optional int32 pause_group = 2;
195
+ }
196
+
197
+ message CCLCMsg_CmdKeyValues {
198
+ optional bytes data = 1;
199
+ }
200
+
201
+ message CCLCMsg_RconServerDetails {
202
+ optional bytes token = 1;
203
+ }
204
+
205
+ message CSVCMsg_ServerInfo {
206
+ optional int32 protocol = 1;
207
+ optional int32 server_count = 2;
208
+ optional bool is_dedicated = 3;
209
+ optional bool is_hltv = 4;
210
+ optional int32 c_os = 6;
211
+ optional int32 max_clients = 10;
212
+ optional int32 max_classes = 11;
213
+ optional int32 player_slot = 12 [default = -1];
214
+ optional float tick_interval = 13;
215
+ optional string game_dir = 14;
216
+ optional string map_name = 15;
217
+ optional string sky_name = 16;
218
+ optional string host_name = 17;
219
+ optional string addon_name = 18;
220
+ optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
221
+ optional bytes game_session_manifest = 20;
222
+ }
223
+
224
+ message CSVCMsg_ClassInfo {
225
+ message class_t {
226
+ optional int32 class_id = 1;
227
+ optional string class_name = 3;
228
+ }
229
+
230
+ optional bool create_on_client = 1;
231
+ repeated .CSVCMsg_ClassInfo.class_t classes = 2;
232
+ }
233
+
234
+ message CSVCMsg_SetPause {
235
+ optional bool paused = 1;
236
+ }
237
+
238
+ message CSVCMsg_VoiceInit {
239
+ optional int32 quality = 1;
240
+ optional string codec = 2;
241
+ optional int32 version = 3 [default = 0];
242
+ }
243
+
244
+ message CSVCMsg_Print {
245
+ optional string text = 1;
246
+ }
247
+
248
+ message CSVCMsg_Sounds {
249
+ message sounddata_t {
250
+ optional sint32 origin_x = 1;
251
+ optional sint32 origin_y = 2;
252
+ optional sint32 origin_z = 3;
253
+ optional uint32 volume = 4;
254
+ optional float delay_value = 5;
255
+ optional int32 sequence_number = 6;
256
+ optional int32 entity_index = 7 [default = -1];
257
+ optional int32 channel = 8;
258
+ optional int32 pitch = 9;
259
+ optional int32 flags = 10;
260
+ optional uint32 sound_num = 11;
261
+ optional fixed32 sound_num_handle = 12;
262
+ optional int32 speaker_entity = 13;
263
+ optional int32 random_seed = 14;
264
+ optional int32 sound_level = 15;
265
+ optional bool is_sentence = 16;
266
+ optional bool is_ambient = 17;
267
+ optional uint32 guid = 18;
268
+ optional fixed64 sound_resource_id = 19;
269
+ }
270
+
271
+ optional bool reliable_sound = 1;
272
+ repeated .CSVCMsg_Sounds.sounddata_t sounds = 2;
273
+ }
274
+
275
+ message CSVCMsg_Prefetch {
276
+ optional int32 sound_index = 1;
277
+ optional .PrefetchType resource_type = 2 [default = PFT_SOUND];
278
+ }
279
+
280
+ message CSVCMsg_SetView {
281
+ optional int32 entity_index = 1 [default = -1];
282
+ optional int32 slot = 2 [default = -1];
283
+ }
284
+
285
+ message CSVCMsg_FixAngle {
286
+ optional bool relative = 1;
287
+ optional .CMsgQAngle angle = 2;
288
+ }
289
+
290
+ message CSVCMsg_CrosshairAngle {
291
+ optional .CMsgQAngle angle = 1;
292
+ }
293
+
294
+ message CSVCMsg_BSPDecal {
295
+ optional .CMsgVector pos = 1;
296
+ optional int32 decal_texture_index = 2;
297
+ optional int32 entity_index = 3 [default = -1];
298
+ optional int32 model_index = 4;
299
+ optional bool low_priority = 5;
300
+ }
301
+
302
+ message CSVCMsg_SplitScreen {
303
+ optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER];
304
+ optional int32 slot = 2;
305
+ optional int32 player_index = 3 [default = -1];
306
+ }
307
+
308
+ message CSVCMsg_GetCvarValue {
309
+ optional int32 cookie = 1;
310
+ optional string cvar_name = 2;
311
+ }
312
+
313
+ message CSVCMsg_Menu {
314
+ optional int32 dialog_type = 1;
315
+ optional bytes menu_key_values = 2;
316
+ }
317
+
318
+ message CSVCMsg_UserMessage {
319
+ optional int32 msg_type = 1;
320
+ optional bytes msg_data = 2;
321
+ optional int32 passthrough = 3;
322
+ }
323
+
324
+ message CSVCMsg_SendTable {
325
+ message sendprop_t {
326
+ optional int32 type = 1;
327
+ optional string var_name = 2;
328
+ optional int32 flags = 3;
329
+ optional int32 priority = 4;
330
+ optional string dt_name = 5;
331
+ optional int32 num_elements = 6;
332
+ optional float low_value = 7;
333
+ optional float high_value = 8;
334
+ optional int32 num_bits = 9;
335
+ }
336
+
337
+ optional bool is_end = 1;
338
+ optional string net_table_name = 2;
339
+ optional bool needs_decoder = 3;
340
+ repeated .CSVCMsg_SendTable.sendprop_t props = 4;
341
+ }
342
+
343
+ message CSVCMsg_GameEventList {
344
+ message key_t {
345
+ optional int32 type = 1;
346
+ optional string name = 2;
347
+ }
348
+
349
+ message descriptor_t {
350
+ optional int32 eventid = 1;
351
+ optional string name = 2;
352
+ repeated .CSVCMsg_GameEventList.key_t keys = 3;
353
+ }
354
+
355
+ repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1;
356
+ }
357
+
358
+ message CSVCMsg_PacketEntities {
359
+ message command_queue_info_t {
360
+ optional uint32 commands_queued = 1;
361
+ optional uint32 command_queue_desired_size = 2;
362
+ optional uint32 starved_command_ticks = 3;
363
+ optional float time_dilation_percent = 4;
364
+ optional uint32 discarded_command_ticks = 5;
365
+ }
366
+
367
+ message alternate_baseline_t {
368
+ optional int32 entity_index = 1;
369
+ optional int32 baseline_index = 2;
370
+ }
371
+
372
+ message non_transmitted_entities_t {
373
+ optional int32 header_count = 1;
374
+ optional bytes data = 2;
375
+ }
376
+
377
+ optional int32 max_entries = 1;
378
+ optional int32 updated_entries = 2;
379
+ optional bool legacy_is_delta = 3;
380
+ optional bool update_baseline = 4;
381
+ optional int32 baseline = 5;
382
+ optional int32 delta_from = 6;
383
+ optional bytes entity_data = 7;
384
+ optional bool pending_full_frame = 8;
385
+ optional uint32 active_spawngroup_handle = 9;
386
+ optional uint32 max_spawngroup_creationsequence = 10;
387
+ optional uint32 last_cmd_number_executed = 11;
388
+ optional sint32 last_cmd_number_recv_delta = 17;
389
+ optional uint32 server_tick = 12;
390
+ optional bytes serialized_entities = 13;
391
+ optional .CSVCMsg_PacketEntities.command_queue_info_t command_queue_info = 14;
392
+ repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15;
393
+ optional uint32 has_pvs_vis_bits = 16;
394
+ optional uint32 last_cmd_recv_margin = 18;
395
+ optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19;
396
+ optional bytes dev_padding = 999;
397
+ }
398
+
399
+ message CSVCMsg_TempEntities {
400
+ optional bool reliable = 1;
401
+ optional int32 num_entries = 2;
402
+ optional bytes entity_data = 3;
403
+ }
404
+
405
+ message CSVCMsg_CreateStringTable {
406
+ optional string name = 1;
407
+ optional int32 num_entries = 2;
408
+ optional bool user_data_fixed_size = 3;
409
+ optional int32 user_data_size = 4;
410
+ optional int32 user_data_size_bits = 5;
411
+ optional int32 flags = 6;
412
+ optional bytes string_data = 7;
413
+ optional int32 uncompressed_size = 8;
414
+ optional bool data_compressed = 9;
415
+ optional bool using_varint_bitcounts = 10;
416
+ }
417
+
418
+ message CSVCMsg_UpdateStringTable {
419
+ optional int32 table_id = 1;
420
+ optional int32 num_changed_entries = 2;
421
+ optional bytes string_data = 3;
422
+ }
423
+
424
+ message CSVCMsg_VoiceData {
425
+ optional .CMsgVoiceAudio audio = 1;
426
+ optional int32 client = 2 [default = -1];
427
+ optional bool proximity = 3;
428
+ optional fixed64 xuid = 4;
429
+ optional int32 audible_mask = 5;
430
+ optional uint32 tick = 6;
431
+ optional int32 passthrough = 7;
432
+ }
433
+
434
+ message CSVCMsg_PacketReliable {
435
+ optional int32 tick = 1;
436
+ optional int32 messagessize = 2;
437
+ optional bool state = 3;
438
+ }
439
+
440
+ message CSVCMsg_FullFrameSplit {
441
+ optional int32 tick = 1;
442
+ optional int32 section = 2;
443
+ optional int32 total = 3;
444
+ optional bytes data = 4;
445
+ }
446
+
447
+ message CSVCMsg_HLTVStatus {
448
+ optional string master = 1;
449
+ optional int32 clients = 2;
450
+ optional int32 slots = 3;
451
+ optional int32 proxies = 4;
452
+ }
453
+
454
+ message CSVCMsg_ServerSteamID {
455
+ optional uint64 steam_id = 1;
456
+ }
457
+
458
+ message CSVCMsg_CmdKeyValues {
459
+ optional bytes data = 1;
460
+ }
461
+
462
+ message CSVCMsg_RconServerDetails {
463
+ optional bytes token = 1;
464
+ optional string details = 2;
465
+ }
466
+
467
+ message CMsgIPCAddress {
468
+ optional fixed64 computer_guid = 1;
469
+ optional uint32 process_id = 2;
470
+ }
471
+
472
+ message CMsgServerPeer {
473
+ optional int32 player_slot = 1 [default = -1];
474
+ optional fixed64 steamid = 2;
475
+ optional .CMsgIPCAddress ipc = 3;
476
+ optional bool they_hear_you = 4;
477
+ optional bool you_hear_them = 5;
478
+ optional bool is_listenserver_host = 6;
479
+ }
480
+
481
+ message CSVCMsg_PeerList {
482
+ repeated .CMsgServerPeer peer = 1;
483
+ }
484
+
485
+ message CSVCMsg_ClearAllStringTables {
486
+ optional string mapname = 1;
487
+ optional bool create_tables_skipped = 3;
488
+ }
489
+
490
+ message ProtoFlattenedSerializerField_t {
491
+ message polymorphic_field_t {
492
+ optional int32 polymorphic_field_serializer_name_sym = 1;
493
+ optional int32 polymorphic_field_serializer_version = 2;
494
+ }
495
+
496
+ optional int32 var_type_sym = 1;
497
+ optional int32 var_name_sym = 2;
498
+ optional int32 bit_count = 3;
499
+ optional float low_value = 4;
500
+ optional float high_value = 5;
501
+ optional int32 encode_flags = 6;
502
+ optional int32 field_serializer_name_sym = 7;
503
+ optional int32 field_serializer_version = 8;
504
+ optional int32 send_node_sym = 9;
505
+ optional int32 var_encoder_sym = 10;
506
+ repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11;
507
+ optional int32 var_serializer_sym = 12;
508
+ }
509
+
510
+ message ProtoFlattenedSerializer_t {
511
+ optional int32 serializer_name_sym = 1;
512
+ optional int32 serializer_version = 2;
513
+ repeated int32 fields_index = 3;
514
+ }
515
+
516
+ message CSVCMsg_FlattenedSerializer {
517
+ repeated .ProtoFlattenedSerializer_t serializers = 1;
518
+ repeated string symbols = 2;
519
+ repeated .ProtoFlattenedSerializerField_t fields = 3;
520
+ }
521
+
522
+ message CSVCMsg_StopSound {
523
+ optional fixed32 guid = 1;
524
+ }
525
+
526
+ message CBidirMsg_RebroadcastGameEvent {
527
+ optional bool posttoserver = 1;
528
+ optional int32 buftype = 2;
529
+ optional uint32 clientbitcount = 3;
530
+ optional uint64 receivingclients = 4;
531
+ }
532
+
533
+ message CBidirMsg_RebroadcastSource {
534
+ optional int32 eventsource = 1;
535
+ }
536
+
537
+ message CMsgServerNetworkStats {
538
+ message Port {
539
+ optional int32 port = 1;
540
+ optional string name = 2;
541
+ }
542
+
543
+ message Player {
544
+ optional uint64 steamid = 1;
545
+ optional string remote_addr = 2;
546
+ optional int32 ping_avg_ms = 4;
547
+ optional float packet_loss_pct = 5;
548
+ optional bool is_bot = 6;
549
+ optional float loss_in = 7;
550
+ optional float loss_out = 8;
551
+ optional int32 engine_latency_ms = 9;
552
+ }
553
+
554
+ optional bool dedicated = 1;
555
+ optional int32 cpu_usage = 2;
556
+ optional int32 memory_used_mb = 3;
557
+ optional int32 memory_free_mb = 4;
558
+ optional int32 uptime = 5;
559
+ optional int32 spawn_count = 6;
560
+ optional int32 num_clients = 8;
561
+ optional int32 num_bots = 9;
562
+ optional int32 num_spectators = 10;
563
+ optional int32 num_tv_relays = 11;
564
+ optional float fps = 12;
565
+ repeated .CMsgServerNetworkStats.Port ports = 17;
566
+ optional float avg_ping_ms = 18;
567
+ optional float avg_engine_latency_out = 19;
568
+ optional float avg_packets_out = 20;
569
+ optional float avg_packets_in = 21;
570
+ optional float avg_loss_out = 22;
571
+ optional float avg_loss_in = 23;
572
+ optional float avg_data_out = 24;
573
+ optional float avg_data_in = 25;
574
+ optional uint64 total_data_in = 26;
575
+ optional uint64 total_packets_in = 27;
576
+ optional uint64 total_data_out = 28;
577
+ optional uint64 total_packets_out = 29;
578
+ repeated .CMsgServerNetworkStats.Player players = 30;
579
+ }
580
+
581
+ message CSVCMsg_HltvReplay {
582
+ optional int32 delay = 1;
583
+ optional int32 primary_target = 2 [default = -1];
584
+ optional int32 replay_stop_at = 3;
585
+ optional int32 replay_start_at = 4;
586
+ optional int32 replay_slowdown_begin = 5;
587
+ optional int32 replay_slowdown_end = 6;
588
+ optional float replay_slowdown_rate = 7;
589
+ optional int32 reason = 8;
590
+ }
591
+
592
+ message CCLCMsg_HltvReplay {
593
+ optional int32 request = 1;
594
+ optional float slowdown_length = 2;
595
+ optional float slowdown_rate = 3;
596
+ optional int32 primary_target = 4 [default = -1];
597
+ optional float event_time = 5;
598
+ }
599
+
600
+ message CSVCMsg_Broadcast_Command {
601
+ optional string cmd = 1;
602
+ }
603
+
604
+ message CCLCMsg_HltvFixupOperatorTick {
605
+ optional int32 tick = 1;
606
+ optional bytes props_data = 2;
607
+ optional .CMsgVector origin = 3;
608
+ optional .CMsgQAngle eye_angles = 4;
609
+ optional int32 observer_mode = 5;
610
+ optional bool cameraman_scoreboard = 6;
611
+ optional int32 observer_target = 7;
612
+ optional .CMsgVector view_offset = 8;
613
+ }
614
+
615
+ message CSVCMsg_HltvFixupOperatorStatus {
616
+ optional uint32 mode = 1;
617
+ optional string override_operator_name = 2;
618
+ }