effigy_wire 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/BIN_README.txt +18 -0
  4. data/CODE_OF_CONDUCT.md +74 -0
  5. data/Gemfile +3 -0
  6. data/Gemfile.lock +40 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +7 -0
  9. data/Rakefile +2 -0
  10. data/bin/clarity-protobuf/clean +36 -0
  11. data/bin/clarity-protobuf/copy +75 -0
  12. data/bin/effigy/compile-proto +81 -0
  13. data/bin/effigy/mk-require-turds +43 -0
  14. data/bin/effigy/package +56 -0
  15. data/bin/effigy/tweak-proto +30 -0
  16. data/bin/effigy/tweak-rb +20 -0
  17. data/effigy_wire.gemspec +24 -0
  18. data/lib/effigy/wire/demo.pb.rb +205 -0
  19. data/lib/effigy/wire/dota_commonmessages.pb.rb +209 -0
  20. data/lib/effigy/wire/dota_modifiers.pb.rb +78 -0
  21. data/lib/effigy/wire/dota_usermessages.pb.rb +1315 -0
  22. data/lib/effigy/wire/netmessages.pb.rb +177 -0
  23. data/lib/effigy/wire/networkbasetypes.pb.rb +268 -0
  24. data/lib/effigy/wire/s1/s1_dota_usermessages.pb.rb +102 -0
  25. data/lib/effigy/wire/s1/s1_netmessages.pb.rb +121 -0
  26. data/lib/effigy/wire/s1/s1_usermessages.pb.rb +271 -0
  27. data/lib/effigy/wire/s1.rb +3 -0
  28. data/lib/effigy/wire/s2/s2_base_gcmessages.pb.rb +57 -0
  29. data/lib/effigy/wire/s2/s2_dota_gcmessages_common.pb.rb +214 -0
  30. data/lib/effigy/wire/s2/s2_dota_match_metadata.pb.rb +106 -0
  31. data/lib/effigy/wire/s2/s2_dota_usermessages.pb.rb +117 -0
  32. data/lib/effigy/wire/s2/s2_gameevents.pb.rb +172 -0
  33. data/lib/effigy/wire/s2/s2_netmessages.pb.rb +158 -0
  34. data/lib/effigy/wire/s2/s2_te.pb.rb +330 -0
  35. data/lib/effigy/wire/s2/s2_usermessages.pb.rb +514 -0
  36. data/lib/effigy/wire/s2.rb +3 -0
  37. data/lib/effigy/wire.rb +9 -0
  38. data/lib/effigy.rb +3 -0
  39. data/proto/demo.proto +157 -0
  40. data/proto/dota_commonmessages.proto +183 -0
  41. data/proto/dota_modifiers.proto +54 -0
  42. data/proto/dota_usermessages.proto +1152 -0
  43. data/proto/netmessages.proto +133 -0
  44. data/proto/networkbasetypes.proto +219 -0
  45. data/proto/s1/google/protobuf/descriptor.proto +622 -0
  46. data/proto/s1/s1_dota_usermessages.proto +89 -0
  47. data/proto/s1/s1_netmessages.proto +86 -0
  48. data/proto/s1/s1_usermessages.proto +217 -0
  49. data/proto/s2/google/protobuf/descriptor.proto +622 -0
  50. data/proto/s2/s2_base_gcmessages.proto +37 -0
  51. data/proto/s2/s2_dota_gcmessages_common.proto +177 -0
  52. data/proto/s2/s2_dota_match_metadata.proto +67 -0
  53. data/proto/s2/s2_dota_usermessages.proto +104 -0
  54. data/proto/s2/s2_gameevents.proto +125 -0
  55. data/proto/s2/s2_netmessages.proto +120 -0
  56. data/proto/s2/s2_te.proto +276 -0
  57. data/proto/s2/s2_usermessages.proto +434 -0
  58. metadata +148 -0
