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,205 @@
|
|
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 EDemoCommands < ::Protobuf::Enum
|
15
|
+
define :DEM_Error, -1
|
16
|
+
define :DEM_Stop, 0
|
17
|
+
define :DEM_FileHeader, 1
|
18
|
+
define :DEM_FileInfo, 2
|
19
|
+
define :DEM_SyncTick, 3
|
20
|
+
define :DEM_SendTables, 4
|
21
|
+
define :DEM_ClassInfo, 5
|
22
|
+
define :DEM_StringTables, 6
|
23
|
+
define :DEM_Packet, 7
|
24
|
+
define :DEM_SignonPacket, 8
|
25
|
+
define :DEM_ConsoleCmd, 9
|
26
|
+
define :DEM_CustomData, 10
|
27
|
+
define :DEM_CustomDataCallbacks, 11
|
28
|
+
define :DEM_UserCmd, 12
|
29
|
+
define :DEM_FullPacket, 13
|
30
|
+
define :DEM_SaveGame, 14
|
31
|
+
define :DEM_SpawnGroups, 15
|
32
|
+
define :DEM_Max, 16
|
33
|
+
define :DEM_IsCompressed_S1, 112
|
34
|
+
define :DEM_IsCompressed_S2, 64
|
35
|
+
end
|
36
|
+
|
37
|
+
|
38
|
+
##
|
39
|
+
# Message Classes
|
40
|
+
#
|
41
|
+
class CDemoFileHeader < ::Protobuf::Message; end
|
42
|
+
class CGameInfo < ::Protobuf::Message
|
43
|
+
class CDotaGameInfo < ::Protobuf::Message
|
44
|
+
class CPlayerInfo < ::Protobuf::Message; end
|
45
|
+
class CHeroSelectEvent < ::Protobuf::Message; end
|
46
|
+
|
47
|
+
end
|
48
|
+
|
49
|
+
|
50
|
+
end
|
51
|
+
|
52
|
+
class CDemoFileInfo < ::Protobuf::Message; end
|
53
|
+
class CDemoPacket < ::Protobuf::Message; end
|
54
|
+
class CDemoFullPacket < ::Protobuf::Message; end
|
55
|
+
class CDemoSaveGame < ::Protobuf::Message; end
|
56
|
+
class CDemoSyncTick < ::Protobuf::Message; end
|
57
|
+
class CDemoConsoleCmd < ::Protobuf::Message; end
|
58
|
+
class CDemoSendTables < ::Protobuf::Message; end
|
59
|
+
class CDemoClassInfo < ::Protobuf::Message
|
60
|
+
class Class_t < ::Protobuf::Message; end
|
61
|
+
|
62
|
+
end
|
63
|
+
|
64
|
+
class CDemoCustomData < ::Protobuf::Message; end
|
65
|
+
class CDemoCustomDataCallbacks < ::Protobuf::Message; end
|
66
|
+
class CDemoStringTables < ::Protobuf::Message
|
67
|
+
class Items_t < ::Protobuf::Message; end
|
68
|
+
class Table_t < ::Protobuf::Message; end
|
69
|
+
|
70
|
+
end
|
71
|
+
|
72
|
+
class CDemoStop < ::Protobuf::Message; end
|
73
|
+
class CDemoUserCmd < ::Protobuf::Message; end
|
74
|
+
class CDemoSpawnGroups < ::Protobuf::Message; end
|
75
|
+
|
76
|
+
|
77
|
+
##
|
78
|
+
# Message Fields
|
79
|
+
#
|
80
|
+
class CDemoFileHeader
|
81
|
+
required :string, :demo_file_stamp, 1
|
82
|
+
optional :int32, :network_protocol, 2
|
83
|
+
optional :string, :server_name, 3
|
84
|
+
optional :string, :client_name, 4
|
85
|
+
optional :string, :map_name, 5
|
86
|
+
optional :string, :game_directory, 6
|
87
|
+
optional :int32, :fullpackets_version, 7
|
88
|
+
optional :bool, :allow_clientside_entities, 8
|
89
|
+
optional :bool, :allow_clientside_particles, 9
|
90
|
+
optional :string, :addons, 10
|
91
|
+
end
|
92
|
+
|
93
|
+
class CGameInfo
|
94
|
+
class CDotaGameInfo
|
95
|
+
class CPlayerInfo
|
96
|
+
optional :string, :hero_name, 1
|
97
|
+
optional :string, :player_name, 2
|
98
|
+
optional :bool, :is_fake_client, 3
|
99
|
+
optional :uint64, :steamid, 4
|
100
|
+
optional :int32, :game_team, 5
|
101
|
+
end
|
102
|
+
|
103
|
+
class CHeroSelectEvent
|
104
|
+
optional :bool, :is_pick, 1
|
105
|
+
optional :uint32, :team, 2
|
106
|
+
optional :uint32, :hero_id, 3
|
107
|
+
end
|
108
|
+
|
109
|
+
optional :uint64, :match_id, 1
|
110
|
+
optional :int32, :game_mode, 2
|
111
|
+
optional :int32, :game_winner, 3
|
112
|
+
repeated ::Effigy::Wire::CGameInfo::CDotaGameInfo::CPlayerInfo, :player_info, 4
|
113
|
+
optional :uint32, :leagueid, 5
|
114
|
+
repeated ::Effigy::Wire::CGameInfo::CDotaGameInfo::CHeroSelectEvent, :picks_bans, 6
|
115
|
+
optional :uint32, :radiant_team_id, 7
|
116
|
+
optional :uint32, :dire_team_id, 8
|
117
|
+
optional :string, :radiant_team_tag, 9
|
118
|
+
optional :string, :dire_team_tag, 10
|
119
|
+
optional :uint32, :end_time, 11
|
120
|
+
end
|
121
|
+
|
122
|
+
optional ::Effigy::Wire::CGameInfo::CDotaGameInfo, :dota, 4
|
123
|
+
end
|
124
|
+
|
125
|
+
class CDemoFileInfo
|
126
|
+
optional :float, :playback_time, 1
|
127
|
+
optional :int32, :playback_ticks, 2
|
128
|
+
optional :int32, :playback_frames, 3
|
129
|
+
optional ::Effigy::Wire::CGameInfo, :game_info, 4
|
130
|
+
end
|
131
|
+
|
132
|
+
class CDemoPacket
|
133
|
+
optional :int32, :sequence_in, 1
|
134
|
+
optional :int32, :sequence_out_ack, 2
|
135
|
+
optional :bytes, :data, 3
|
136
|
+
end
|
137
|
+
|
138
|
+
class CDemoFullPacket
|
139
|
+
optional ::Effigy::Wire::CDemoStringTables, :string_table, 1
|
140
|
+
optional ::Effigy::Wire::CDemoPacket, :packet, 2
|
141
|
+
end
|
142
|
+
|
143
|
+
class CDemoSaveGame
|
144
|
+
optional :bytes, :data, 1
|
145
|
+
optional :fixed64, :steam_id, 2
|
146
|
+
optional :fixed64, :signature, 3
|
147
|
+
optional :int32, :version, 4
|
148
|
+
end
|
149
|
+
|
150
|
+
class CDemoConsoleCmd
|
151
|
+
optional :string, :cmdstring, 1
|
152
|
+
end
|
153
|
+
|
154
|
+
class CDemoSendTables
|
155
|
+
optional :bytes, :data, 1
|
156
|
+
end
|
157
|
+
|
158
|
+
class CDemoClassInfo
|
159
|
+
class Class_t
|
160
|
+
optional :int32, :class_id, 1
|
161
|
+
optional :string, :network_name, 2
|
162
|
+
optional :string, :table_name, 3
|
163
|
+
end
|
164
|
+
|
165
|
+
repeated ::Effigy::Wire::CDemoClassInfo::Class_t, :classes, 1
|
166
|
+
end
|
167
|
+
|
168
|
+
class CDemoCustomData
|
169
|
+
optional :int32, :callback_index, 1
|
170
|
+
optional :bytes, :data, 2
|
171
|
+
end
|
172
|
+
|
173
|
+
class CDemoCustomDataCallbacks
|
174
|
+
repeated :string, :save_id, 1
|
175
|
+
end
|
176
|
+
|
177
|
+
class CDemoStringTables
|
178
|
+
class Items_t
|
179
|
+
optional :string, :str, 1
|
180
|
+
optional :bytes, :data, 2
|
181
|
+
end
|
182
|
+
|
183
|
+
class Table_t
|
184
|
+
optional :string, :table_name, 1
|
185
|
+
repeated ::Effigy::Wire::CDemoStringTables::Items_t, :items, 2
|
186
|
+
repeated ::Effigy::Wire::CDemoStringTables::Items_t, :items_clientside, 3
|
187
|
+
optional :int32, :table_flags, 4
|
188
|
+
end
|
189
|
+
|
190
|
+
repeated ::Effigy::Wire::CDemoStringTables::Table_t, :tables, 1
|
191
|
+
end
|
192
|
+
|
193
|
+
class CDemoUserCmd
|
194
|
+
optional :int32, :cmd_number, 1
|
195
|
+
optional :bytes, :data, 2
|
196
|
+
end
|
197
|
+
|
198
|
+
class CDemoSpawnGroups
|
199
|
+
repeated :bytes, :msgs, 3
|
200
|
+
end
|
201
|
+
|
202
|
+
end
|
203
|
+
|
204
|
+
end
|
205
|
+
|
@@ -0,0 +1,209 @@
|
|
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 EDOTAChatWheelMessage < ::Protobuf::Enum
|
15
|
+
define :K_EDOTA_CW_Ok, 0
|
16
|
+
define :K_EDOTA_CW_Care, 1
|
17
|
+
define :K_EDOTA_CW_GetBack, 2
|
18
|
+
define :K_EDOTA_CW_NeedWards, 3
|
19
|
+
define :K_EDOTA_CW_Stun, 4
|
20
|
+
define :K_EDOTA_CW_Help, 5
|
21
|
+
define :K_EDOTA_CW_Push, 6
|
22
|
+
define :K_EDOTA_CW_GoodJob, 7
|
23
|
+
define :K_EDOTA_CW_Missing, 8
|
24
|
+
define :K_EDOTA_CW_Missing_Top, 9
|
25
|
+
define :K_EDOTA_CW_Missing_Mid, 10
|
26
|
+
define :K_EDOTA_CW_Missing_Bottom, 11
|
27
|
+
define :K_EDOTA_CW_Go, 12
|
28
|
+
define :K_EDOTA_CW_Initiate, 13
|
29
|
+
define :K_EDOTA_CW_Follow, 14
|
30
|
+
define :K_EDOTA_CW_Group_Up, 15
|
31
|
+
define :K_EDOTA_CW_Spread_Out, 16
|
32
|
+
define :K_EDOTA_CW_Split_Farm, 17
|
33
|
+
define :K_EDOTA_CW_Attack, 18
|
34
|
+
define :K_EDOTA_CW_BRB, 19
|
35
|
+
define :K_EDOTA_CW_Dive, 20
|
36
|
+
define :K_EDOTA_CW_OMW, 21
|
37
|
+
define :K_EDOTA_CW_Get_Ready, 22
|
38
|
+
define :K_EDOTA_CW_Bait, 23
|
39
|
+
define :K_EDOTA_CW_Heal, 24
|
40
|
+
define :K_EDOTA_CW_Mana, 25
|
41
|
+
define :K_EDOTA_CW_OOM, 26
|
42
|
+
define :K_EDOTA_CW_Skill_Cooldown, 27
|
43
|
+
define :K_EDOTA_CW_Ulti_Ready, 28
|
44
|
+
define :K_EDOTA_CW_Enemy_Returned, 29
|
45
|
+
define :K_EDOTA_CW_All_Missing, 30
|
46
|
+
define :K_EDOTA_CW_Enemy_Incoming, 31
|
47
|
+
define :K_EDOTA_CW_Invis_Enemy, 32
|
48
|
+
define :K_EDOTA_CW_Enemy_Had_Rune, 33
|
49
|
+
define :K_EDOTA_CW_Split_Push, 34
|
50
|
+
define :K_EDOTA_CW_Coming_To_Gank, 35
|
51
|
+
define :K_EDOTA_CW_Request_Gank, 36
|
52
|
+
define :K_EDOTA_CW_Fight_Under_Tower, 37
|
53
|
+
define :K_EDOTA_CW_Deny_Tower, 38
|
54
|
+
define :K_EDOTA_CW_Buy_Courier, 39
|
55
|
+
define :K_EDOTA_CW_Upgrade_Courier, 40
|
56
|
+
define :K_EDOTA_CW_Need_Detection, 41
|
57
|
+
define :K_EDOTA_CW_They_Have_Detection, 42
|
58
|
+
define :K_EDOTA_CW_Buy_TP, 43
|
59
|
+
define :K_EDOTA_CW_Reuse_Courier, 44
|
60
|
+
define :K_EDOTA_CW_Deward, 45
|
61
|
+
define :K_EDOTA_CW_Building_Mek, 46
|
62
|
+
define :K_EDOTA_CW_Building_Pipe, 47
|
63
|
+
define :K_EDOTA_CW_Stack_And_Pull, 48
|
64
|
+
define :K_EDOTA_CW_Pull, 49
|
65
|
+
define :K_EDOTA_CW_Pulling, 50
|
66
|
+
define :K_EDOTA_CW_Stack, 51
|
67
|
+
define :K_EDOTA_CW_Jungling, 52
|
68
|
+
define :K_EDOTA_CW_Roshan, 53
|
69
|
+
define :K_EDOTA_CW_Affirmative, 54
|
70
|
+
define :K_EDOTA_CW_Wait, 55
|
71
|
+
define :K_EDOTA_CW_Pause, 56
|
72
|
+
define :K_EDOTA_CW_Current_Time, 57
|
73
|
+
define :K_EDOTA_CW_Check_Runes, 58
|
74
|
+
define :K_EDOTA_CW_Smoke_Gank, 59
|
75
|
+
define :K_EDOTA_CW_GLHF, 60
|
76
|
+
define :K_EDOTA_CW_Nice, 61
|
77
|
+
define :K_EDOTA_CW_Thanks, 62
|
78
|
+
define :K_EDOTA_CW_Sorry, 63
|
79
|
+
define :K_EDOTA_CW_No_Give_Up, 64
|
80
|
+
define :K_EDOTA_CW_Just_Happened, 65
|
81
|
+
define :K_EDOTA_CW_Game_Is_Hard, 66
|
82
|
+
define :K_EDOTA_CW_New_Meta, 67
|
83
|
+
define :K_EDOTA_CW_My_Bad, 68
|
84
|
+
define :K_EDOTA_CW_Regret, 69
|
85
|
+
define :K_EDOTA_CW_Relax, 70
|
86
|
+
define :K_EDOTA_CW_MissingHero, 71
|
87
|
+
define :K_EDOTA_CW_ReturnedHero, 72
|
88
|
+
define :K_EDOTA_CW_GG, 73
|
89
|
+
define :K_EDOTA_CW_GGWP, 74
|
90
|
+
define :K_EDOTA_CW_All_GG, 75
|
91
|
+
define :K_EDOTA_CW_All_GGWP, 76
|
92
|
+
define :K_EDOTA_CW_What_To_Buy, 77
|
93
|
+
define :K_EDOTA_CW_Im_Retreating, 78
|
94
|
+
define :K_EDOTA_CW_Space_Created, 79
|
95
|
+
define :K_EDOTA_CW_Whoops, 80
|
96
|
+
define :K_EDOTA_CW_Tower_then_Back, 81
|
97
|
+
define :K_EDOTA_CW_Barracks_then_Back, 82
|
98
|
+
define :K_EDOTA_CW_Ward_Bottom_Rune, 83
|
99
|
+
define :K_EDOTA_CW_Ward_Top_Rune, 84
|
100
|
+
define :K_EDOTA_CW_Zeus_Ult, 85
|
101
|
+
end
|
102
|
+
|
103
|
+
class EDOTAStatPopupTypes < ::Protobuf::Enum
|
104
|
+
define :K_EDOTA_SPT_Textline, 0
|
105
|
+
define :K_EDOTA_SPT_Basic, 1
|
106
|
+
define :K_EDOTA_SPT_Poll, 2
|
107
|
+
define :K_EDOTA_SPT_Grid, 3
|
108
|
+
end
|
109
|
+
|
110
|
+
class Dotaunitorder_t < ::Protobuf::Enum
|
111
|
+
define :DOTA_UNIT_ORDER_NONE, 0
|
112
|
+
define :DOTA_UNIT_ORDER_MOVE_TO_POSITION, 1
|
113
|
+
define :DOTA_UNIT_ORDER_MOVE_TO_TARGET, 2
|
114
|
+
define :DOTA_UNIT_ORDER_ATTACK_MOVE, 3
|
115
|
+
define :DOTA_UNIT_ORDER_ATTACK_TARGET, 4
|
116
|
+
define :DOTA_UNIT_ORDER_CAST_POSITION, 5
|
117
|
+
define :DOTA_UNIT_ORDER_CAST_TARGET, 6
|
118
|
+
define :DOTA_UNIT_ORDER_CAST_TARGET_TREE, 7
|
119
|
+
define :DOTA_UNIT_ORDER_CAST_NO_TARGET, 8
|
120
|
+
define :DOTA_UNIT_ORDER_CAST_TOGGLE, 9
|
121
|
+
define :DOTA_UNIT_ORDER_HOLD_POSITION, 10
|
122
|
+
define :DOTA_UNIT_ORDER_TRAIN_ABILITY, 11
|
123
|
+
define :DOTA_UNIT_ORDER_DROP_ITEM, 12
|
124
|
+
define :DOTA_UNIT_ORDER_GIVE_ITEM, 13
|
125
|
+
define :DOTA_UNIT_ORDER_PICKUP_ITEM, 14
|
126
|
+
define :DOTA_UNIT_ORDER_PICKUP_RUNE, 15
|
127
|
+
define :DOTA_UNIT_ORDER_PURCHASE_ITEM, 16
|
128
|
+
define :DOTA_UNIT_ORDER_SELL_ITEM, 17
|
129
|
+
define :DOTA_UNIT_ORDER_DISASSEMBLE_ITEM, 18
|
130
|
+
define :DOTA_UNIT_ORDER_MOVE_ITEM, 19
|
131
|
+
define :DOTA_UNIT_ORDER_CAST_TOGGLE_AUTO, 20
|
132
|
+
define :DOTA_UNIT_ORDER_STOP, 21
|
133
|
+
define :DOTA_UNIT_ORDER_TAUNT, 22
|
134
|
+
define :DOTA_UNIT_ORDER_BUYBACK, 23
|
135
|
+
define :DOTA_UNIT_ORDER_GLYPH, 24
|
136
|
+
define :DOTA_UNIT_ORDER_EJECT_ITEM_FROM_STASH, 25
|
137
|
+
define :DOTA_UNIT_ORDER_CAST_RUNE, 26
|
138
|
+
define :DOTA_UNIT_ORDER_PING_ABILITY, 27
|
139
|
+
define :DOTA_UNIT_ORDER_MOVE_TO_DIRECTION, 28
|
140
|
+
define :DOTA_UNIT_ORDER_PATROL, 29
|
141
|
+
define :DOTA_UNIT_ORDER_VECTOR_TARGET_POSITION, 30
|
142
|
+
define :DOTA_UNIT_ORDER_RADAR, 31
|
143
|
+
end
|
144
|
+
|
145
|
+
|
146
|
+
##
|
147
|
+
# Message Classes
|
148
|
+
#
|
149
|
+
class CDOTAMsg_LocationPing < ::Protobuf::Message; end
|
150
|
+
class CDOTAMsg_ItemAlert < ::Protobuf::Message; end
|
151
|
+
class CDOTAMsg_EnemyItemAlert < ::Protobuf::Message; end
|
152
|
+
class CDOTAMsg_MapLine < ::Protobuf::Message; end
|
153
|
+
class CDOTAMsg_WorldLine < ::Protobuf::Message; end
|
154
|
+
class CDOTAMsg_SendStatPopup < ::Protobuf::Message; end
|
155
|
+
class CDOTAMsg_CoachHUDPing < ::Protobuf::Message; end
|
156
|
+
|
157
|
+
|
158
|
+
##
|
159
|
+
# Message Fields
|
160
|
+
#
|
161
|
+
class CDOTAMsg_LocationPing
|
162
|
+
optional :int32, :x, 1
|
163
|
+
optional :int32, :y, 2
|
164
|
+
optional :int32, :target, 3
|
165
|
+
optional :bool, :direct_ping, 4
|
166
|
+
optional :int32, :type, 5
|
167
|
+
end
|
168
|
+
|
169
|
+
class CDOTAMsg_ItemAlert
|
170
|
+
optional :int32, :x, 1
|
171
|
+
optional :int32, :y, 2
|
172
|
+
optional :int32, :itemid, 3
|
173
|
+
end
|
174
|
+
|
175
|
+
class CDOTAMsg_EnemyItemAlert
|
176
|
+
optional :uint32, :player_id, 1
|
177
|
+
optional :int32, :itemid, 2
|
178
|
+
end
|
179
|
+
|
180
|
+
class CDOTAMsg_MapLine
|
181
|
+
optional :int32, :x, 1
|
182
|
+
optional :int32, :y, 2
|
183
|
+
optional :bool, :initial, 3
|
184
|
+
end
|
185
|
+
|
186
|
+
class CDOTAMsg_WorldLine
|
187
|
+
optional :int32, :x, 1
|
188
|
+
optional :int32, :y, 2
|
189
|
+
optional :int32, :z, 3
|
190
|
+
optional :bool, :initial, 4
|
191
|
+
optional :bool, :end, 5
|
192
|
+
end
|
193
|
+
|
194
|
+
class CDOTAMsg_SendStatPopup
|
195
|
+
optional ::Effigy::Wire::EDOTAStatPopupTypes, :style, 1, :default => ::Effigy::Wire::EDOTAStatPopupTypes::K_EDOTA_SPT_Textline
|
196
|
+
repeated :string, :stat_strings, 2
|
197
|
+
repeated :int32, :stat_images, 3
|
198
|
+
end
|
199
|
+
|
200
|
+
class CDOTAMsg_CoachHUDPing
|
201
|
+
optional :uint32, :x, 1
|
202
|
+
optional :uint32, :y, 2
|
203
|
+
optional :string, :tgtpath, 3
|
204
|
+
end
|
205
|
+
|
206
|
+
end
|
207
|
+
|
208
|
+
end
|
209
|
+
|
@@ -0,0 +1,78 @@
|
|
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 DOTA_MODIFIER_ENTRY_TYPE < ::Protobuf::Enum
|
21
|
+
define :DOTA_MODIFIER_ENTRY_TYPE_ACTIVE, 1
|
22
|
+
define :DOTA_MODIFIER_ENTRY_TYPE_REMOVED, 2
|
23
|
+
end
|
24
|
+
|
25
|
+
|
26
|
+
##
|
27
|
+
# Message Classes
|
28
|
+
#
|
29
|
+
class CDOTAModifierBuffTableEntry < ::Protobuf::Message; end
|
30
|
+
class CDOTALuaModifierEntry < ::Protobuf::Message; end
|
31
|
+
|
32
|
+
|
33
|
+
##
|
34
|
+
# Message Fields
|
35
|
+
#
|
36
|
+
class CDOTAModifierBuffTableEntry
|
37
|
+
required ::Effigy::Wire::DOTA_MODIFIER_ENTRY_TYPE, :entry_type, 1, :default => ::Effigy::Wire::DOTA_MODIFIER_ENTRY_TYPE::DOTA_MODIFIER_ENTRY_TYPE_ACTIVE
|
38
|
+
required :int32, :parent, 2
|
39
|
+
required :int32, :index, 3
|
40
|
+
required :int32, :serial_num, 4
|
41
|
+
optional :int32, :modifier_class, 5
|
42
|
+
optional :int32, :ability_level, 6
|
43
|
+
optional :int32, :stack_count, 7
|
44
|
+
optional :float, :creation_time, 8
|
45
|
+
optional :float, :duration, 9, :default => -1
|
46
|
+
optional :int32, :caster, 10
|
47
|
+
optional :int32, :ability, 11
|
48
|
+
optional :int32, :armor, 12
|
49
|
+
optional :float, :fade_time, 13
|
50
|
+
optional :bool, :subtle, 14
|
51
|
+
optional :float, :channel_time, 15
|
52
|
+
optional ::Effigy::Wire::CMsgVector, :v_start, 16
|
53
|
+
optional ::Effigy::Wire::CMsgVector, :v_end, 17
|
54
|
+
optional :string, :portal_loop_appear, 18
|
55
|
+
optional :string, :portal_loop_disappear, 19
|
56
|
+
optional :string, :hero_loop_appear, 20
|
57
|
+
optional :string, :hero_loop_disappear, 21
|
58
|
+
optional :int32, :movement_speed, 22
|
59
|
+
optional :bool, :aura, 23
|
60
|
+
optional :int32, :activity, 24
|
61
|
+
optional :int32, :damage, 25
|
62
|
+
optional :int32, :range, 26
|
63
|
+
optional :int32, :dd_modifier_index, 27
|
64
|
+
optional :int32, :dd_ability_index, 28
|
65
|
+
optional :string, :illusion_label, 29
|
66
|
+
optional :bool, :active, 30
|
67
|
+
optional :string, :lua_name, 31
|
68
|
+
end
|
69
|
+
|
70
|
+
class CDOTALuaModifierEntry
|
71
|
+
required :int32, :modifier_type, 1
|
72
|
+
required :string, :modifier_filename, 2
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
|