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,271 @@
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 S1
17
+
18
+ ##
19
+ # Enum Classes
20
+ #
21
+ class EBaseUserMessages < ::Protobuf::Enum
22
+ define :UM_AchievementEvent, 1
23
+ define :UM_CloseCaption, 2
24
+ define :UM_CloseCaptionDirect, 3
25
+ define :UM_CurrentTimescale, 4
26
+ define :UM_DesiredTimescale, 5
27
+ define :UM_Fade, 6
28
+ define :UM_GameTitle, 7
29
+ define :UM_Geiger, 8
30
+ define :UM_HintText, 9
31
+ define :UM_HudMsg, 10
32
+ define :UM_HudText, 11
33
+ define :UM_KeyHintText, 12
34
+ define :UM_MessageText, 13
35
+ define :UM_RequestState, 14
36
+ define :UM_ResetHUD, 15
37
+ define :UM_Rumble, 16
38
+ define :UM_SayText, 17
39
+ define :UM_SayText2, 18
40
+ define :UM_SayTextChannel, 19
41
+ define :UM_Shake, 20
42
+ define :UM_ShakeDir, 21
43
+ define :UM_StatsCrawlMsg, 22
44
+ define :UM_StatsSkipState, 23
45
+ define :UM_TextMsg, 24
46
+ define :UM_Tilt, 25
47
+ define :UM_Train, 26
48
+ define :UM_VGUIMenu, 27
49
+ define :UM_VoiceMask, 28
50
+ define :UM_VoiceSubtitle, 29
51
+ define :UM_SendAudio, 30
52
+ define :UM_CameraTransition, 31
53
+ define :UM_MAX_BASE, 63
54
+ end
55
+
56
+
57
+ ##
58
+ # Message Classes
59
+ #
60
+ class CUserMsg_AchievementEvent < ::Protobuf::Message; end
61
+ class CUserMsg_CloseCaption < ::Protobuf::Message; end
62
+ class CUserMsg_CurrentTimescale < ::Protobuf::Message; end
63
+ class CUserMsg_DesiredTimescale < ::Protobuf::Message; end
64
+ class CUserMsg_Fade < ::Protobuf::Message; end
65
+ class CUserMsg_Shake < ::Protobuf::Message; end
66
+ class CUserMsg_ShakeDir < ::Protobuf::Message; end
67
+ class CUserMsg_Tilt < ::Protobuf::Message; end
68
+ class CUserMsg_SayText < ::Protobuf::Message; end
69
+ class CUserMsg_SayText2 < ::Protobuf::Message; end
70
+ class CUserMsg_HudMsg < ::Protobuf::Message; end
71
+ class CUserMsg_HudText < ::Protobuf::Message; end
72
+ class CUserMsg_TextMsg < ::Protobuf::Message; end
73
+ class CUserMsg_GameTitle < ::Protobuf::Message; end
74
+ class CUserMsg_ResetHUD < ::Protobuf::Message; end
75
+ class CUserMsg_SendAudio < ::Protobuf::Message; end
76
+ class CUserMsg_VoiceMask < ::Protobuf::Message; end
77
+ class CUserMsg_RequestState < ::Protobuf::Message; end
78
+ class CUserMsg_HintText < ::Protobuf::Message; end
79
+ class CUserMsg_KeyHintText < ::Protobuf::Message; end
80
+ class CUserMsg_StatsCrawlMsg < ::Protobuf::Message; end
81
+ class CUserMsg_StatsSkipState < ::Protobuf::Message; end
82
+ class CUserMsg_VoiceSubtitle < ::Protobuf::Message; end
83
+ class CUserMsg_VGUIMenu < ::Protobuf::Message
84
+ class Keys < ::Protobuf::Message; end
85
+
86
+ end
87
+
88
+ class CUserMsg_Geiger < ::Protobuf::Message; end
89
+ class CUserMsg_Rumble < ::Protobuf::Message; end
90
+ class CUserMsg_Train < ::Protobuf::Message; end
91
+ class CUserMsg_SayTextChannel < ::Protobuf::Message; end
92
+ class CUserMsg_MessageText < ::Protobuf::Message; end
93
+ class CUserMsg_CameraTransition < ::Protobuf::Message
94
+ class Transition_DataDriven < ::Protobuf::Message; end
95
+
96
+ end
97
+
98
+
99
+
100
+ ##
101
+ # Message Fields
102
+ #
103
+ class CUserMsg_AchievementEvent
104
+ optional :uint32, :achievement, 1
105
+ end
106
+
107
+ class CUserMsg_CloseCaption
108
+ optional :fixed32, :hash, 1
109
+ optional :float, :duration, 2
110
+ optional :bool, :from_player, 3
111
+ optional :int32, :ent_index, 4
112
+ end
113
+
114
+ class CUserMsg_CurrentTimescale
115
+ optional :float, :current, 1
116
+ end
117
+
118
+ class CUserMsg_DesiredTimescale
119
+ optional :float, :desired, 1
120
+ optional :float, :duration, 2
121
+ optional :uint32, :interpolator, 3
122
+ optional :float, :start_blend_time, 4
123
+ end
124
+
125
+ class CUserMsg_Fade
126
+ optional :uint32, :duration, 1
127
+ optional :uint32, :hold_time, 2
128
+ optional :uint32, :flags, 3
129
+ optional :fixed32, :color, 4
130
+ end
131
+
132
+ class CUserMsg_Shake
133
+ optional :uint32, :command, 1
134
+ optional :float, :amplitude, 2
135
+ optional :float, :frequency, 3
136
+ optional :float, :duration, 4
137
+ end
138
+
139
+ class CUserMsg_ShakeDir
140
+ optional ::Effigy::Wire::S1::CUserMsg_Shake, :shake, 1
141
+ optional ::Effigy::Wire::CMsgVector, :direction, 2
142
+ end
143
+
144
+ class CUserMsg_Tilt
145
+ optional :uint32, :command, 1
146
+ optional :bool, :ease_in_out, 2
147
+ optional ::Effigy::Wire::CMsgVector, :angle, 3
148
+ optional :float, :duration, 4
149
+ optional :float, :time, 5
150
+ end
151
+
152
+ class CUserMsg_SayText
153
+ optional :uint32, :client, 1
154
+ optional :string, :text, 2
155
+ optional :bool, :chat, 3
156
+ end
157
+
158
+ class CUserMsg_SayText2
159
+ optional :uint32, :client, 1
160
+ optional :bool, :chat, 2
161
+ optional :string, :format, 3
162
+ optional :string, :prefix, 4
163
+ optional :string, :text, 5
164
+ optional :string, :location, 6
165
+ end
166
+
167
+ class CUserMsg_HudMsg
168
+ optional :uint32, :channel, 1
169
+ optional :float, :x, 2
170
+ optional :float, :y, 3
171
+ optional :uint32, :color1, 4
172
+ optional :uint32, :color2, 5
173
+ optional :uint32, :effect, 6
174
+ optional :float, :fade_in_time, 7
175
+ optional :float, :fade_out_time, 8
176
+ optional :float, :hold_time, 9
177
+ optional :float, :fx_time, 10
178
+ optional :string, :message, 11
179
+ end
180
+
181
+ class CUserMsg_HudText
182
+ optional :string, :message, 1
183
+ end
184
+
185
+ class CUserMsg_TextMsg
186
+ optional :uint32, :dest, 1
187
+ repeated :string, :param, 2
188
+ end
189
+
190
+ class CUserMsg_SendAudio
191
+ optional :bool, :stop, 2
192
+ optional :string, :name, 3
193
+ end
194
+
195
+ class CUserMsg_VoiceMask
196
+ repeated :int32, :audible_players_mask, 1
197
+ optional :bool, :player_mod_enabled, 2
198
+ end
199
+
200
+ class CUserMsg_HintText
201
+ optional :string, :message, 1
202
+ end
203
+
204
+ class CUserMsg_KeyHintText
205
+ repeated :string, :messages, 1
206
+ end
207
+
208
+ class CUserMsg_StatsSkipState
209
+ optional :int32, :num_skips, 1
210
+ optional :int32, :num_players, 2
211
+ end
212
+
213
+ class CUserMsg_VoiceSubtitle
214
+ optional :int32, :ent_index, 1
215
+ optional :int32, :menu, 2
216
+ optional :int32, :item, 3
217
+ end
218
+
219
+ class CUserMsg_VGUIMenu
220
+ class Keys
221
+ optional :string, :name, 1
222
+ optional :string, :value, 2
223
+ end
224
+
225
+ optional :string, :name, 1
226
+ optional :bool, :show, 2
227
+ repeated ::Effigy::Wire::S1::CUserMsg_VGUIMenu::Keys, :keys, 3
228
+ end
229
+
230
+ class CUserMsg_Geiger
231
+ optional :int32, :range, 1
232
+ end
233
+
234
+ class CUserMsg_Rumble
235
+ optional :int32, :index, 1
236
+ optional :int32, :data, 2
237
+ optional :int32, :flags, 3
238
+ end
239
+
240
+ class CUserMsg_Train
241
+ optional :int32, :train, 1
242
+ end
243
+
244
+ class CUserMsg_SayTextChannel
245
+ optional :int32, :player, 1
246
+ optional :int32, :channel, 2
247
+ optional :string, :text, 3
248
+ end
249
+
250
+ class CUserMsg_MessageText
251
+ optional :uint32, :color, 1
252
+ optional :string, :text, 2
253
+ end
254
+
255
+ class CUserMsg_CameraTransition
256
+ class Transition_DataDriven
257
+ optional :string, :filename, 1
258
+ optional :int32, :attach_ent_index, 2
259
+ end
260
+
261
+ optional :uint32, :camera_type, 1
262
+ optional :float, :duration, 2
263
+ optional ::Effigy::Wire::S1::CUserMsg_CameraTransition::Transition_DataDriven, :params_data_driven, 3
264
+ end
265
+
266
+ end
267
+
268
+ end
269
+
270
+ end
271
+
@@ -0,0 +1,3 @@
1
+ Dir[File.join(File.dirname(__FILE__), 's1', '*.rb')].each do |file|
2
+ require file
3
+ end
@@ -0,0 +1,57 @@
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 S2
11
+
12
+ ##
13
+ # Message Classes
14
+ #
15
+ class CSOEconItemAttribute < ::Protobuf::Message; end
16
+ class CSOEconItemEquipped < ::Protobuf::Message; end
17
+ class CSOEconItem < ::Protobuf::Message; end
18
+
19
+
20
+ ##
21
+ # Message Fields
22
+ #
23
+ class CSOEconItemAttribute
24
+ optional :uint32, :def_index, 1
25
+ optional :uint32, :value, 2
26
+ optional :bytes, :value_bytes, 3
27
+ end
28
+
29
+ class CSOEconItemEquipped
30
+ optional :uint32, :new_class, 1
31
+ optional :uint32, :new_slot, 2
32
+ end
33
+
34
+ class CSOEconItem
35
+ optional :uint64, :id, 1
36
+ optional :uint32, :account_id, 2
37
+ optional :uint32, :inventory, 3
38
+ optional :uint32, :def_index, 4
39
+ optional :uint32, :quantity, 5, :default => 1
40
+ optional :uint32, :level, 6, :default => 1
41
+ optional :uint32, :quality, 7, :default => 4
42
+ optional :uint32, :flags, 8, :default => 0
43
+ optional :uint32, :origin, 9, :default => 0
44
+ repeated ::Effigy::Wire::S2::CSOEconItemAttribute, :attribute, 12
45
+ optional ::Effigy::Wire::S2::CSOEconItem, :interior_item, 13
46
+ optional :bool, :in_use, 14, :default => false
47
+ optional :uint32, :style, 15, :default => 0
48
+ optional :uint64, :original_id, 16, :default => 0
49
+ repeated ::Effigy::Wire::S2::CSOEconItemEquipped, :equipped_state, 18
50
+ end
51
+
52
+ end
53
+
54
+ end
55
+
56
+ end
57
+
@@ -0,0 +1,214 @@
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 S2
11
+
12
+ ##
13
+ # Enum Classes
14
+ #
15
+ class DOTA_GameMode < ::Protobuf::Enum
16
+ define :DOTA_GAMEMODE_NONE, 0
17
+ define :DOTA_GAMEMODE_AP, 1
18
+ define :DOTA_GAMEMODE_CM, 2
19
+ define :DOTA_GAMEMODE_RD, 3
20
+ define :DOTA_GAMEMODE_SD, 4
21
+ define :DOTA_GAMEMODE_AR, 5
22
+ define :DOTA_GAMEMODE_INTRO, 6
23
+ define :DOTA_GAMEMODE_HW, 7
24
+ define :DOTA_GAMEMODE_REVERSE_CM, 8
25
+ define :DOTA_GAMEMODE_XMAS, 9
26
+ define :DOTA_GAMEMODE_TUTORIAL, 10
27
+ define :DOTA_GAMEMODE_MO, 11
28
+ define :DOTA_GAMEMODE_LP, 12
29
+ define :DOTA_GAMEMODE_POOL1, 13
30
+ define :DOTA_GAMEMODE_FH, 14
31
+ define :DOTA_GAMEMODE_CUSTOM, 15
32
+ define :DOTA_GAMEMODE_CD, 16
33
+ define :DOTA_GAMEMODE_BD, 17
34
+ define :DOTA_GAMEMODE_ABILITY_DRAFT, 18
35
+ define :DOTA_GAMEMODE_EVENT, 19
36
+ define :DOTA_GAMEMODE_ARDM, 20
37
+ define :DOTA_GAMEMODE_1V1MID, 21
38
+ define :DOTA_GAMEMODE_ALL_DRAFT, 22
39
+ end
40
+
41
+
42
+ ##
43
+ # Message Classes
44
+ #
45
+ class CMatchPlayerAbilityUpgrade < ::Protobuf::Message; end
46
+ class CMatchAdditionalUnitInventory < ::Protobuf::Message; end
47
+ class CMatchHeroSelectEvent < ::Protobuf::Message; end
48
+ class CMsgDOTAMatch < ::Protobuf::Message
49
+ class ReplayState < ::Protobuf::Enum
50
+ define :REPLAY_AVAILABLE, 0
51
+ define :REPLAY_NOT_RECORDED, 1
52
+ define :REPLAY_EXPIRED, 2
53
+ end
54
+
55
+ class Player < ::Protobuf::Message
56
+ class CustomGameData < ::Protobuf::Message; end
57
+
58
+ end
59
+
60
+ class BroadcasterInfo < ::Protobuf::Message; end
61
+ class BroadcasterChannel < ::Protobuf::Message; end
62
+ class CustomGameData < ::Protobuf::Message; end
63
+
64
+ end
65
+
66
+
67
+
68
+ ##
69
+ # Message Fields
70
+ #
71
+ class CMatchPlayerAbilityUpgrade
72
+ optional :uint32, :ability, 1
73
+ optional :uint32, :time, 2
74
+ end
75
+
76
+ class CMatchAdditionalUnitInventory
77
+ optional :string, :unit_name, 1
78
+ repeated :uint32, :items, 2
79
+ end
80
+
81
+ class CMatchHeroSelectEvent
82
+ optional :bool, :is_pick, 1
83
+ optional :uint32, :team, 2
84
+ optional :uint32, :hero_id, 3
85
+ end
86
+
87
+ class CMsgDOTAMatch
88
+ class Player
89
+ class CustomGameData
90
+ optional :uint32, :dota_team, 1
91
+ optional :bool, :winner, 2
92
+ end
93
+
94
+ optional :uint32, :account_id, 1
95
+ optional :uint32, :player_slot, 2
96
+ optional :uint32, :hero_id, 3
97
+ optional :uint32, :item_0, 4
98
+ optional :uint32, :item_1, 5
99
+ optional :uint32, :item_2, 6
100
+ optional :uint32, :item_3, 7
101
+ optional :uint32, :item_4, 8
102
+ optional :uint32, :item_5, 9
103
+ optional :float, :expected_team_contribution, 10
104
+ optional :float, :scaled_metric, 11
105
+ optional :uint32, :previous_rank, 12
106
+ optional :uint32, :rank_change, 13
107
+ optional :bool, :solo_rank, 49
108
+ optional :uint32, :kills, 14
109
+ optional :uint32, :deaths, 15
110
+ optional :uint32, :assists, 16
111
+ optional :uint32, :leaver_status, 17
112
+ optional :uint32, :gold, 18
113
+ optional :uint32, :last_hits, 19
114
+ optional :uint32, :denies, 20
115
+ optional :uint32, :gold_per_min, 21
116
+ optional :uint32, :XP_per_min, 22
117
+ optional :uint32, :gold_spent, 23
118
+ optional :uint32, :hero_damage, 24
119
+ optional :uint32, :tower_damage, 25
120
+ optional :uint32, :hero_healing, 26
121
+ optional :uint32, :level, 27
122
+ optional :uint32, :time_last_seen, 28
123
+ optional :string, :player_name, 29
124
+ optional :uint32, :support_ability_value, 30
125
+ optional :bool, :feeding_detected, 32
126
+ optional :uint32, :search_rank, 34
127
+ optional :uint32, :search_rank_uncertainty, 35
128
+ optional :int32, :rank_uncertainty_change, 36
129
+ optional :uint32, :hero_play_count, 37
130
+ optional :fixed64, :party_id, 38
131
+ optional :float, :scaled_kills, 39
132
+ optional :float, :scaled_deaths, 40
133
+ optional :float, :scaled_assists, 41
134
+ optional :uint32, :claimed_farm_gold, 42
135
+ optional :uint32, :support_gold, 43
136
+ optional :uint32, :claimed_denies, 44
137
+ optional :uint32, :claimed_misses, 45
138
+ optional :uint32, :misses, 46
139
+ repeated ::Effigy::Wire::S2::CMatchPlayerAbilityUpgrade, :ability_upgrades, 47
140
+ repeated ::Effigy::Wire::S2::CMatchAdditionalUnitInventory, :additional_units_inventory, 48
141
+ optional ::Effigy::Wire::S2::CMsgDOTAMatch::Player::CustomGameData, :custom_game_data, 50
142
+ optional :bool, :active_battle_pass, 51
143
+ optional :uint32, :NET_worth, 52
144
+ end
145
+
146
+ class BroadcasterInfo
147
+ optional :uint32, :account_id, 1
148
+ optional :string, :name, 2
149
+ end
150
+
151
+ class BroadcasterChannel
152
+ optional :string, :country_code, 1
153
+ optional :string, :description, 2
154
+ repeated ::Effigy::Wire::S2::CMsgDOTAMatch::BroadcasterInfo, :broadcaster_infos, 3
155
+ optional :string, :language_code, 4
156
+ end
157
+
158
+ class CustomGameData
159
+ optional :uint64, :custom_game_id, 1
160
+ optional :string, :map_name, 2
161
+ end
162
+
163
+ optional :bool, :good_guys_win, 2
164
+ optional :uint32, :duration, 3
165
+ optional :fixed32, :startTime, 4
166
+ repeated ::Effigy::Wire::S2::CMsgDOTAMatch::Player, :players, 5
167
+ optional :uint64, :match_id, 6
168
+ repeated :uint32, :tower_status, 8
169
+ repeated :uint32, :barracks_status, 9
170
+ optional :uint32, :cluster, 10
171
+ optional :uint32, :first_blood_time, 12
172
+ optional :fixed32, :replay_salt, 13
173
+ optional :fixed32, :server_ip, 14
174
+ optional :uint32, :server_port, 15
175
+ optional :uint32, :lobby_type, 16
176
+ optional :uint32, :human_players, 17
177
+ optional :uint32, :average_skill, 18
178
+ optional :float, :game_balance, 19
179
+ optional :uint32, :radiant_team_id, 20
180
+ optional :uint32, :dire_team_id, 21
181
+ optional :uint32, :leagueid, 22
182
+ optional :string, :radiant_team_name, 23
183
+ optional :string, :dire_team_name, 24
184
+ optional :uint64, :radiant_team_logo, 25
185
+ optional :uint64, :dire_team_logo, 26
186
+ optional :uint32, :radiant_team_complete, 27
187
+ optional :uint32, :dire_team_complete, 28
188
+ optional :uint32, :positive_votes, 29
189
+ optional :uint32, :negative_votes, 30
190
+ optional ::Effigy::Wire::S2::DOTA_GameMode, :game_mode, 31, :default => ::Effigy::Wire::S2::DOTA_GameMode::DOTA_GAMEMODE_NONE
191
+ repeated ::Effigy::Wire::S2::CMatchHeroSelectEvent, :picks_bans, 32
192
+ optional :uint64, :match_seq_num, 33
193
+ optional ::Effigy::Wire::S2::CMsgDOTAMatch::ReplayState, :replay_state, 34, :default => ::Effigy::Wire::S2::CMsgDOTAMatch::ReplayState::REPLAY_AVAILABLE
194
+ optional :uint32, :radiant_guild_id, 35
195
+ optional :uint32, :dire_guild_id, 36
196
+ optional :string, :radiant_team_tag, 37
197
+ optional :string, :dire_team_tag, 38
198
+ optional :uint32, :series_id, 39
199
+ optional :uint32, :series_type, 40
200
+ repeated ::Effigy::Wire::S2::CMsgDOTAMatch::BroadcasterChannel, :broadcaster_channels, 43
201
+ optional :uint32, :engine, 44
202
+ optional ::Effigy::Wire::S2::CMsgDOTAMatch::CustomGameData, :custom_game_data, 45
203
+ optional :uint32, :match_flags, 46
204
+ optional :fixed32, :private_metadata_key, 47
205
+ optional :uint32, :radiant_team_score, 48
206
+ optional :uint32, :dire_team_score, 49
207
+ end
208
+
209
+ end
210
+
211
+ end
212
+
213
+ end
214
+
@@ -0,0 +1,106 @@
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 's2_base_gcmessages.pb'
13
+
14
+ module Effigy
15
+ module Wire
16
+ module S2
17
+
18
+ ##
19
+ # Message Classes
20
+ #
21
+ class CDOTAMatchMetadataFile < ::Protobuf::Message; end
22
+ class CDOTAMatchMetadata < ::Protobuf::Message
23
+ class Team < ::Protobuf::Message
24
+ class PlayerKill < ::Protobuf::Message; end
25
+ class Player < ::Protobuf::Message; end
26
+
27
+ end
28
+
29
+
30
+ end
31
+
32
+ class CDOTAMatchPrivateMetadata < ::Protobuf::Message
33
+ class Kill < ::Protobuf::Message; end
34
+
35
+ end
36
+
37
+ class CLobbyTimedRewardDetails < ::Protobuf::Message; end
38
+
39
+
40
+ ##
41
+ # Message Fields
42
+ #
43
+ class CDOTAMatchMetadataFile
44
+ required :int32, :version, 1
45
+ required :uint64, :match_id, 2
46
+ optional ::Effigy::Wire::S2::CDOTAMatchMetadata, :metadata, 3
47
+ optional :bytes, :private_metadata, 4
48
+ end
49
+
50
+ class CDOTAMatchMetadata
51
+ class Team
52
+ class PlayerKill
53
+ optional :uint32, :victim_slot, 1
54
+ optional :uint32, :count, 2
55
+ end
56
+
57
+ class Player
58
+ optional :uint32, :account_id, 1
59
+ repeated :uint32, :ability_upgrades, 2
60
+ optional :uint32, :player_slot, 3
61
+ repeated ::Effigy::Wire::S2::CSOEconItem, :equipped_econ_items, 4
62
+ repeated ::Effigy::Wire::S2::CDOTAMatchMetadata::Team::PlayerKill, :kills, 5
63
+ end
64
+
65
+ optional :uint32, :dota_team, 1
66
+ repeated ::Effigy::Wire::S2::CDOTAMatchMetadata::Team::Player, :players, 2
67
+ repeated :float, :graph_experience, 3
68
+ repeated :float, :graph_gold_earned, 4
69
+ repeated :float, :graph_NET_worth, 5
70
+ optional :bool, :cm_first_pick, 6
71
+ optional :uint32, :cm_captain_player_id, 7
72
+ repeated :uint32, :cm_bans, 8
73
+ repeated :uint32, :cm_picks, 9
74
+ optional :uint32, :cm_penalty, 10
75
+ end
76
+
77
+ repeated ::Effigy::Wire::S2::CDOTAMatchMetadata::Team, :teams, 1
78
+ repeated ::Effigy::Wire::S2::CLobbyTimedRewardDetails, :item_rewards, 2
79
+ end
80
+
81
+ class CDOTAMatchPrivateMetadata
82
+ class Kill
83
+ optional :int32, :timestamp, 1
84
+ optional :uint32, :killer_hero_id, 2
85
+ optional :uint32, :victim_hero_id, 3
86
+ repeated :uint32, :assist_hero_ids, 4
87
+ end
88
+
89
+ repeated ::Effigy::Wire::S2::CDOTAMatchPrivateMetadata::Kill, :kills, 1
90
+ optional :string, :test_string, 100
91
+ end
92
+
93
+ class CLobbyTimedRewardDetails
94
+ optional :uint32, :item_def_index, 2
95
+ optional :bool, :is_supply_crate, 3
96
+ optional :bool, :is_timed_drop, 4
97
+ optional :uint32, :account_id, 5
98
+ optional :uint32, :origin, 6
99
+ end
100
+
101
+ end
102
+
103
+ end
104
+
105
+ end
106
+