@@ -0,0 +1,276 @@
1
+ package effigy.wire.s2;
2
+
3
+ option java_package = "skadistats.clarity.wire.s2.proto";
4
+ option java_outer_classname = "S2TempEntities";
5
+
6
+ import "networkbasetypes.proto";
7
+
8
+ option optimize_for = SPEED;
9
+ option cc_generic_services = false;
10
+
11
+ enum ETEProtobufIds {
12
+ TE_EffectDispatchId = 400;
13
+ TE_ArmorRicochetId = 401;
14
+ TE_BeamEntPointId = 402;
15
+ TE_BeamEntsId = 403;
16
+ TE_BeamPointsId = 404;
17
+ TE_BeamRingId = 405;
18
+ TE_BreakModelId = 406;
19
+ TE_BSPDecalId = 407;
20
+ TE_BubblesId = 408;
21
+ TE_BubbleTrailId = 409;
22
+ TE_DecalId = 410;
23
+ TE_WorldDecalId = 411;
24
+ TE_EnergySplashId = 412;
25
+ TE_FizzId = 413;
26
+ TE_ShatterSurfaceId = 414;
27
+ TE_GlowSpriteId = 415;
28
+ TE_ImpactId = 416;
29
+ TE_MuzzleFlashId = 417;
30
+ TE_BloodStreamId = 418;
31
+ TE_ExplosionId = 419;
32
+ TE_DustId = 420;
33
+ TE_LargeFunnelId = 421;
34
+ TE_SparksId = 422;
35
+ TE_PhysicsPropId = 423;
36
+ TE_PlayerDecalId = 424;
37
+ TE_ProjectedDecalId = 425;
38
+ TE_SmokeId = 426;
39
+ }
40
+
41
+ message CMsgTEArmorRicochet {
42
+ optional CMsgVector pos = 1;
43
+ optional CMsgVector dir = 2;
44
+ }
45
+
46
+ message CMsgTEBaseBeam {
47
+ optional fixed64 modelindex = 1;
48
+ optional fixed64 haloindex = 2;
49
+ optional uint32 startframe = 3;
50
+ optional uint32 framerate = 4;
51
+ optional float life = 5;
52
+ optional float width = 6;
53
+ optional float endwidth = 7;
54
+ optional uint32 fadelength = 8;
55
+ optional float amplitude = 9;
56
+ optional fixed32 color = 10;
57
+ optional uint32 speed = 11;
58
+ optional uint32 flags = 12;
59
+ }
60
+
61
+ message CMsgTEBeamEntPoint {
62
+ optional CMsgTEBaseBeam base = 1;
63
+ optional uint32 startentity = 2;
64
+ optional uint32 endentity = 3;
65
+ optional CMsgVector start = 4;
66
+ optional CMsgVector end = 5;
67
+ }
68
+
69
+ message CMsgTEBeamEnts {
70
+ optional CMsgTEBaseBeam base = 1;
71
+ optional uint32 startentity = 2;
72
+ optional uint32 endentity = 3;
73
+ }
74
+
75
+ message CMsgTEBeamPoints {
76
+ optional CMsgTEBaseBeam base = 1;
77
+ optional CMsgVector start = 2;
78
+ optional CMsgVector end = 3;
79
+ }
80
+
81
+ message CMsgTEBeamRing {
82
+ optional CMsgTEBaseBeam base = 1;
83
+ optional uint32 startentity = 2;
84
+ optional uint32 endentity = 3;
85
+ }
86
+
87
+ message CMsgTEBreakModel {
88
+ optional CMsgVector origin = 1;
89
+ optional CMsgQAngle angles = 2;
90
+ optional CMsgVector size = 3;
91
+ optional CMsgVector velocity = 4;
92
+ optional uint32 randomization = 5;
93
+ optional fixed64 modelindex = 6;
94
+ optional uint32 count = 7;
95
+ optional float time = 8;
96
+ optional uint32 flags = 9;
97
+ }
98
+
99
+ message CMsgTEBSPDecal {
100
+ optional CMsgVector origin = 1;
101
+ optional CMsgVector normal = 2;
102
+ optional CMsgVector saxis = 3;
103
+ optional uint32 entity = 4;
104
+ optional uint32 index = 5;
105
+ }
106
+
107
+ message CMsgTEBubbles {
108
+ optional CMsgVector mins = 1;
109
+ optional CMsgVector maxs = 2;
110
+ optional float height = 3;
111
+ optional uint32 count = 4;
112
+ optional float speed = 5;
113
+ }
114
+
115
+ message CMsgTEBubbleTrail {
116
+ optional CMsgVector mins = 1;
117
+ optional CMsgVector maxs = 2;
118
+ optional float waterz = 3;
119
+ optional uint32 count = 4;
120
+ optional float speed = 5;
121
+ }
122
+
123
+ message CMsgTEDecal {
124
+ optional CMsgVector origin = 1;
125
+ optional CMsgVector start = 2;
126
+ optional uint32 entity = 3;
127
+ optional uint32 hitbox = 4;
128
+ optional uint32 index = 5;
129
+ }
130
+
131
+ message CMsgEffectData {
132
+ optional CMsgVector origin = 1;
133
+ optional CMsgVector start = 2;
134
+ optional CMsgVector normal = 3;
135
+ optional CMsgQAngle angles = 4;
136
+ optional fixed32 entity = 5;
137
+ optional fixed32 otherentity = 6;
138
+ optional float scale = 7;
139
+ optional float magnitude = 8;
140
+ optional float radius = 9;
141
+ optional fixed32 surfaceprop = 10;
142
+ optional fixed64 effectindex = 11;
143
+ optional uint32 damagetype = 12;
144
+ optional uint32 material = 13;
145
+ optional uint32 hitbox = 14;
146
+ optional uint32 color = 15;
147
+ optional uint32 flags = 16;
148
+ optional int32 attachmentindex = 17;
149
+ optional uint32 effectname = 18;
150
+ optional uint32 attachmentname = 19;
151
+ }
152
+
153
+ message CMsgTEEffectDispatch {
154
+ optional CMsgEffectData effectdata = 1;
155
+ }
156
+
157
+ message CMsgTEEnergySplash {
158
+ optional CMsgVector pos = 1;
159
+ optional CMsgVector dir = 2;
160
+ optional bool explosive = 3;
161
+ }
162
+
163
+ message CMsgTEFizz {
164
+ optional uint32 entity = 1;
165
+ optional uint32 density = 2;
166
+ optional int32 current = 3;
167
+ }
168
+
169
+ message CMsgTEShatterSurface {
170
+ optional CMsgVector origin = 1;
171
+ optional CMsgQAngle angles = 2;
172
+ optional CMsgVector force = 3;
173
+ optional CMsgVector forcepos = 4;
174
+ optional float width = 5;
175
+ optional float height = 6;
176
+ optional float shardsize = 7;
177
+ optional uint32 surfacetype = 8;
178
+ optional fixed32 frontcolor = 9;
179
+ optional fixed32 backcolor = 10;
180
+ }
181
+
182
+ message CMsgTEGlowSprite {
183
+ optional CMsgVector origin = 1;
184
+ optional float scale = 2;
185
+ optional float life = 3;
186
+ optional uint32 brightness = 4;
187
+ }
188
+
189
+ message CMsgTEImpact {
190
+ optional CMsgVector origin = 1;
191
+ optional CMsgVector normal = 2;
192
+ optional uint32 type = 3;
193
+ }
194
+
195
+ message CMsgTEMuzzleFlash {
196
+ optional CMsgVector origin = 1;
197
+ optional CMsgQAngle angles = 2;
198
+ optional float scale = 3;
199
+ optional uint32 type = 4;
200
+ }
201
+
202
+ message CMsgTEBloodStream {
203
+ optional CMsgVector origin = 1;
204
+ optional CMsgVector direction = 2;
205
+ optional fixed32 color = 3;
206
+ optional uint32 amount = 4;
207
+ }
208
+
209
+ message CMsgTEExplosion {
210
+ optional CMsgVector origin = 1;
211
+ optional uint32 framerate = 2;
212
+ optional uint32 flags = 3;
213
+ optional CMsgVector normal = 4;
214
+ optional uint32 materialtype = 5;
215
+ optional uint32 radius = 6;
216
+ optional uint32 magnitude = 7;
217
+ optional float scale = 8;
218
+ optional bool affect_ragdolls = 9;
219
+ }
220
+
221
+ message CMsgTEDust {
222
+ optional CMsgVector origin = 1;
223
+ optional float size = 2;
224
+ optional float speed = 3;
225
+ optional CMsgVector direction = 4;
226
+ }
227
+
228
+ message CMsgTELargeFunnel {
229
+ optional CMsgVector origin = 1;
230
+ optional uint32 reversed = 2;
231
+ }
232
+
233
+ message CMsgTESparks {
234
+ optional CMsgVector origin = 1;
235
+ optional uint32 magnitude = 2;
236
+ optional uint32 length = 3;
237
+ optional CMsgVector direction = 4;
238
+ }
239
+
240
+ message CMsgTEPhysicsProp {
241
+ optional CMsgVector origin = 1;
242
+ optional CMsgVector velocity = 2;
243
+ optional CMsgQAngle angles = 3;
244
+ optional fixed32 skin = 4;
245
+ optional uint32 flags = 5;
246
+ optional uint32 effects = 6;
247
+ optional fixed32 color = 7;
248
+ optional fixed64 modelindex = 8;
249
+ optional uint32 breakmodelsnottomake = 9;
250
+ optional float scale = 10;
251
+ }
252
+
253
+ message CMsgTEPlayerDecal {
254
+ optional CMsgVector origin = 1;
255
+ optional uint32 player = 2;
256
+ optional uint32 entity = 3;
257
+ }
258
+
259
+ message CMsgTEProjectedDecal {
260
+ optional CMsgVector origin = 1;
261
+ optional CMsgQAngle angles = 2;
262
+ optional uint32 index = 3;
263
+ optional float distance = 4;
264
+ }
265
+
266
+ message CMsgTESmoke {
267
+ optional CMsgVector origin = 1;
268
+ optional float scale = 2;
269
+ }
270
+
271
+ message CMsgTEWorldDecal {
272
+ optional CMsgVector origin = 1;
273
+ optional CMsgVector normal = 2;
274
+ optional uint32 index = 3;
275
+ }
276
+
@@ -0,0 +1,434 @@
1
+ package effigy.wire.s2;
2
+
3
+ option java_package = "skadistats.clarity.wire.s2.proto";
4
+ option java_outer_classname = "S2UserMessages";
5
+
6
+ import "networkbasetypes.proto";
7
+
8
+ option optimize_for = SPEED;
9
+ option cc_generic_services = false;
10
+
11
+ enum EBaseUserMessages {
12
+ UM_AchievementEvent = 101;
13
+ UM_CloseCaption = 102;
14
+ UM_CloseCaptionDirect = 103;
15
+ UM_CurrentTimescale = 104;
16
+ UM_DesiredTimescale = 105;
17
+ UM_Fade = 106;
18
+ UM_GameTitle = 107;
19
+ UM_HintText = 109;
20
+ UM_HudMsg = 110;
21
+ UM_HudText = 111;
22
+ UM_KeyHintText = 112;
23
+ UM_ColoredText = 113;
24
+ UM_RequestState = 114;
25
+ UM_ResetHUD = 115;
26
+ UM_Rumble = 116;
27
+ UM_SayText = 117;
28
+ UM_SayText2 = 118;
29
+ UM_SayTextChannel = 119;
30
+ UM_Shake = 120;
31
+ UM_ShakeDir = 121;
32
+ UM_TextMsg = 124;
33
+ UM_ScreenTilt = 125;
34
+ UM_Train = 126;
35
+ UM_VGUIMenu = 127;
36
+ UM_VoiceMask = 128;
37
+ UM_VoiceSubtitle = 129;
38
+ UM_SendAudio = 130;
39
+ UM_ItemPickup = 131;
40
+ UM_AmmoDenied = 132;
41
+ UM_CrosshairAngle = 133;
42
+ UM_ShowMenu = 134;
43
+ UM_CreditsMsg = 135;
44
+ UM_CloseCaptionPlaceholder = 142;
45
+ UM_CameraTransition = 143;
46
+ UM_AudioParameter = 144;
47
+ UM_ParticleManager = 145;
48
+ UM_HudError = 146;
49
+ UM_CustomGameEvent_ClientToServer = 147;
50
+ UM_CustomGameEvent_ServerToClient = 148;
51
+ UM_TrackedControllerInput_ClientToServer = 149;
52
+ UM_MAX_BASE = 200;
53
+ }
54
+
55
+ enum EBaseEntityMessages {
56
+ EM_PlayJingle = 136;
57
+ EM_ScreenOverlay = 137;
58
+ EM_RemoveAllDecals = 138;
59
+ EM_PropagateForce = 139;
60
+ EM_DoSpark = 140;
61
+ EM_FixAngle = 141;
62
+ }
63
+
64
+ enum eRollType {
65
+ ROLL_NONE = -1;
66
+ ROLL_STATS = 0;
67
+ ROLL_CREDITS = 1;
68
+ ROLL_LATE_JOIN_LOGO = 2;
69
+ ROLL_OUTTRO = 3;
70
+ }
71
+
72
+ enum PARTICLE_MESSAGE {
73
+ GAME_PARTICLE_MANAGER_EVENT_CREATE = 0;
74
+ GAME_PARTICLE_MANAGER_EVENT_UPDATE = 1;
75
+ GAME_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD = 2;
76
+ GAME_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION = 3;
77
+ GAME_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK = 4;
78
+ GAME_PARTICLE_MANAGER_EVENT_UPDATE_ENT = 5;
79
+ GAME_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET = 6;
80
+ GAME_PARTICLE_MANAGER_EVENT_DESTROY = 7;
81
+ GAME_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8;
82
+ GAME_PARTICLE_MANAGER_EVENT_RELEASE = 9;
83
+ GAME_PARTICLE_MANAGER_EVENT_LATENCY = 10;
84
+ GAME_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11;
85
+ GAME_PARTICLE_MANAGER_EVENT_FROZEN = 12;
86
+ GAME_PARTICLE_MANAGER_EVENT_CHANGE_CONTROL_POINT_ATTACHMENT = 13;
87
+ }
88
+
89
+ message CUserMessageAchievementEvent {
90
+ optional uint32 achievement = 1;
91
+ }
92
+
93
+ message CUserMessageCloseCaption {
94
+ optional fixed32 hash = 1;
95
+ optional float duration = 2;
96
+ optional bool from_player = 3;
97
+ optional int32 ent_index = 4;
98
+ }
99
+
100
+ message CUserMessageCloseCaptionDirect {
101
+ optional fixed32 hash = 1;
102
+ optional float duration = 2;
103
+ optional bool from_player = 3;
104
+ optional int32 ent_index = 4;
105
+ }
106
+
107
+ message CUserMessageCloseCaptionPlaceholder {
108
+ optional string string = 1;
109
+ optional float duration = 2;
110
+ optional bool from_player = 3;
111
+ optional int32 ent_index = 4;
112
+ }
113
+
114
+ message CUserMessageCurrentTimescale {
115
+ optional float current = 1;
116
+ }
117
+
118
+ message CUserMessageDesiredTimescale {
119
+ optional float desired = 1;
120
+ optional float acceleration = 2;
121
+ optional float minblendrate = 3;
122
+ optional float blenddeltamultiplier = 4;
123
+ }
124
+
125
+ message CUserMessageFade {
126
+ optional uint32 duration = 1;
127
+ optional uint32 hold_time = 2;
128
+ optional uint32 flags = 3;
129
+ optional fixed32 color = 4;
130
+ }
131
+
132
+ message CUserMessageShake {
133
+ optional uint32 command = 1;
134
+ optional float amplitude = 2;
135
+ optional float frequency = 3;
136
+ optional float duration = 4;
137
+ }
138
+
139
+ message CUserMessageShakeDir {
140
+ optional CUserMessageShake shake = 1;
141
+ optional CMsgVector direction = 2;
142
+ }
143
+
144
+ message CUserMessageScreenTilt {
145
+ optional uint32 command = 1;
146
+ optional bool ease_in_out = 2;
147
+ optional CMsgVector angle = 3;
148
+ optional float duration = 4;
149
+ optional float time = 5;
150
+ }
151
+
152
+ message CUserMessageSayText {
153
+ optional uint32 playerindex = 1;
154
+ optional string text = 2;
155
+ optional bool chat = 3;
156
+ }
157
+
158
+ message CUserMessageSayText2 {
159
+ optional uint32 entityindex = 1;
160
+ optional bool chat = 2;
161
+ optional string messagename = 3;
162
+ optional string param1 = 4;
163
+ optional string param2 = 5;
164
+ optional string param3 = 6;
165
+ optional string param4 = 7;
166
+ }
167
+
168
+ message CUserMessageHudMsg {
169
+ optional uint32 channel = 1;
170
+ optional float x = 2;
171
+ optional float y = 3;
172
+ optional fixed32 color1 = 4;
173
+ optional fixed32 color2 = 5;
174
+ optional uint32 effect = 6;
175
+ optional float fade_in_time = 7;
176
+ optional float fade_out_time = 8;
177
+ optional float hold_time = 9;
178
+ optional float fx_time = 10;
179
+ optional string message = 11;
180
+ }
181
+
182
+ message CUserMessageHudText {
183
+ optional string message = 1;
184
+ }
185
+
186
+ message CUserMessageTextMsg {
187
+ optional uint32 dest = 1;
188
+ repeated string param = 2;
189
+ }
190
+
191
+ message CUserMessageGameTitle {
192
+ }
193
+
194
+ message CUserMessageResetHUD {
195
+ }
196
+
197
+ message CUserMessageSendAudio {
198
+ optional string soundname = 1;
199
+ optional bool stop = 2;
200
+ }
201
+
202
+ message CUserMessageAudioParameter {
203
+ optional uint32 parameter_type = 1;
204
+ optional uint32 name_hash_code = 2;
205
+ optional float value = 3;
206
+ }
207
+
208
+ message CUserMessageVoiceMask {
209
+ repeated uint32 gamerules_masks = 1;
210
+ repeated uint32 ban_masks = 2;
211
+ optional bool mod_enable = 3;
212
+ }
213
+
214
+ message CUserMessageRequestState {
215
+ }
216
+
217
+ message CUserMessageHintText {
218
+ optional string message = 1;
219
+ }
220
+
221
+ message CUserMessageKeyHintText {
222
+ repeated string messages = 1;
223
+ }
224
+
225
+ message CUserMessageVoiceSubtitle {
226
+ optional int32 player = 1;
227
+ optional int32 menu = 2;
228
+ optional int32 item = 3;
229
+ }
230
+
231
+ message CUserMessageVGUIMenu {
232
+ message Keys {
233
+ optional string name = 1;
234
+ optional string value = 2;
235
+ }
236
+
237
+ optional string name = 1;
238
+ optional bool show = 2;
239
+ repeated CUserMessageVGUIMenu.Keys keys = 3;
240
+ }
241
+
242
+ message CUserMessageRumble {
243
+ optional int32 index = 1;
244
+ optional int32 data = 2;
245
+ optional int32 flags = 3;
246
+ }
247
+
248
+ message CUserMessageTrain {
249
+ optional uint32 position = 1;
250
+ }
251
+
252
+ message CUserMessageSayTextChannel {
253
+ optional int32 player = 1;
254
+ optional int32 channel = 2;
255
+ optional string text = 3;
256
+ }
257
+
258
+ message CUserMessageColoredText {
259
+ optional uint32 color = 1;
260
+ optional string text = 2;
261
+ optional bool reset = 3;
262
+ optional int32 context_player_id = 4;
263
+ optional int32 context_value = 5;
264
+ optional int32 context_team_id = 6;
265
+ }
266
+
267
+ message CUserMessageItemPickup {
268
+ optional string itemname = 1;
269
+ }
270
+
271
+ message CUserMessageAmmoDenied {
272
+ optional uint32 ammo_id = 1;
273
+ }
274
+
275
+ message CUserMessageCrosshairAngle {
276
+ optional CMsgQAngle angcrosshair = 1;
277
+ }
278
+
279
+ message CUserMessageShowMenu {
280
+ optional uint32 validslots = 1;
281
+ optional uint32 displaytime = 2;
282
+ optional bool needmore = 3;
283
+ optional string menustring = 4;
284
+ }
285
+
286
+ message CUserMessageCreditsMsg {
287
+ optional eRollType rolltype = 1 [default = ROLL_NONE];
288
+ }
289
+
290
+ message CEntityMessagePlayJingle {
291
+ }
292
+
293
+ message CEntityMessageScreenOverlay {
294
+ optional bool start_effect = 1;
295
+ }
296
+
297
+ message CEntityMessageRemoveAllDecals {
298
+ optional bool remove_decals = 1;
299
+ }
300
+
301
+ message CEntityMessagePropagateForce {
302
+ optional CMsgVector impulse = 1;
303
+ }
304
+
305
+ message CEntityMessageDoSpark {
306
+ optional CMsgVector origin = 1;
307
+ optional uint32 entityindex = 2;
308
+ optional float radius = 3;
309
+ optional fixed32 color = 4;
310
+ optional uint32 beams = 5;
311
+ optional float thick = 6;
312
+ optional float duration = 7;
313
+ }
314
+
315
+ message CEntityMessageFixAngle {
316
+ optional bool relative = 1;
317
+ optional CMsgQAngle angle = 2;
318
+ }
319
+
320
+ message CUserMessageCameraTransition {
321
+ message Transition_DataDriven {
322
+ optional string filename = 1;
323
+ optional int32 attach_ent_index = 2;
324
+ }
325
+
326
+ optional uint32 camera_type = 1;
327
+ optional float duration = 2;
328
+ optional CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3;
329
+ }
330
+
331
+ message CUserMsg_ParticleManager {
332
+ message ReleaseParticleIndex {
333
+ }
334
+
335
+ message CreateParticle {
336
+ optional fixed64 particle_name_index = 1;
337
+ optional int32 attach_type = 2;
338
+ optional int32 entity_handle = 3;
339
+ }
340
+
341
+ message DestroyParticle {
342
+ optional bool destroy_immediately = 1;
343
+ }
344
+
345
+ message DestroyParticleInvolving {
346
+ optional bool destroy_immediately = 1;
347
+ optional int32 entity_handle = 3;
348
+ }
349
+
350
+ message UpdateParticle {
351
+ optional int32 control_point = 1;
352
+ optional CMsgVector position = 2;
353
+ }
354
+
355
+ message UpdateParticleFwd {
356
+ optional int32 control_point = 1;
357
+ optional CMsgVector forward = 2;
358
+ }
359
+
360
+ message UpdateParticleOrient {
361
+ optional int32 control_point = 1;
362
+ optional CMsgVector forward = 2;
363
+ optional CMsgVector right = 3;
364
+ optional CMsgVector up = 4;
365
+ }
366
+
367
+ message UpdateParticleFallback {
368
+ optional int32 control_point = 1;
369
+ optional CMsgVector position = 2;
370
+ }
371
+
372
+ message UpdateParticleOffset {
373
+ optional int32 control_point = 1;
374
+ optional CMsgVector origin_offset = 2;
375
+ }
376
+
377
+ message UpdateParticleEnt {
378
+ optional int32 control_point = 1;
379
+ optional int32 entity_handle = 2;
380
+ optional int32 attach_type = 3;
381
+ optional int32 attachment = 4;
382
+ optional CMsgVector fallback_position = 5;
383
+ optional bool include_wearables = 6;
384
+ }
385
+
386
+ message UpdateParticleSetFrozen {
387
+ optional bool set_frozen = 1;
388
+ }
389
+
390
+ message UpdateParticleShouldDraw {
391
+ optional bool should_draw = 1;
392
+ }
393
+
394
+ message ChangeControlPointAttachment {
395
+ optional int32 attachment_old = 1;
396
+ optional int32 attachment_new = 2;
397
+ optional int32 entity_handle = 3;
398
+ }
399
+
400
+ required PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE];
401
+ required uint32 index = 2;
402
+ optional CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3;
403
+ optional CUserMsg_ParticleManager.CreateParticle create_particle = 4;
404
+ optional CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5;
405
+ optional CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6;
406
+ optional CUserMsg_ParticleManager.UpdateParticle update_particle = 7;
407
+ optional CUserMsg_ParticleManager.UpdateParticleFwd update_particle_fwd = 8;
408
+ optional CUserMsg_ParticleManager.UpdateParticleOrient update_particle_orient = 9;
409
+ optional CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10;
410
+ optional CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11;
411
+ optional CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12;
412
+ optional CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14;
413
+ optional CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15;
414
+ optional CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16;
415
+ }
416
+
417
+ message CUserMsg_HudError {
418
+ optional int32 order_id = 1;
419
+ }
420
+
421
+ message CUserMsg_CustomGameEvent_ClientToServer {
422
+ optional string event_name = 1;
423
+ optional bytes data = 2;
424
+ }
425
+
426
+ message CUserMsg_CustomGameEvent_ServerToClient {
427
+ optional string event_name = 1;
428
+ optional bytes data = 2;
429
+ }
430
+
431
+ message CUserMsg_TrackedControllerInput_ClientToServer {
432
+ optional bytes data = 1;
433
+ }
434
+