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,177 @@
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
+
17
+ ##
18
+ # Enum Classes
19
+ #
20
+ class VoiceDataFormat_t < ::Protobuf::Enum
21
+ define :VOICEDATA_FORMAT_STEAM, 0
22
+ define :VOICEDATA_FORMAT_ENGINE, 1
23
+ end
24
+
25
+
26
+ ##
27
+ # Message Classes
28
+ #
29
+ class CSVCMsg_GameEventList < ::Protobuf::Message
30
+ class Key_t < ::Protobuf::Message; end
31
+ class Descriptor_t < ::Protobuf::Message; end
32
+
33
+ end
34
+
35
+ class CSVCMsg_PacketEntities < ::Protobuf::Message; end
36
+ class CSVCMsg_ServerInfo < ::Protobuf::Message; end
37
+ class CSVCMsg_ClassInfo < ::Protobuf::Message
38
+ class Class_t < ::Protobuf::Message; end
39
+
40
+ end
41
+
42
+ class CSVCMsg_SetView < ::Protobuf::Message; end
43
+ class CSVCMsg_Print < ::Protobuf::Message; end
44
+ class CSVCMsg_VoiceInit < ::Protobuf::Message; end
45
+ class CSVCMsg_Sounds < ::Protobuf::Message
46
+ class Sounddata_t < ::Protobuf::Message; end
47
+
48
+ end
49
+
50
+ class CSVCMsg_UpdateStringTable < ::Protobuf::Message; end
51
+ class CSVCMsg_FullFrameSplit < ::Protobuf::Message; end
52
+
53
+
54
+ ##
55
+ # Message Fields
56
+ #
57
+ class CSVCMsg_GameEventList
58
+ class Key_t
59
+ optional :int32, :type, 1
60
+ optional :string, :name, 2
61
+ end
62
+
63
+ class Descriptor_t
64
+ optional :int32, :eventid, 1
65
+ optional :string, :name, 2
66
+ repeated ::Effigy::Wire::CSVCMsg_GameEventList::Key_t, :keys, 3
67
+ end
68
+
69
+ repeated ::Effigy::Wire::CSVCMsg_GameEventList::Descriptor_t, :descriptors, 1
70
+ end
71
+
72
+ class CSVCMsg_PacketEntities
73
+ optional :int32, :max_entries, 1
74
+ optional :int32, :updated_entries, 2
75
+ optional :bool, :is_delta, 3
76
+ optional :bool, :update_baseline, 4
77
+ optional :int32, :baseline, 5
78
+ optional :int32, :delta_from, 6
79
+ optional :bytes, :entity_data, 7
80
+ optional :bool, :pending_full_frame, 8
81
+ optional :uint32, :active_spawngroup_handle, 9
82
+ optional :uint32, :max_spawngroup_creationsequence, 10
83
+ end
84
+
85
+ class CSVCMsg_ServerInfo
86
+ optional :int32, :protocol, 1
87
+ optional :int32, :server_count, 2
88
+ optional :bool, :is_dedicated, 3
89
+ optional :bool, :is_hltv, 4
90
+ optional :bool, :is_replay, 5
91
+ optional :int32, :c_os, 6
92
+ optional :fixed32, :map_crc, 7
93
+ optional :fixed32, :client_crc, 8
94
+ optional :fixed32, :string_table_crc, 9
95
+ optional :int32, :max_clients, 10
96
+ optional :int32, :max_classes, 11
97
+ optional :int32, :player_slot, 12
98
+ optional :float, :tick_interval, 13
99
+ optional :string, :game_dir, 14
100
+ optional :string, :map_name, 15
101
+ optional :string, :sky_name, 16
102
+ optional :string, :host_name, 17
103
+ optional :string, :addon_name, 18
104
+ optional ::Effigy::Wire::CSVCMsg_GameSessionConfiguration, :game_session_config, 19
105
+ optional :bytes, :game_session_manifest, 20
106
+ end
107
+
108
+ class CSVCMsg_ClassInfo
109
+ class Class_t
110
+ optional :int32, :class_id, 1
111
+ optional :string, :data_table_name, 2
112
+ optional :string, :class_name, 3
113
+ end
114
+
115
+ optional :bool, :create_on_client, 1
116
+ repeated ::Effigy::Wire::CSVCMsg_ClassInfo::Class_t, :classes, 2
117
+ end
118
+
119
+ class CSVCMsg_SetView
120
+ optional :int32, :entity_index, 1
121
+ optional :int32, :slot, 2
122
+ end
123
+
124
+ class CSVCMsg_Print
125
+ optional :string, :text, 1
126
+ end
127
+
128
+ class CSVCMsg_VoiceInit
129
+ optional :int32, :quality, 1
130
+ optional :string, :codec, 2
131
+ optional :int32, :version, 3, :default => 0
132
+ end
133
+
134
+ class CSVCMsg_Sounds
135
+ class Sounddata_t
136
+ optional :sint32, :origin_x, 1
137
+ optional :sint32, :origin_y, 2
138
+ optional :sint32, :origin_z, 3
139
+ optional :uint32, :volume, 4
140
+ optional :float, :delay_value, 5
141
+ optional :int32, :sequence_number, 6
142
+ optional :int32, :entity_index, 7
143
+ optional :int32, :channel, 8
144
+ optional :int32, :pitch, 9
145
+ optional :int32, :flags, 10
146
+ optional :uint32, :sound_num, 11
147
+ optional :fixed32, :sound_num_handle, 12
148
+ optional :int32, :speaker_entity, 13
149
+ optional :int32, :random_seed, 14
150
+ optional :int32, :sound_level, 15
151
+ optional :bool, :is_sentence, 16
152
+ optional :bool, :is_ambient, 17
153
+ optional :uint32, :guid, 18
154
+ optional :fixed64, :sound_resource_id, 19
155
+ end
156
+
157
+ optional :bool, :reliable_sound, 1
158
+ repeated ::Effigy::Wire::CSVCMsg_Sounds::Sounddata_t, :sounds, 2
159
+ end
160
+
161
+ class CSVCMsg_UpdateStringTable
162
+ optional :int32, :table_id, 1
163
+ optional :int32, :num_changed_entries, 2
164
+ optional :bytes, :string_data, 3
165
+ end
166
+
167
+ class CSVCMsg_FullFrameSplit
168
+ optional :int32, :tick, 1
169
+ optional :int32, :section, 2
170
+ optional :int32, :total, 3
171
+ optional :bytes, :data, 4
172
+ end
173
+
174
+ end
175
+
176
+ end
177
+
@@ -0,0 +1,268 @@
1
+ # encoding: utf-8
2
+
3
+ ##
4
+ # This file is auto-generated. DO NOT EDIT!
5
+ #
6
+ require 'protobuf/message'
7
+
8
+ module Effigy
9
+ module Wire
10
+
11
+ ##
12
+ # Enum Classes
13
+ #
14
+ class NET_Messages < ::Protobuf::Enum
15
+ define :NET_NOP, 0
16
+ define :NET_Disconnect, 1
17
+ define :NET_File, 2
18
+ define :NET_SplitScreenUser, 3
19
+ define :NET_Tick, 4
20
+ define :NET_StringCmd, 5
21
+ define :NET_SetConVar, 6
22
+ define :NET_SignonState, 7
23
+ define :NET_SpawnGroup_Load, 8
24
+ define :NET_SpawnGroup_ManifestUpdate, 9
25
+ define :NET_SpawnGroup_SetCreationTick, 11
26
+ define :NET_SpawnGroup_Unload, 12
27
+ define :NET_SpawnGroup_LoadCompleted, 13
28
+ define :NET_ReliableMessageEndMarker, 14
29
+ end
30
+
31
+ class SpawnGroupFlags_t < ::Protobuf::Enum
32
+ define :SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE, 1
33
+ define :SPAWN_GROUP_DONT_SPAWN_ENTITIES, 2
34
+ define :SPAWN_GROUP_SYNCHRONOUS_SPAWN, 4
35
+ define :SPAWN_GROUP_IS_INITIAL_SPAWN_GROUP, 8
36
+ define :SPAWN_GROUP_CREATE_CLIENT_ONLY_ENTITIES, 16
37
+ define :SPAWN_GROUP_SAVE_ENTITIES, 32
38
+ define :SPAWN_GROUP_BLOCK_UNTIL_LOADED, 64
39
+ define :SPAWN_GROUP_LOAD_STREAMING_DATA, 128
40
+ define :SPAWN_GROUP_CREATE_NEW_SCENE_WORLD, 256
41
+ end
42
+
43
+
44
+ ##
45
+ # Message Classes
46
+ #
47
+ class CMsgVector < ::Protobuf::Message; end
48
+ class CMsgVector2D < ::Protobuf::Message; end
49
+ class CMsgQAngle < ::Protobuf::Message; end
50
+ class CMsgPlayerInfo < ::Protobuf::Message; end
51
+ class CMsg_CVars < ::Protobuf::Message
52
+ class CVar < ::Protobuf::Message; end
53
+
54
+ end
55
+
56
+ class CNETMsg_NOP < ::Protobuf::Message; end
57
+ class CNETMsg_SplitScreenUser < ::Protobuf::Message; end
58
+ class CNETMsg_Disconnect < ::Protobuf::Message; end
59
+ class CNETMsg_File < ::Protobuf::Message; end
60
+ class CNETMsg_Tick < ::Protobuf::Message; end
61
+ class CNETMsg_StringCmd < ::Protobuf::Message; end
62
+ class CNETMsg_SetConVar < ::Protobuf::Message; end
63
+ class CNETMsg_SignonState < ::Protobuf::Message; end
64
+ class CSVCMsg_GameEvent < ::Protobuf::Message
65
+ class Key_t < ::Protobuf::Message; end
66
+
67
+ end
68
+
69
+ class CSVCMsgList_GameEvents < ::Protobuf::Message
70
+ class Event_t < ::Protobuf::Message; end
71
+
72
+ end
73
+
74
+ class CSVCMsg_UserMessage < ::Protobuf::Message; end
75
+ class CSVCMsgList_UserMessages < ::Protobuf::Message
76
+ class Usermsg_t < ::Protobuf::Message; end
77
+
78
+ end
79
+
80
+ class CNETMsg_SpawnGroup_Load < ::Protobuf::Message; end
81
+ class CNETMsg_SpawnGroup_ManifestUpdate < ::Protobuf::Message; end
82
+ class CNETMsg_SpawnGroup_SetCreationTick < ::Protobuf::Message; end
83
+ class CNETMsg_SpawnGroup_Unload < ::Protobuf::Message; end
84
+ class CNETMsg_SpawnGroup_LoadCompleted < ::Protobuf::Message; end
85
+ class CSVCMsg_GameSessionConfiguration < ::Protobuf::Message; end
86
+ class CNETMsg_ReliableMessageEndMarker < ::Protobuf::Message; end
87
+
88
+
89
+ ##
90
+ # Message Fields
91
+ #
92
+ class CMsgVector
93
+ optional :float, :x, 1
94
+ optional :float, :y, 2
95
+ optional :float, :z, 3
96
+ end
97
+
98
+ class CMsgVector2D
99
+ optional :float, :x, 1
100
+ optional :float, :y, 2
101
+ end
102
+
103
+ class CMsgQAngle
104
+ optional :float, :x, 1
105
+ optional :float, :y, 2
106
+ optional :float, :z, 3
107
+ end
108
+
109
+ class CMsgPlayerInfo
110
+ optional :string, :name, 1
111
+ optional :fixed64, :xuid, 2
112
+ optional :int32, :userid, 3
113
+ optional :fixed64, :steamid, 4
114
+ optional :bool, :fakeplayer, 5
115
+ optional :bool, :ishltv, 6
116
+ repeated :fixed32, :customFiles, 7
117
+ optional :int32, :filesDownloaded, 8
118
+ end
119
+
120
+ class CMsg_CVars
121
+ class CVar
122
+ optional :string, :name, 1
123
+ optional :string, :value, 2
124
+ end
125
+
126
+ repeated ::Effigy::Wire::CMsg_CVars::CVar, :cvars, 1
127
+ end
128
+
129
+ class CNETMsg_SplitScreenUser
130
+ optional :int32, :slot, 1
131
+ end
132
+
133
+ class CNETMsg_File
134
+ optional :int32, :transfer_id, 1
135
+ optional :string, :file_name, 2
136
+ optional :bool, :is_replay_demo_file, 3
137
+ optional :bool, :deny, 4
138
+ optional :bool, :is_file_requested, 5
139
+ end
140
+
141
+ class CNETMsg_Tick
142
+ optional :uint32, :tick, 1
143
+ optional :uint32, :host_frametime, 2
144
+ optional :uint32, :host_frametime_std_deviation, 3
145
+ optional :uint32, :host_computationtime, 4
146
+ optional :uint32, :host_computationtime_std_deviation, 5
147
+ optional :uint32, :host_framestarttime_std_deviation, 6
148
+ end
149
+
150
+ class CNETMsg_StringCmd
151
+ optional :string, :command, 1
152
+ end
153
+
154
+ class CNETMsg_SetConVar
155
+ optional ::Effigy::Wire::CMsg_CVars, :convars, 1
156
+ end
157
+
158
+ class CNETMsg_SignonState
159
+ optional :uint32, :signon_state, 1
160
+ optional :uint32, :spawn_count, 2
161
+ optional :uint32, :num_server_players, 3
162
+ repeated :string, :players_networkids, 4
163
+ optional :string, :map_name, 5
164
+ end
165
+
166
+ class CSVCMsg_GameEvent
167
+ class Key_t
168
+ optional :int32, :type, 1
169
+ optional :string, :val_string, 2
170
+ optional :float, :val_float, 3
171
+ optional :int32, :val_long, 4
172
+ optional :int32, :val_short, 5
173
+ optional :int32, :val_byte, 6
174
+ optional :bool, :val_bool, 7
175
+ optional :uint64, :val_uint64, 8
176
+ end
177
+
178
+ optional :string, :event_name, 1
179
+ optional :int32, :eventid, 2
180
+ repeated ::Effigy::Wire::CSVCMsg_GameEvent::Key_t, :keys, 3
181
+ end
182
+
183
+ class CSVCMsgList_GameEvents
184
+ class Event_t
185
+ optional :int32, :tick, 1
186
+ optional ::Effigy::Wire::CSVCMsg_GameEvent, :event, 2
187
+ end
188
+
189
+ repeated ::Effigy::Wire::CSVCMsgList_GameEvents::Event_t, :events, 1
190
+ end
191
+
192
+ class CSVCMsg_UserMessage
193
+ optional :int32, :msg_type, 1
194
+ optional :bytes, :msg_data, 2
195
+ end
196
+
197
+ class CSVCMsgList_UserMessages
198
+ class Usermsg_t
199
+ optional :int32, :tick, 1
200
+ optional ::Effigy::Wire::CSVCMsg_UserMessage, :msg, 2
201
+ end
202
+
203
+ repeated ::Effigy::Wire::CSVCMsgList_UserMessages::Usermsg_t, :usermsgs, 1
204
+ end
205
+
206
+ class CNETMsg_SpawnGroup_Load
207
+ optional :string, :worldname, 1
208
+ optional :string, :entitylumpname, 2
209
+ optional :string, :entityfiltername, 3
210
+ optional :uint32, :spawngrouphandle, 4
211
+ optional :uint32, :spawngroupownerhandle, 5
212
+ optional ::Effigy::Wire::CMsgVector, :world_offset_pos, 6
213
+ optional ::Effigy::Wire::CMsgQAngle, :world_offset_angle, 7
214
+ optional :bytes, :spawngroupmanifest, 8
215
+ optional :uint32, :flags, 9
216
+ optional :int32, :tickcount, 10
217
+ optional :bool, :manifestincomplete, 11
218
+ optional :string, :localnamefixup, 12
219
+ optional :string, :parentnamefixup, 13
220
+ optional :int32, :manifestloadpriority, 14
221
+ optional :uint32, :worldgroupid, 15
222
+ optional :uint32, :creationsequence, 16
223
+ end
224
+
225
+ class CNETMsg_SpawnGroup_ManifestUpdate
226
+ optional :uint32, :spawngrouphandle, 1
227
+ optional :bytes, :spawngroupmanifest, 2
228
+ optional :bool, :manifestincomplete, 3
229
+ end
230
+
231
+ class CNETMsg_SpawnGroup_SetCreationTick
232
+ optional :uint32, :spawngrouphandle, 1
233
+ optional :int32, :tickcount, 2
234
+ optional :uint32, :creationsequence, 3
235
+ end
236
+
237
+ class CNETMsg_SpawnGroup_Unload
238
+ optional :uint32, :spawngrouphandle, 1
239
+ optional :uint32, :flags, 2
240
+ optional :int32, :tickcount, 3
241
+ end
242
+
243
+ class CNETMsg_SpawnGroup_LoadCompleted
244
+ optional :uint32, :spawngrouphandle, 1
245
+ end
246
+
247
+ class CSVCMsg_GameSessionConfiguration
248
+ optional :bool, :is_multiplayer, 1
249
+ optional :bool, :is_loadsavegame, 2
250
+ optional :bool, :is_background_map, 3
251
+ optional :bool, :is_headless, 4
252
+ optional :uint32, :min_client_limit, 5
253
+ optional :uint32, :max_client_limit, 6
254
+ optional :uint32, :max_clients, 7
255
+ optional :fixed32, :tick_interval, 8
256
+ optional :string, :hostname, 9
257
+ optional :string, :savegamename, 10
258
+ optional :string, :s1_mapname, 11
259
+ optional :string, :gamemode, 12
260
+ optional :string, :server_ip_address, 13
261
+ optional :bytes, :data, 14
262
+ optional :bool, :is_localonly, 15
263
+ end
264
+
265
+ end
266
+
267
+ end
268
+
@@ -0,0 +1,102 @@
1
+ # encoding: utf-8
2
+
3
+ ##
4
+ # This file is auto-generated. DO NOT EDIT!
5
+ #
6
+ require 'protobuf/message'
7
+
8
+ module Effigy
9
+ module Wire
10
+ module S1
11
+
12
+ ##
13
+ # Enum Classes
14
+ #
15
+ class EDotaUserMessages < ::Protobuf::Enum
16
+ define :DOTA_UM_AddUnitToSelection, 64
17
+ define :DOTA_UM_AIDebugLine, 65
18
+ define :DOTA_UM_ChatEvent, 66
19
+ define :DOTA_UM_CombatHeroPositions, 67
20
+ define :DOTA_UM_CombatLogData, 68
21
+ define :DOTA_UM_CombatLogShowDeath, 70
22
+ define :DOTA_UM_CreateLinearProjectile, 71
23
+ define :DOTA_UM_DestroyLinearProjectile, 72
24
+ define :DOTA_UM_DodgeTrackingProjectiles, 73
25
+ define :DOTA_UM_GlobalLightColor, 74
26
+ define :DOTA_UM_GlobalLightDirection, 75
27
+ define :DOTA_UM_InvalidCommand, 76
28
+ define :DOTA_UM_LocationPing, 77
29
+ define :DOTA_UM_MapLine, 78
30
+ define :DOTA_UM_MiniKillCamInfo, 79
31
+ define :DOTA_UM_MinimapDebugPoint, 80
32
+ define :DOTA_UM_MinimapEvent, 81
33
+ define :DOTA_UM_NevermoreRequiem, 82
34
+ define :DOTA_UM_OverheadEvent, 83
35
+ define :DOTA_UM_SetNextAutobuyItem, 84
36
+ define :DOTA_UM_SharedCooldown, 85
37
+ define :DOTA_UM_SpectatorPlayerClick, 86
38
+ define :DOTA_UM_TutorialTipInfo, 87
39
+ define :DOTA_UM_UnitEvent, 88
40
+ define :DOTA_UM_ParticleManager, 89
41
+ define :DOTA_UM_BotChat, 90
42
+ define :DOTA_UM_HudError, 91
43
+ define :DOTA_UM_ItemPurchased, 92
44
+ define :DOTA_UM_Ping, 93
45
+ define :DOTA_UM_ItemFound, 94
46
+ define :DOTA_UM_CharacterSpeakConcept, 95
47
+ define :DOTA_UM_SwapVerify, 96
48
+ define :DOTA_UM_WorldLine, 97
49
+ define :DOTA_UM_TournamentDrop, 98
50
+ define :DOTA_UM_ItemAlert, 99
51
+ define :DOTA_UM_HalloweenDrops, 100
52
+ define :DOTA_UM_ChatWheel, 101
53
+ define :DOTA_UM_ReceivedXmasGift, 102
54
+ define :DOTA_UM_UpdateSharedContent, 103
55
+ define :DOTA_UM_TutorialRequestExp, 104
56
+ define :DOTA_UM_TutorialPingMinimap, 105
57
+ define :DOTA_UM_GamerulesStateChanged, 106
58
+ define :DOTA_UM_ShowSurvey, 107
59
+ define :DOTA_UM_TutorialFade, 108
60
+ define :DOTA_UM_AddQuestLogEntry, 109
61
+ define :DOTA_UM_SendStatPopup, 110
62
+ define :DOTA_UM_TutorialFinish, 111
63
+ define :DOTA_UM_SendRoshanPopup, 112
64
+ define :DOTA_UM_SendGenericToolTip, 113
65
+ define :DOTA_UM_SendFinalGold, 114
66
+ define :DOTA_UM_CustomMsg, 115
67
+ define :DOTA_UM_CoachHUDPing, 116
68
+ define :DOTA_UM_ClientLoadGridNav, 117
69
+ define :DOTA_UM_AbilityPing, 118
70
+ define :DOTA_UM_ShowGenericPopup, 119
71
+ define :DOTA_UM_VoteStart, 120
72
+ define :DOTA_UM_VoteUpdate, 121
73
+ define :DOTA_UM_VoteEnd, 122
74
+ define :DOTA_UM_BoosterState, 123
75
+ define :DOTA_UM_WillPurchaseAlert, 124
76
+ define :DOTA_UM_TutorialMinimapPosition, 125
77
+ define :DOTA_UM_PlayerMMR, 126
78
+ define :DOTA_UM_AbilitySteal, 127
79
+ define :DOTA_UM_CourierKilledAlert, 128
80
+ define :DOTA_UM_EnemyItemAlert, 129
81
+ define :DOTA_UM_StatsMatchDetails, 130
82
+ define :DOTA_UM_MiniTaunt, 131
83
+ define :DOTA_UM_BuyBackStateAlert, 132
84
+ define :DOTA_UM_QuickBuyAlert, 133
85
+ define :DOTA_UM_StatsHeroDetails, 134
86
+ define :DOTA_UM_PredictionResult, 135
87
+ define :DOTA_UM_ModifierAlert, 136
88
+ define :DOTA_UM_HPManaAlert, 137
89
+ define :DOTA_UM_GlyphAlert, 138
90
+ define :DOTA_UM_BeastChat, 139
91
+ define :DOTA_UM_SpectatorPlayerUnitOrders, 140
92
+ define :DOTA_UM_CompendiumState, 141
93
+ define :DOTA_UM_ProjectionAbility, 142
94
+ define :DOTA_UM_ProjectionEvent, 143
95
+ end
96
+
97
+ end
98
+
99
+ end
100
+
101
+ end
102
+
@@ -0,0 +1,121 @@
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 '../netmessages.pb'
13
+
14
+ module Effigy
15
+ module Wire
16
+ module S1
17
+
18
+ ##
19
+ # Enum Classes
20
+ #
21
+ class SVC_Messages < ::Protobuf::Enum
22
+ define :SVC_ServerInfo, 8
23
+ define :SVC_SendTable, 9
24
+ define :SVC_ClassInfo, 10
25
+ define :SVC_SetPause, 11
26
+ define :SVC_CreateStringTable, 12
27
+ define :SVC_UpdateStringTable, 13
28
+ define :SVC_VoiceInit, 14
29
+ define :SVC_VoiceData, 15
30
+ define :SVC_Print, 16
31
+ define :SVC_Sounds, 17
32
+ define :SVC_SetView, 18
33
+ define :SVC_FixAngle, 19
34
+ define :SVC_CrosshairAngle, 20
35
+ define :SVC_BSPDecal, 21
36
+ define :SVC_SplitScreen, 22
37
+ define :SVC_UserMessage, 23
38
+ define :SVC_EntityMessage, 24
39
+ define :SVC_GameEvent, 25
40
+ define :SVC_PacketEntities, 26
41
+ define :SVC_TempEntities, 27
42
+ define :SVC_Prefetch, 28
43
+ define :SVC_Menu, 29
44
+ define :SVC_GameEventList, 30
45
+ define :SVC_GetCvarValue, 31
46
+ define :SVC_PacketReliable, 32
47
+ define :SVC_FullFrameSplit, 33
48
+ end
49
+
50
+
51
+ ##
52
+ # Message Classes
53
+ #
54
+ class CSVCMsg_CreateStringTable < ::Protobuf::Message; end
55
+ class CSVCMsg_SendTable < ::Protobuf::Message
56
+ class Sendprop_t < ::Protobuf::Message; end
57
+
58
+ end
59
+
60
+ class CSVCMsg_TempEntities < ::Protobuf::Message; end
61
+ class CSVCMsg_VoiceData < ::Protobuf::Message; end
62
+
63
+
64
+ ##
65
+ # Message Fields
66
+ #
67
+ class CSVCMsg_CreateStringTable
68
+ optional :string, :name, 1
69
+ optional :int32, :max_entries, 2
70
+ optional :int32, :num_entries, 3
71
+ optional :bool, :user_data_fixed_size, 4
72
+ optional :int32, :user_data_size, 5
73
+ optional :int32, :user_data_size_bits, 6
74
+ optional :int32, :flags, 7
75
+ optional :bytes, :string_data, 8
76
+ end
77
+
78
+ class CSVCMsg_SendTable
79
+ class Sendprop_t
80
+ optional :int32, :type, 1
81
+ optional :string, :var_name, 2
82
+ optional :int32, :flags, 3
83
+ optional :int32, :priority, 4
84
+ optional :string, :dt_name, 5
85
+ optional :int32, :num_elements, 6
86
+ optional :float, :low_value, 7
87
+ optional :float, :high_value, 8
88
+ optional :int32, :num_bits, 9
89
+ end
90
+
91
+ optional :bool, :is_end, 1
92
+ optional :string, :NET_table_name, 2
93
+ optional :bool, :needs_decoder, 3
94
+ repeated ::Effigy::Wire::S1::CSVCMsg_SendTable::Sendprop_t, :props, 4
95
+ end
96
+
97
+ class CSVCMsg_TempEntities
98
+ optional :bool, :reliable, 1
99
+ optional :int32, :num_entries, 2
100
+ optional :bytes, :entity_data, 3
101
+ end
102
+
103
+ class CSVCMsg_VoiceData
104
+ optional :int32, :client, 1
105
+ optional :bool, :proximity, 2
106
+ optional :fixed64, :xuid, 3
107
+ optional :int32, :audible_mask, 4
108
+ optional :bytes, :voice_data, 5
109
+ optional ::Effigy::Wire::VoiceDataFormat_t, :format, 6, :default => ::Effigy::Wire::VoiceDataFormat_t::VOICEDATA_FORMAT_STEAM
110
+ optional :int32, :sequence_bytes, 7
111
+ optional :uint32, :section_number, 8
112
+ optional :uint32, :uncompressed_sample_offset, 9
113
+ optional :uint32, :tick, 10
114
+ end
115
+
116
+ end
117
+
118
+ end
119
+
120
+ end
121
+