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.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/BIN_README.txt +18 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +40 -0
- data/LICENSE.txt +21 -0
- data/README.md +7 -0
- data/Rakefile +2 -0
- data/bin/clarity-protobuf/clean +36 -0
- data/bin/clarity-protobuf/copy +75 -0
- data/bin/effigy/compile-proto +81 -0
- data/bin/effigy/mk-require-turds +43 -0
- data/bin/effigy/package +56 -0
- data/bin/effigy/tweak-proto +30 -0
- data/bin/effigy/tweak-rb +20 -0
- data/effigy_wire.gemspec +24 -0
- data/lib/effigy/wire/demo.pb.rb +205 -0
- data/lib/effigy/wire/dota_commonmessages.pb.rb +209 -0
- data/lib/effigy/wire/dota_modifiers.pb.rb +78 -0
- data/lib/effigy/wire/dota_usermessages.pb.rb +1315 -0
- data/lib/effigy/wire/netmessages.pb.rb +177 -0
- data/lib/effigy/wire/networkbasetypes.pb.rb +268 -0
- data/lib/effigy/wire/s1/s1_dota_usermessages.pb.rb +102 -0
- data/lib/effigy/wire/s1/s1_netmessages.pb.rb +121 -0
- data/lib/effigy/wire/s1/s1_usermessages.pb.rb +271 -0
- data/lib/effigy/wire/s1.rb +3 -0
- data/lib/effigy/wire/s2/s2_base_gcmessages.pb.rb +57 -0
- data/lib/effigy/wire/s2/s2_dota_gcmessages_common.pb.rb +214 -0
- data/lib/effigy/wire/s2/s2_dota_match_metadata.pb.rb +106 -0
- data/lib/effigy/wire/s2/s2_dota_usermessages.pb.rb +117 -0
- data/lib/effigy/wire/s2/s2_gameevents.pb.rb +172 -0
- data/lib/effigy/wire/s2/s2_netmessages.pb.rb +158 -0
- data/lib/effigy/wire/s2/s2_te.pb.rb +330 -0
- data/lib/effigy/wire/s2/s2_usermessages.pb.rb +514 -0
- data/lib/effigy/wire/s2.rb +3 -0
- data/lib/effigy/wire.rb +9 -0
- data/lib/effigy.rb +3 -0
- data/proto/demo.proto +157 -0
- data/proto/dota_commonmessages.proto +183 -0
- data/proto/dota_modifiers.proto +54 -0
- data/proto/dota_usermessages.proto +1152 -0
- data/proto/netmessages.proto +133 -0
- data/proto/networkbasetypes.proto +219 -0
- data/proto/s1/google/protobuf/descriptor.proto +622 -0
- data/proto/s1/s1_dota_usermessages.proto +89 -0
- data/proto/s1/s1_netmessages.proto +86 -0
- data/proto/s1/s1_usermessages.proto +217 -0
- data/proto/s2/google/protobuf/descriptor.proto +622 -0
- data/proto/s2/s2_base_gcmessages.proto +37 -0
- data/proto/s2/s2_dota_gcmessages_common.proto +177 -0
- data/proto/s2/s2_dota_match_metadata.proto +67 -0
- data/proto/s2/s2_dota_usermessages.proto +104 -0
- data/proto/s2/s2_gameevents.proto +125 -0
- data/proto/s2/s2_netmessages.proto +120 -0
- data/proto/s2/s2_te.proto +276 -0
- data/proto/s2/s2_usermessages.proto +434 -0
- metadata +148 -0
@@ -0,0 +1,330 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
##
|
4
|
+
# This file is auto-generated. DO NOT EDIT!
|
5
|
+
#
|
6
|
+
require 'protobuf/message'
|
7
|
+
|
8
|
+
|
9
|
+
##
|
10
|
+
# Imports
|
11
|
+
#
|
12
|
+
require_relative '../networkbasetypes.pb'
|
13
|
+
|
14
|
+
module Effigy
|
15
|
+
module Wire
|
16
|
+
module S2
|
17
|
+
|
18
|
+
##
|
19
|
+
# Enum Classes
|
20
|
+
#
|
21
|
+
class ETEProtobufIds < ::Protobuf::Enum
|
22
|
+
define :TE_EffectDispatchId, 400
|
23
|
+
define :TE_ArmorRicochetId, 401
|
24
|
+
define :TE_BeamEntPointId, 402
|
25
|
+
define :TE_BeamEntsId, 403
|
26
|
+
define :TE_BeamPointsId, 404
|
27
|
+
define :TE_BeamRingId, 405
|
28
|
+
define :TE_BreakModelId, 406
|
29
|
+
define :TE_BSPDecalId, 407
|
30
|
+
define :TE_BubblesId, 408
|
31
|
+
define :TE_BubbleTrailId, 409
|
32
|
+
define :TE_DecalId, 410
|
33
|
+
define :TE_WorldDecalId, 411
|
34
|
+
define :TE_EnergySplashId, 412
|
35
|
+
define :TE_FizzId, 413
|
36
|
+
define :TE_ShatterSurfaceId, 414
|
37
|
+
define :TE_GlowSpriteId, 415
|
38
|
+
define :TE_ImpactId, 416
|
39
|
+
define :TE_MuzzleFlashId, 417
|
40
|
+
define :TE_BloodStreamId, 418
|
41
|
+
define :TE_ExplosionId, 419
|
42
|
+
define :TE_DustId, 420
|
43
|
+
define :TE_LargeFunnelId, 421
|
44
|
+
define :TE_SparksId, 422
|
45
|
+
define :TE_PhysicsPropId, 423
|
46
|
+
define :TE_PlayerDecalId, 424
|
47
|
+
define :TE_ProjectedDecalId, 425
|
48
|
+
define :TE_SmokeId, 426
|
49
|
+
end
|
50
|
+
|
51
|
+
|
52
|
+
##
|
53
|
+
# Message Classes
|
54
|
+
#
|
55
|
+
class CMsgTEArmorRicochet < ::Protobuf::Message; end
|
56
|
+
class CMsgTEBaseBeam < ::Protobuf::Message; end
|
57
|
+
class CMsgTEBeamEntPoint < ::Protobuf::Message; end
|
58
|
+
class CMsgTEBeamEnts < ::Protobuf::Message; end
|
59
|
+
class CMsgTEBeamPoints < ::Protobuf::Message; end
|
60
|
+
class CMsgTEBeamRing < ::Protobuf::Message; end
|
61
|
+
class CMsgTEBreakModel < ::Protobuf::Message; end
|
62
|
+
class CMsgTEBSPDecal < ::Protobuf::Message; end
|
63
|
+
class CMsgTEBubbles < ::Protobuf::Message; end
|
64
|
+
class CMsgTEBubbleTrail < ::Protobuf::Message; end
|
65
|
+
class CMsgTEDecal < ::Protobuf::Message; end
|
66
|
+
class CMsgEffectData < ::Protobuf::Message; end
|
67
|
+
class CMsgTEEffectDispatch < ::Protobuf::Message; end
|
68
|
+
class CMsgTEEnergySplash < ::Protobuf::Message; end
|
69
|
+
class CMsgTEFizz < ::Protobuf::Message; end
|
70
|
+
class CMsgTEShatterSurface < ::Protobuf::Message; end
|
71
|
+
class CMsgTEGlowSprite < ::Protobuf::Message; end
|
72
|
+
class CMsgTEImpact < ::Protobuf::Message; end
|
73
|
+
class CMsgTEMuzzleFlash < ::Protobuf::Message; end
|
74
|
+
class CMsgTEBloodStream < ::Protobuf::Message; end
|
75
|
+
class CMsgTEExplosion < ::Protobuf::Message; end
|
76
|
+
class CMsgTEDust < ::Protobuf::Message; end
|
77
|
+
class CMsgTELargeFunnel < ::Protobuf::Message; end
|
78
|
+
class CMsgTESparks < ::Protobuf::Message; end
|
79
|
+
class CMsgTEPhysicsProp < ::Protobuf::Message; end
|
80
|
+
class CMsgTEPlayerDecal < ::Protobuf::Message; end
|
81
|
+
class CMsgTEProjectedDecal < ::Protobuf::Message; end
|
82
|
+
class CMsgTESmoke < ::Protobuf::Message; end
|
83
|
+
class CMsgTEWorldDecal < ::Protobuf::Message; end
|
84
|
+
|
85
|
+
|
86
|
+
##
|
87
|
+
# Message Fields
|
88
|
+
#
|
89
|
+
class CMsgTEArmorRicochet
|
90
|
+
optional ::Effigy::Wire::CMsgVector, :pos, 1
|
91
|
+
optional ::Effigy::Wire::CMsgVector, :dir, 2
|
92
|
+
end
|
93
|
+
|
94
|
+
class CMsgTEBaseBeam
|
95
|
+
optional :fixed64, :modelindex, 1
|
96
|
+
optional :fixed64, :haloindex, 2
|
97
|
+
optional :uint32, :startframe, 3
|
98
|
+
optional :uint32, :framerate, 4
|
99
|
+
optional :float, :life, 5
|
100
|
+
optional :float, :width, 6
|
101
|
+
optional :float, :endwidth, 7
|
102
|
+
optional :uint32, :fadelength, 8
|
103
|
+
optional :float, :amplitude, 9
|
104
|
+
optional :fixed32, :color, 10
|
105
|
+
optional :uint32, :speed, 11
|
106
|
+
optional :uint32, :flags, 12
|
107
|
+
end
|
108
|
+
|
109
|
+
class CMsgTEBeamEntPoint
|
110
|
+
optional ::Effigy::Wire::S2::CMsgTEBaseBeam, :base, 1
|
111
|
+
optional :uint32, :startentity, 2
|
112
|
+
optional :uint32, :endentity, 3
|
113
|
+
optional ::Effigy::Wire::CMsgVector, :start, 4
|
114
|
+
optional ::Effigy::Wire::CMsgVector, :end, 5
|
115
|
+
end
|
116
|
+
|
117
|
+
class CMsgTEBeamEnts
|
118
|
+
optional ::Effigy::Wire::S2::CMsgTEBaseBeam, :base, 1
|
119
|
+
optional :uint32, :startentity, 2
|
120
|
+
optional :uint32, :endentity, 3
|
121
|
+
end
|
122
|
+
|
123
|
+
class CMsgTEBeamPoints
|
124
|
+
optional ::Effigy::Wire::S2::CMsgTEBaseBeam, :base, 1
|
125
|
+
optional ::Effigy::Wire::CMsgVector, :start, 2
|
126
|
+
optional ::Effigy::Wire::CMsgVector, :end, 3
|
127
|
+
end
|
128
|
+
|
129
|
+
class CMsgTEBeamRing
|
130
|
+
optional ::Effigy::Wire::S2::CMsgTEBaseBeam, :base, 1
|
131
|
+
optional :uint32, :startentity, 2
|
132
|
+
optional :uint32, :endentity, 3
|
133
|
+
end
|
134
|
+
|
135
|
+
class CMsgTEBreakModel
|
136
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
137
|
+
optional ::Effigy::Wire::CMsgQAngle, :angles, 2
|
138
|
+
optional ::Effigy::Wire::CMsgVector, :size, 3
|
139
|
+
optional ::Effigy::Wire::CMsgVector, :velocity, 4
|
140
|
+
optional :uint32, :randomization, 5
|
141
|
+
optional :fixed64, :modelindex, 6
|
142
|
+
optional :uint32, :count, 7
|
143
|
+
optional :float, :time, 8
|
144
|
+
optional :uint32, :flags, 9
|
145
|
+
end
|
146
|
+
|
147
|
+
class CMsgTEBSPDecal
|
148
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
149
|
+
optional ::Effigy::Wire::CMsgVector, :normal, 2
|
150
|
+
optional ::Effigy::Wire::CMsgVector, :saxis, 3
|
151
|
+
optional :uint32, :entity, 4
|
152
|
+
optional :uint32, :index, 5
|
153
|
+
end
|
154
|
+
|
155
|
+
class CMsgTEBubbles
|
156
|
+
optional ::Effigy::Wire::CMsgVector, :mins, 1
|
157
|
+
optional ::Effigy::Wire::CMsgVector, :maxs, 2
|
158
|
+
optional :float, :height, 3
|
159
|
+
optional :uint32, :count, 4
|
160
|
+
optional :float, :speed, 5
|
161
|
+
end
|
162
|
+
|
163
|
+
class CMsgTEBubbleTrail
|
164
|
+
optional ::Effigy::Wire::CMsgVector, :mins, 1
|
165
|
+
optional ::Effigy::Wire::CMsgVector, :maxs, 2
|
166
|
+
optional :float, :waterz, 3
|
167
|
+
optional :uint32, :count, 4
|
168
|
+
optional :float, :speed, 5
|
169
|
+
end
|
170
|
+
|
171
|
+
class CMsgTEDecal
|
172
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
173
|
+
optional ::Effigy::Wire::CMsgVector, :start, 2
|
174
|
+
optional :uint32, :entity, 3
|
175
|
+
optional :uint32, :hitbox, 4
|
176
|
+
optional :uint32, :index, 5
|
177
|
+
end
|
178
|
+
|
179
|
+
class CMsgEffectData
|
180
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
181
|
+
optional ::Effigy::Wire::CMsgVector, :start, 2
|
182
|
+
optional ::Effigy::Wire::CMsgVector, :normal, 3
|
183
|
+
optional ::Effigy::Wire::CMsgQAngle, :angles, 4
|
184
|
+
optional :fixed32, :entity, 5
|
185
|
+
optional :fixed32, :otherentity, 6
|
186
|
+
optional :float, :scale, 7
|
187
|
+
optional :float, :magnitude, 8
|
188
|
+
optional :float, :radius, 9
|
189
|
+
optional :fixed32, :surfaceprop, 10
|
190
|
+
optional :fixed64, :effectindex, 11
|
191
|
+
optional :uint32, :damagetype, 12
|
192
|
+
optional :uint32, :material, 13
|
193
|
+
optional :uint32, :hitbox, 14
|
194
|
+
optional :uint32, :color, 15
|
195
|
+
optional :uint32, :flags, 16
|
196
|
+
optional :int32, :attachmentindex, 17
|
197
|
+
optional :uint32, :effectname, 18
|
198
|
+
optional :uint32, :attachmentname, 19
|
199
|
+
end
|
200
|
+
|
201
|
+
class CMsgTEEffectDispatch
|
202
|
+
optional ::Effigy::Wire::S2::CMsgEffectData, :effectdata, 1
|
203
|
+
end
|
204
|
+
|
205
|
+
class CMsgTEEnergySplash
|
206
|
+
optional ::Effigy::Wire::CMsgVector, :pos, 1
|
207
|
+
optional ::Effigy::Wire::CMsgVector, :dir, 2
|
208
|
+
optional :bool, :explosive, 3
|
209
|
+
end
|
210
|
+
|
211
|
+
class CMsgTEFizz
|
212
|
+
optional :uint32, :entity, 1
|
213
|
+
optional :uint32, :density, 2
|
214
|
+
optional :int32, :current, 3
|
215
|
+
end
|
216
|
+
|
217
|
+
class CMsgTEShatterSurface
|
218
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
219
|
+
optional ::Effigy::Wire::CMsgQAngle, :angles, 2
|
220
|
+
optional ::Effigy::Wire::CMsgVector, :force, 3
|
221
|
+
optional ::Effigy::Wire::CMsgVector, :forcepos, 4
|
222
|
+
optional :float, :width, 5
|
223
|
+
optional :float, :height, 6
|
224
|
+
optional :float, :shardsize, 7
|
225
|
+
optional :uint32, :surfacetype, 8
|
226
|
+
optional :fixed32, :frontcolor, 9
|
227
|
+
optional :fixed32, :backcolor, 10
|
228
|
+
end
|
229
|
+
|
230
|
+
class CMsgTEGlowSprite
|
231
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
232
|
+
optional :float, :scale, 2
|
233
|
+
optional :float, :life, 3
|
234
|
+
optional :uint32, :brightness, 4
|
235
|
+
end
|
236
|
+
|
237
|
+
class CMsgTEImpact
|
238
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
239
|
+
optional ::Effigy::Wire::CMsgVector, :normal, 2
|
240
|
+
optional :uint32, :type, 3
|
241
|
+
end
|
242
|
+
|
243
|
+
class CMsgTEMuzzleFlash
|
244
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
245
|
+
optional ::Effigy::Wire::CMsgQAngle, :angles, 2
|
246
|
+
optional :float, :scale, 3
|
247
|
+
optional :uint32, :type, 4
|
248
|
+
end
|
249
|
+
|
250
|
+
class CMsgTEBloodStream
|
251
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
252
|
+
optional ::Effigy::Wire::CMsgVector, :direction, 2
|
253
|
+
optional :fixed32, :color, 3
|
254
|
+
optional :uint32, :amount, 4
|
255
|
+
end
|
256
|
+
|
257
|
+
class CMsgTEExplosion
|
258
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
259
|
+
optional :uint32, :framerate, 2
|
260
|
+
optional :uint32, :flags, 3
|
261
|
+
optional ::Effigy::Wire::CMsgVector, :normal, 4
|
262
|
+
optional :uint32, :materialtype, 5
|
263
|
+
optional :uint32, :radius, 6
|
264
|
+
optional :uint32, :magnitude, 7
|
265
|
+
optional :float, :scale, 8
|
266
|
+
optional :bool, :affect_ragdolls, 9
|
267
|
+
end
|
268
|
+
|
269
|
+
class CMsgTEDust
|
270
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
271
|
+
optional :float, :size, 2
|
272
|
+
optional :float, :speed, 3
|
273
|
+
optional ::Effigy::Wire::CMsgVector, :direction, 4
|
274
|
+
end
|
275
|
+
|
276
|
+
class CMsgTELargeFunnel
|
277
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
278
|
+
optional :uint32, :reversed, 2
|
279
|
+
end
|
280
|
+
|
281
|
+
class CMsgTESparks
|
282
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
283
|
+
optional :uint32, :magnitude, 2
|
284
|
+
optional :uint32, :length, 3
|
285
|
+
optional ::Effigy::Wire::CMsgVector, :direction, 4
|
286
|
+
end
|
287
|
+
|
288
|
+
class CMsgTEPhysicsProp
|
289
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
290
|
+
optional ::Effigy::Wire::CMsgVector, :velocity, 2
|
291
|
+
optional ::Effigy::Wire::CMsgQAngle, :angles, 3
|
292
|
+
optional :fixed32, :skin, 4
|
293
|
+
optional :uint32, :flags, 5
|
294
|
+
optional :uint32, :effects, 6
|
295
|
+
optional :fixed32, :color, 7
|
296
|
+
optional :fixed64, :modelindex, 8
|
297
|
+
optional :uint32, :breakmodelsnottomake, 9
|
298
|
+
optional :float, :scale, 10
|
299
|
+
end
|
300
|
+
|
301
|
+
class CMsgTEPlayerDecal
|
302
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
303
|
+
optional :uint32, :player, 2
|
304
|
+
optional :uint32, :entity, 3
|
305
|
+
end
|
306
|
+
|
307
|
+
class CMsgTEProjectedDecal
|
308
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
309
|
+
optional ::Effigy::Wire::CMsgQAngle, :angles, 2
|
310
|
+
optional :uint32, :index, 3
|
311
|
+
optional :float, :distance, 4
|
312
|
+
end
|
313
|
+
|
314
|
+
class CMsgTESmoke
|
315
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
316
|
+
optional :float, :scale, 2
|
317
|
+
end
|
318
|
+
|
319
|
+
class CMsgTEWorldDecal
|
320
|
+
optional ::Effigy::Wire::CMsgVector, :origin, 1
|
321
|
+
optional ::Effigy::Wire::CMsgVector, :normal, 2
|
322
|
+
optional :uint32, :index, 3
|
323
|
+
end
|
324
|
+
|
325
|
+
end
|
326
|
+
|
327
|
+
end
|
328
|
+
|
329
|
+
end
|
330
|
+
|