effigy_wire 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
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,89 @@
1
+ package effigy.wire.s1;
2
+
3
+ option java_package = "skadistats.clarity.wire.s1.proto";
4
+ option java_outer_classname = "S1DotaUserMessages";
5
+
6
+ option optimize_for = SPEED;
7
+ option cc_generic_services = false;
8
+
9
+ enum EDotaUserMessages {
10
+ DOTA_UM_AddUnitToSelection = 64;
11
+ DOTA_UM_AIDebugLine = 65;
12
+ DOTA_UM_ChatEvent = 66;
13
+ DOTA_UM_CombatHeroPositions = 67;
14
+ DOTA_UM_CombatLogData = 68;
15
+ DOTA_UM_CombatLogShowDeath = 70;
16
+ DOTA_UM_CreateLinearProjectile = 71;
17
+ DOTA_UM_DestroyLinearProjectile = 72;
18
+ DOTA_UM_DodgeTrackingProjectiles = 73;
19
+ DOTA_UM_GlobalLightColor = 74;
20
+ DOTA_UM_GlobalLightDirection = 75;
21
+ DOTA_UM_InvalidCommand = 76;
22
+ DOTA_UM_LocationPing = 77;
23
+ DOTA_UM_MapLine = 78;
24
+ DOTA_UM_MiniKillCamInfo = 79;
25
+ DOTA_UM_MinimapDebugPoint = 80;
26
+ DOTA_UM_MinimapEvent = 81;
27
+ DOTA_UM_NevermoreRequiem = 82;
28
+ DOTA_UM_OverheadEvent = 83;
29
+ DOTA_UM_SetNextAutobuyItem = 84;
30
+ DOTA_UM_SharedCooldown = 85;
31
+ DOTA_UM_SpectatorPlayerClick = 86;
32
+ DOTA_UM_TutorialTipInfo = 87;
33
+ DOTA_UM_UnitEvent = 88;
34
+ DOTA_UM_ParticleManager = 89;
35
+ DOTA_UM_BotChat = 90;
36
+ DOTA_UM_HudError = 91;
37
+ DOTA_UM_ItemPurchased = 92;
38
+ DOTA_UM_Ping = 93;
39
+ DOTA_UM_ItemFound = 94;
40
+ DOTA_UM_CharacterSpeakConcept = 95;
41
+ DOTA_UM_SwapVerify = 96;
42
+ DOTA_UM_WorldLine = 97;
43
+ DOTA_UM_TournamentDrop = 98;
44
+ DOTA_UM_ItemAlert = 99;
45
+ DOTA_UM_HalloweenDrops = 100;
46
+ DOTA_UM_ChatWheel = 101;
47
+ DOTA_UM_ReceivedXmasGift = 102;
48
+ DOTA_UM_UpdateSharedContent = 103;
49
+ DOTA_UM_TutorialRequestExp = 104;
50
+ DOTA_UM_TutorialPingMinimap = 105;
51
+ DOTA_UM_GamerulesStateChanged = 106;
52
+ DOTA_UM_ShowSurvey = 107;
53
+ DOTA_UM_TutorialFade = 108;
54
+ DOTA_UM_AddQuestLogEntry = 109;
55
+ DOTA_UM_SendStatPopup = 110;
56
+ DOTA_UM_TutorialFinish = 111;
57
+ DOTA_UM_SendRoshanPopup = 112;
58
+ DOTA_UM_SendGenericToolTip = 113;
59
+ DOTA_UM_SendFinalGold = 114;
60
+ DOTA_UM_CustomMsg = 115;
61
+ DOTA_UM_CoachHUDPing = 116;
62
+ DOTA_UM_ClientLoadGridNav = 117;
63
+ DOTA_UM_AbilityPing = 118;
64
+ DOTA_UM_ShowGenericPopup = 119;
65
+ DOTA_UM_VoteStart = 120;
66
+ DOTA_UM_VoteUpdate = 121;
67
+ DOTA_UM_VoteEnd = 122;
68
+ DOTA_UM_BoosterState = 123;
69
+ DOTA_UM_WillPurchaseAlert = 124;
70
+ DOTA_UM_TutorialMinimapPosition = 125;
71
+ DOTA_UM_PlayerMMR = 126;
72
+ DOTA_UM_AbilitySteal = 127;
73
+ DOTA_UM_CourierKilledAlert = 128;
74
+ DOTA_UM_EnemyItemAlert = 129;
75
+ DOTA_UM_StatsMatchDetails = 130;
76
+ DOTA_UM_MiniTaunt = 131;
77
+ DOTA_UM_BuyBackStateAlert = 132;
78
+ DOTA_UM_QuickBuyAlert = 133;
79
+ DOTA_UM_StatsHeroDetails = 134;
80
+ DOTA_UM_PredictionResult = 135;
81
+ DOTA_UM_ModifierAlert = 136;
82
+ DOTA_UM_HPManaAlert = 137;
83
+ DOTA_UM_GlyphAlert = 138;
84
+ DOTA_UM_BeastChat = 139;
85
+ DOTA_UM_SpectatorPlayerUnitOrders = 140;
86
+ DOTA_UM_CompendiumState = 141;
87
+ DOTA_UM_ProjectionAbility = 142;
88
+ DOTA_UM_ProjectionEvent = 143;
89
+ }
@@ -0,0 +1,86 @@
1
+ package effigy.wire.s1;
2
+
3
+ option java_package = "skadistats.clarity.wire.s1.proto";
4
+ option java_outer_classname = "S1NetMessages";
5
+
6
+ import "netmessages.proto";
7
+
8
+ option cc_generic_services = false;
9
+
10
+ enum SVC_Messages {
11
+ SVC_ServerInfo = 8;
12
+ SVC_SendTable = 9;
13
+ SVC_ClassInfo = 10;
14
+ SVC_SetPause = 11;
15
+ SVC_CreateStringTable = 12;
16
+ SVC_UpdateStringTable = 13;
17
+ SVC_VoiceInit = 14;
18
+ SVC_VoiceData = 15;
19
+ SVC_Print = 16;
20
+ SVC_Sounds = 17;
21
+ SVC_SetView = 18;
22
+ SVC_FixAngle = 19;
23
+ SVC_CrosshairAngle = 20;
24
+ SVC_BSPDecal = 21;
25
+ SVC_SplitScreen = 22;
26
+ SVC_UserMessage = 23;
27
+ SVC_EntityMessage = 24;
28
+ SVC_GameEvent = 25;
29
+ SVC_PacketEntities = 26;
30
+ SVC_TempEntities = 27;
31
+ SVC_Prefetch = 28;
32
+ SVC_Menu = 29;
33
+ SVC_GameEventList = 30;
34
+ SVC_GetCvarValue = 31;
35
+ SVC_PacketReliable = 32;
36
+ SVC_FullFrameSplit = 33;
37
+ }
38
+
39
+ message CSVCMsg_CreateStringTable {
40
+ optional string name = 1;
41
+ optional int32 max_entries = 2;
42
+ optional int32 num_entries = 3;
43
+ optional bool user_data_fixed_size = 4;
44
+ optional int32 user_data_size = 5;
45
+ optional int32 user_data_size_bits = 6;
46
+ optional int32 flags = 7;
47
+ optional bytes string_data = 8;
48
+ }
49
+
50
+ message CSVCMsg_SendTable {
51
+ message sendprop_t {
52
+ optional int32 type = 1;
53
+ optional string var_name = 2;
54
+ optional int32 flags = 3;
55
+ optional int32 priority = 4;
56
+ optional string dt_name = 5;
57
+ optional int32 num_elements = 6;
58
+ optional float low_value = 7;
59
+ optional float high_value = 8;
60
+ optional int32 num_bits = 9;
61
+ }
62
+
63
+ optional bool is_end = 1;
64
+ optional string NET_table_name = 2;
65
+ optional bool needs_decoder = 3;
66
+ repeated CSVCMsg_SendTable.sendprop_t props = 4;
67
+ }
68
+
69
+ message CSVCMsg_TempEntities {
70
+ optional bool reliable = 1;
71
+ optional int32 num_entries = 2;
72
+ optional bytes entity_data = 3;
73
+ }
74
+
75
+ message CSVCMsg_VoiceData {
76
+ optional int32 client = 1;
77
+ optional bool proximity = 2;
78
+ optional fixed64 xuid = 3;
79
+ optional int32 audible_mask = 4;
80
+ optional bytes voice_data = 5;
81
+ optional VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM];
82
+ optional int32 sequence_bytes = 7;
83
+ optional uint32 section_number = 8;
84
+ optional uint32 uncompressed_sample_offset = 9;
85
+ optional uint32 tick = 10;
86
+ }
@@ -0,0 +1,217 @@
1
+ package effigy.wire.s1;
2
+
3
+ option java_package = "skadistats.clarity.wire.s1.proto";
4
+ option java_outer_classname = "S1UserMessages";
5
+
6
+ import "networkbasetypes.proto";
7
+
8
+ enum EBaseUserMessages {
9
+ UM_AchievementEvent = 1;
10
+ UM_CloseCaption = 2;
11
+ UM_CloseCaptionDirect = 3;
12
+ UM_CurrentTimescale = 4;
13
+ UM_DesiredTimescale = 5;
14
+ UM_Fade = 6;
15
+ UM_GameTitle = 7;
16
+ UM_Geiger = 8;
17
+ UM_HintText = 9;
18
+ UM_HudMsg = 10;
19
+ UM_HudText = 11;
20
+ UM_KeyHintText = 12;
21
+ UM_MessageText = 13;
22
+ UM_RequestState = 14;
23
+ UM_ResetHUD = 15;
24
+ UM_Rumble = 16;
25
+ UM_SayText = 17;
26
+ UM_SayText2 = 18;
27
+ UM_SayTextChannel = 19;
28
+ UM_Shake = 20;
29
+ UM_ShakeDir = 21;
30
+ UM_StatsCrawlMsg = 22;
31
+ UM_StatsSkipState = 23;
32
+ UM_TextMsg = 24;
33
+ UM_Tilt = 25;
34
+ UM_Train = 26;
35
+ UM_VGUIMenu = 27;
36
+ UM_VoiceMask = 28;
37
+ UM_VoiceSubtitle = 29;
38
+ UM_SendAudio = 30;
39
+ UM_CameraTransition = 31;
40
+ UM_MAX_BASE = 63;
41
+ }
42
+
43
+ message CUserMsg_AchievementEvent {
44
+ optional uint32 achievement = 1;
45
+ }
46
+
47
+ message CUserMsg_CloseCaption {
48
+ optional fixed32 hash = 1;
49
+ optional float duration = 2;
50
+ optional bool from_player = 3;
51
+ optional int32 ent_index = 4;
52
+ }
53
+
54
+ message CUserMsg_CurrentTimescale {
55
+ optional float current = 1;
56
+ }
57
+
58
+ message CUserMsg_DesiredTimescale {
59
+ optional float desired = 1;
60
+ optional float duration = 2;
61
+ optional uint32 interpolator = 3;
62
+ optional float start_blend_time = 4;
63
+ }
64
+
65
+ message CUserMsg_Fade {
66
+ optional uint32 duration = 1;
67
+ optional uint32 hold_time = 2;
68
+ optional uint32 flags = 3;
69
+ optional fixed32 color = 4;
70
+ }
71
+
72
+ message CUserMsg_Shake {
73
+ optional uint32 command = 1;
74
+ optional float amplitude = 2;
75
+ optional float frequency = 3;
76
+ optional float duration = 4;
77
+ }
78
+
79
+ message CUserMsg_ShakeDir {
80
+ optional CUserMsg_Shake shake = 1;
81
+ optional CMsgVector direction = 2;
82
+ }
83
+
84
+ message CUserMsg_Tilt {
85
+ optional uint32 command = 1;
86
+ optional bool ease_in_out = 2;
87
+ optional CMsgVector angle = 3;
88
+ optional float duration = 4;
89
+ optional float time = 5;
90
+ }
91
+
92
+ message CUserMsg_SayText {
93
+ optional uint32 client = 1;
94
+ optional string text = 2;
95
+ optional bool chat = 3;
96
+ }
97
+
98
+ message CUserMsg_SayText2 {
99
+ optional uint32 client = 1;
100
+ optional bool chat = 2;
101
+ optional string format = 3;
102
+ optional string prefix = 4;
103
+ optional string text = 5;
104
+ optional string location = 6;
105
+ }
106
+
107
+ message CUserMsg_HudMsg {
108
+ optional uint32 channel = 1;
109
+ optional float x = 2;
110
+ optional float y = 3;
111
+ optional uint32 color1 = 4;
112
+ optional uint32 color2 = 5;
113
+ optional uint32 effect = 6;
114
+ optional float fade_in_time = 7;
115
+ optional float fade_out_time = 8;
116
+ optional float hold_time = 9;
117
+ optional float fx_time = 10;
118
+ optional string message = 11;
119
+ }
120
+
121
+ message CUserMsg_HudText {
122
+ optional string message = 1;
123
+ }
124
+
125
+ message CUserMsg_TextMsg {
126
+ optional uint32 dest = 1;
127
+ repeated string param = 2;
128
+ }
129
+
130
+ message CUserMsg_GameTitle {
131
+ }
132
+
133
+ message CUserMsg_ResetHUD {
134
+ }
135
+
136
+ message CUserMsg_SendAudio {
137
+ optional bool stop = 2;
138
+ optional string name = 3;
139
+ }
140
+
141
+ message CUserMsg_VoiceMask {
142
+ repeated int32 audible_players_mask = 1;
143
+ optional bool player_mod_enabled = 2;
144
+ }
145
+
146
+ message CUserMsg_RequestState {
147
+ }
148
+
149
+ message CUserMsg_HintText {
150
+ optional string message = 1;
151
+ }
152
+
153
+ message CUserMsg_KeyHintText {
154
+ repeated string messages = 1;
155
+ }
156
+
157
+ message CUserMsg_StatsCrawlMsg {
158
+ }
159
+
160
+ message CUserMsg_StatsSkipState {
161
+ optional int32 num_skips = 1;
162
+ optional int32 num_players = 2;
163
+ }
164
+
165
+ message CUserMsg_VoiceSubtitle {
166
+ optional int32 ent_index = 1;
167
+ optional int32 menu = 2;
168
+ optional int32 item = 3;
169
+ }
170
+
171
+ message CUserMsg_VGUIMenu {
172
+ message Keys {
173
+ optional string name = 1;
174
+ optional string value = 2;
175
+ }
176
+
177
+ optional string name = 1;
178
+ optional bool show = 2;
179
+ repeated CUserMsg_VGUIMenu.Keys keys = 3;
180
+ }
181
+
182
+ message CUserMsg_Geiger {
183
+ optional int32 range = 1;
184
+ }
185
+
186
+ message CUserMsg_Rumble {
187
+ optional int32 index = 1;
188
+ optional int32 data = 2;
189
+ optional int32 flags = 3;
190
+ }
191
+
192
+ message CUserMsg_Train {
193
+ optional int32 train = 1;
194
+ }
195
+
196
+ message CUserMsg_SayTextChannel {
197
+ optional int32 player = 1;
198
+ optional int32 channel = 2;
199
+ optional string text = 3;
200
+ }
201
+
202
+ message CUserMsg_MessageText {
203
+ optional uint32 color = 1;
204
+ optional string text = 2;
205
+ }
206
+
207
+ message CUserMsg_CameraTransition {
208
+ message Transition_DataDriven {
209
+ optional string filename = 1;
210
+ optional int32 attach_ent_index = 2;
211
+ }
212
+
213
+ optional uint32 camera_type = 1;
214
+ optional float duration = 2;
215
+ optional CUserMsg_CameraTransition.Transition_DataDriven params_data_driven = 3;
216
+ }
217
+