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,183 @@
1
+ package effigy.wire;
2
+
3
+ option java_package = "skadistats.clarity.wire.common.proto";
4
+ option java_outer_classname = "DotaCommonMessages";
5
+
6
+ option optimize_for = SPEED;
7
+ option cc_generic_services = false;
8
+
9
+ enum EDOTAChatWheelMessage {
10
+ K_EDOTA_CW_Ok = 0;
11
+ K_EDOTA_CW_Care = 1;
12
+ K_EDOTA_CW_GetBack = 2;
13
+ K_EDOTA_CW_NeedWards = 3;
14
+ K_EDOTA_CW_Stun = 4;
15
+ K_EDOTA_CW_Help = 5;
16
+ K_EDOTA_CW_Push = 6;
17
+ K_EDOTA_CW_GoodJob = 7;
18
+ K_EDOTA_CW_Missing = 8;
19
+ K_EDOTA_CW_Missing_Top = 9;
20
+ K_EDOTA_CW_Missing_Mid = 10;
21
+ K_EDOTA_CW_Missing_Bottom = 11;
22
+ K_EDOTA_CW_Go = 12;
23
+ K_EDOTA_CW_Initiate = 13;
24
+ K_EDOTA_CW_Follow = 14;
25
+ K_EDOTA_CW_Group_Up = 15;
26
+ K_EDOTA_CW_Spread_Out = 16;
27
+ K_EDOTA_CW_Split_Farm = 17;
28
+ K_EDOTA_CW_Attack = 18;
29
+ K_EDOTA_CW_BRB = 19;
30
+ K_EDOTA_CW_Dive = 20;
31
+ K_EDOTA_CW_OMW = 21;
32
+ K_EDOTA_CW_Get_Ready = 22;
33
+ K_EDOTA_CW_Bait = 23;
34
+ K_EDOTA_CW_Heal = 24;
35
+ K_EDOTA_CW_Mana = 25;
36
+ K_EDOTA_CW_OOM = 26;
37
+ K_EDOTA_CW_Skill_Cooldown = 27;
38
+ K_EDOTA_CW_Ulti_Ready = 28;
39
+ K_EDOTA_CW_Enemy_Returned = 29;
40
+ K_EDOTA_CW_All_Missing = 30;
41
+ K_EDOTA_CW_Enemy_Incoming = 31;
42
+ K_EDOTA_CW_Invis_Enemy = 32;
43
+ K_EDOTA_CW_Enemy_Had_Rune = 33;
44
+ K_EDOTA_CW_Split_Push = 34;
45
+ K_EDOTA_CW_Coming_To_Gank = 35;
46
+ K_EDOTA_CW_Request_Gank = 36;
47
+ K_EDOTA_CW_Fight_Under_Tower = 37;
48
+ K_EDOTA_CW_Deny_Tower = 38;
49
+ K_EDOTA_CW_Buy_Courier = 39;
50
+ K_EDOTA_CW_Upgrade_Courier = 40;
51
+ K_EDOTA_CW_Need_Detection = 41;
52
+ K_EDOTA_CW_They_Have_Detection = 42;
53
+ K_EDOTA_CW_Buy_TP = 43;
54
+ K_EDOTA_CW_Reuse_Courier = 44;
55
+ K_EDOTA_CW_Deward = 45;
56
+ K_EDOTA_CW_Building_Mek = 46;
57
+ K_EDOTA_CW_Building_Pipe = 47;
58
+ K_EDOTA_CW_Stack_And_Pull = 48;
59
+ K_EDOTA_CW_Pull = 49;
60
+ K_EDOTA_CW_Pulling = 50;
61
+ K_EDOTA_CW_Stack = 51;
62
+ K_EDOTA_CW_Jungling = 52;
63
+ K_EDOTA_CW_Roshan = 53;
64
+ K_EDOTA_CW_Affirmative = 54;
65
+ K_EDOTA_CW_Wait = 55;
66
+ K_EDOTA_CW_Pause = 56;
67
+ K_EDOTA_CW_Current_Time = 57;
68
+ K_EDOTA_CW_Check_Runes = 58;
69
+ K_EDOTA_CW_Smoke_Gank = 59;
70
+ K_EDOTA_CW_GLHF = 60;
71
+ K_EDOTA_CW_Nice = 61;
72
+ K_EDOTA_CW_Thanks = 62;
73
+ K_EDOTA_CW_Sorry = 63;
74
+ K_EDOTA_CW_No_Give_Up = 64;
75
+ K_EDOTA_CW_Just_Happened = 65;
76
+ K_EDOTA_CW_Game_Is_Hard = 66;
77
+ K_EDOTA_CW_New_Meta = 67;
78
+ K_EDOTA_CW_My_Bad = 68;
79
+ K_EDOTA_CW_Regret = 69;
80
+ K_EDOTA_CW_Relax = 70;
81
+ K_EDOTA_CW_MissingHero = 71;
82
+ K_EDOTA_CW_ReturnedHero = 72;
83
+ K_EDOTA_CW_GG = 73;
84
+ K_EDOTA_CW_GGWP = 74;
85
+ K_EDOTA_CW_All_GG = 75;
86
+ K_EDOTA_CW_All_GGWP = 76;
87
+ K_EDOTA_CW_What_To_Buy = 77;
88
+ K_EDOTA_CW_Im_Retreating = 78;
89
+ K_EDOTA_CW_Space_Created = 79;
90
+ K_EDOTA_CW_Whoops = 80;
91
+ K_EDOTA_CW_Tower_then_Back = 81;
92
+ K_EDOTA_CW_Barracks_then_Back = 82;
93
+ K_EDOTA_CW_Ward_Bottom_Rune = 83;
94
+ K_EDOTA_CW_Ward_Top_Rune = 84;
95
+ K_EDOTA_CW_Zeus_Ult = 85;
96
+ }
97
+
98
+ enum EDOTAStatPopupTypes {
99
+ K_EDOTA_SPT_Textline = 0;
100
+ K_EDOTA_SPT_Basic = 1;
101
+ K_EDOTA_SPT_Poll = 2;
102
+ K_EDOTA_SPT_Grid = 3;
103
+ }
104
+
105
+ enum dotaunitorder_t {
106
+ DOTA_UNIT_ORDER_NONE = 0;
107
+ DOTA_UNIT_ORDER_MOVE_TO_POSITION = 1;
108
+ DOTA_UNIT_ORDER_MOVE_TO_TARGET = 2;
109
+ DOTA_UNIT_ORDER_ATTACK_MOVE = 3;
110
+ DOTA_UNIT_ORDER_ATTACK_TARGET = 4;
111
+ DOTA_UNIT_ORDER_CAST_POSITION = 5;
112
+ DOTA_UNIT_ORDER_CAST_TARGET = 6;
113
+ DOTA_UNIT_ORDER_CAST_TARGET_TREE = 7;
114
+ DOTA_UNIT_ORDER_CAST_NO_TARGET = 8;
115
+ DOTA_UNIT_ORDER_CAST_TOGGLE = 9;
116
+ DOTA_UNIT_ORDER_HOLD_POSITION = 10;
117
+ DOTA_UNIT_ORDER_TRAIN_ABILITY = 11;
118
+ DOTA_UNIT_ORDER_DROP_ITEM = 12;
119
+ DOTA_UNIT_ORDER_GIVE_ITEM = 13;
120
+ DOTA_UNIT_ORDER_PICKUP_ITEM = 14;
121
+ DOTA_UNIT_ORDER_PICKUP_RUNE = 15;
122
+ DOTA_UNIT_ORDER_PURCHASE_ITEM = 16;
123
+ DOTA_UNIT_ORDER_SELL_ITEM = 17;
124
+ DOTA_UNIT_ORDER_DISASSEMBLE_ITEM = 18;
125
+ DOTA_UNIT_ORDER_MOVE_ITEM = 19;
126
+ DOTA_UNIT_ORDER_CAST_TOGGLE_AUTO = 20;
127
+ DOTA_UNIT_ORDER_STOP = 21;
128
+ DOTA_UNIT_ORDER_TAUNT = 22;
129
+ DOTA_UNIT_ORDER_BUYBACK = 23;
130
+ DOTA_UNIT_ORDER_GLYPH = 24;
131
+ DOTA_UNIT_ORDER_EJECT_ITEM_FROM_STASH = 25;
132
+ DOTA_UNIT_ORDER_CAST_RUNE = 26;
133
+ DOTA_UNIT_ORDER_PING_ABILITY = 27;
134
+ DOTA_UNIT_ORDER_MOVE_TO_DIRECTION = 28;
135
+ DOTA_UNIT_ORDER_PATROL = 29;
136
+ DOTA_UNIT_ORDER_VECTOR_TARGET_POSITION = 30;
137
+ DOTA_UNIT_ORDER_RADAR = 31;
138
+ }
139
+
140
+ message CDOTAMsg_LocationPing {
141
+ optional int32 x = 1;
142
+ optional int32 y = 2;
143
+ optional int32 target = 3;
144
+ optional bool direct_ping = 4;
145
+ optional int32 type = 5;
146
+ }
147
+
148
+ message CDOTAMsg_ItemAlert {
149
+ optional int32 x = 1;
150
+ optional int32 y = 2;
151
+ optional int32 itemid = 3;
152
+ }
153
+
154
+ message CDOTAMsg_EnemyItemAlert {
155
+ optional uint32 player_id = 1;
156
+ optional int32 itemid = 2;
157
+ }
158
+
159
+ message CDOTAMsg_MapLine {
160
+ optional int32 x = 1;
161
+ optional int32 y = 2;
162
+ optional bool initial = 3;
163
+ }
164
+
165
+ message CDOTAMsg_WorldLine {
166
+ optional int32 x = 1;
167
+ optional int32 y = 2;
168
+ optional int32 z = 3;
169
+ optional bool initial = 4;
170
+ optional bool end = 5;
171
+ }
172
+
173
+ message CDOTAMsg_SendStatPopup {
174
+ optional EDOTAStatPopupTypes style = 1 [default = K_EDOTA_SPT_Textline];
175
+ repeated string stat_strings = 2;
176
+ repeated int32 stat_images = 3;
177
+ }
178
+
179
+ message CDOTAMsg_CoachHUDPing {
180
+ optional uint32 x = 1;
181
+ optional uint32 y = 2;
182
+ optional string tgtpath = 3;
183
+ }
@@ -0,0 +1,54 @@
1
+ package effigy.wire;
2
+
3
+ option java_package = "skadistats.clarity.wire.common.proto";
4
+ option java_outer_classname = "DotaModifiers";
5
+
6
+ import "networkbasetypes.proto";
7
+
8
+ option optimize_for = SPEED;
9
+ option cc_generic_services = false;
10
+
11
+ enum DOTA_MODIFIER_ENTRY_TYPE {
12
+ DOTA_MODIFIER_ENTRY_TYPE_ACTIVE = 1;
13
+ DOTA_MODIFIER_ENTRY_TYPE_REMOVED = 2;
14
+ }
15
+
16
+ message CDOTAModifierBuffTableEntry {
17
+ required DOTA_MODIFIER_ENTRY_TYPE entry_type = 1 [default = DOTA_MODIFIER_ENTRY_TYPE_ACTIVE];
18
+ required int32 parent = 2;
19
+ required int32 index = 3;
20
+ required int32 serial_num = 4;
21
+ optional int32 modifier_class = 5;
22
+ optional int32 ability_level = 6;
23
+ optional int32 stack_count = 7;
24
+ optional float creation_time = 8;
25
+ optional float duration = 9 [default = -1];
26
+ optional int32 caster = 10;
27
+ optional int32 ability = 11;
28
+ optional int32 armor = 12;
29
+ optional float fade_time = 13;
30
+ optional bool subtle = 14;
31
+ optional float channel_time = 15;
32
+ optional CMsgVector v_start = 16;
33
+ optional CMsgVector v_end = 17;
34
+ optional string portal_loop_appear = 18;
35
+ optional string portal_loop_disappear = 19;
36
+ optional string hero_loop_appear = 20;
37
+ optional string hero_loop_disappear = 21;
38
+ optional int32 movement_speed = 22;
39
+ optional bool aura = 23;
40
+ optional int32 activity = 24;
41
+ optional int32 damage = 25;
42
+ optional int32 range = 26;
43
+ optional int32 dd_modifier_index = 27;
44
+ optional int32 dd_ability_index = 28;
45
+ optional string illusion_label = 29;
46
+ optional bool active = 30;
47
+ optional string lua_name = 31;
48
+ }
49
+
50
+ message CDOTALuaModifierEntry {
51
+ required int32 modifier_type = 1;
52
+ required string modifier_filename = 2;
53
+ }
54
+