effigy_wire 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +13 -6
- data/bin/bundler +17 -0
- data/bin/import +47 -0
- data/bin/protoc-gen-ruby +17 -0
- data/bin/rake +17 -0
- data/bin/repath +6 -0
- data/bin/rpc_server +17 -0
- data/bin/support/00-nuke_everything +35 -0
- data/bin/support/10-clarity_protobuf_copy +68 -0
- data/bin/support/20-clean_clarity_protobuf +46 -0
- data/bin/{effigy/package → support/30-package_proto} +10 -8
- data/bin/support/40-tweak_proto +24 -0
- data/bin/support/50-compile_proto +100 -0
- data/bin/support/60-tweak_rb +23 -0
- data/bin/{effigy/mk-require-turds → support/70-make_require_turds} +10 -6
- data/bin/support/80-delete_stragglers +7 -0
- data/bin/thor +17 -0
- data/effigy_wire.gemspec +1 -2
- data/lib/effigy/wire.rb +0 -6
- data/lib/effigy/wire/demo.pb.rb +22 -21
- data/lib/effigy/wire/dota_commonmessages.pb.rb +87 -86
- data/lib/effigy/wire/dota_modifiers.pb.rb +2 -1
- data/lib/effigy/wire/dota_usermessages.pb.rb +50 -49
- data/lib/effigy/wire/netmessages.pb.rb +2 -1
- data/lib/effigy/wire/networkbasetypes.pb.rb +15 -14
- data/lib/effigy/wire/s1/s1_dota_usermessages.pb.rb +81 -80
- data/lib/effigy/wire/s1/s1_netmessages.pb.rb +29 -28
- data/lib/effigy/wire/s1/s1_usermessages.pb.rb +33 -32
- data/lib/effigy/wire/s2/s2_base_gcmessages.pb.rb +2 -1
- data/lib/effigy/wire/s2/s2_dota_gcmessages_common.pb.rb +3 -2
- data/lib/effigy/wire/s2/s2_dota_match_metadata.pb.rb +3 -2
- data/lib/effigy/wire/s2/s2_dota_usermessages.pb.rb +96 -95
- data/lib/effigy/wire/s2/s2_gameevents.pb.rb +15 -14
- data/lib/effigy/wire/s2/s2_netmessages.pb.rb +26 -25
- data/lib/effigy/wire/s2/s2_te.pb.rb +29 -28
- data/lib/effigy/wire/s2/s2_usermessages.pb.rb +48 -47
- data/proto/dota_commonmessages.proto +91 -91
- data/proto/dota_usermessages.proto +48 -48
- data/proto/networkbasetypes.proto +14 -14
- data/proto/s1/s1_netmessages.proto +27 -27
- data/proto/s2/s2_dota_gcmessages_common.proto +1 -1
- data/proto/s2/s2_dota_match_metadata.proto +1 -1
- data/proto/s2/s2_netmessages.proto +24 -24
- metadata +19 -10
- data/BIN_README.txt +0 -18
- data/bin/clarity-protobuf/clean +0 -36
- data/bin/clarity-protobuf/copy +0 -75
- data/bin/effigy/compile-proto +0 -81
- data/bin/effigy/tweak-proto +0 -30
- data/bin/effigy/tweak-rb +0 -20
@@ -7,99 +7,99 @@ option optimize_for = SPEED;
|
|
7
7
|
option cc_generic_services = false;
|
8
8
|
|
9
9
|
enum EDOTAChatWheelMessage {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
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
96
|
}
|
97
97
|
|
98
98
|
enum EDOTAStatPopupTypes {
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
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
103
|
}
|
104
104
|
|
105
105
|
enum dotaunitorder_t {
|
@@ -171,7 +171,7 @@ message CDOTAMsg_WorldLine {
|
|
171
171
|
}
|
172
172
|
|
173
173
|
message CDOTAMsg_SendStatPopup {
|
174
|
-
optional EDOTAStatPopupTypes style = 1 [default =
|
174
|
+
optional EDOTAStatPopupTypes style = 1 [default = k_EDOTA_SPT_Textline];
|
175
175
|
repeated string stat_strings = 2;
|
176
176
|
repeated int32 stat_images = 3;
|
177
177
|
}
|
@@ -237,53 +237,53 @@ enum DOTA_ABILITY_TARGET_TYPE {
|
|
237
237
|
}
|
238
238
|
|
239
239
|
enum EHeroStatType {
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
240
|
+
k_EHeroStatType_None = 0;
|
241
|
+
k_EHeroStatType_AxeTotalDamage = 2000;
|
242
|
+
k_EHeroStatType_BattleHungerDamage = 2001;
|
243
|
+
k_EHeroStatType_CounterHelixDamage = 2002;
|
244
|
+
k_EHeroStatType_CullingBladeDamage = 2003;
|
245
|
+
k_EHeroStatType_BerserkersCallCastCount = 2004;
|
246
|
+
k_EHeroStatType_BerserkersCallHeroesHitAverage = 2005;
|
247
|
+
k_EHeroStatType_BerserkersCallOtherUnitsHit = 2006;
|
248
|
+
k_EHeroStatType_BerserkersCallHeroAttacksTaken = 2007;
|
249
|
+
k_EHeroStatType_BerserkersCallOtherAttacksTaken = 2008;
|
250
|
+
k_EHeroStatType_BattleHungerCastCount = 2009;
|
251
|
+
k_EHeroStatType_BattleHungerPotentialDuration = 2010;
|
252
|
+
k_EHeroStatType_BattleHungerAverageDuration = 2011;
|
253
|
+
k_EHeroStatType_CounterHelixProcCount = 2012;
|
254
|
+
k_EHeroStatType_CounterHelixHeroProcCount = 2013;
|
255
|
+
k_EHeroStatType_CounterHelixHeroesHitAverage = 2014;
|
256
|
+
k_EHeroStatType_CounterHelixOtherUnitsHitCount = 2015;
|
257
|
+
k_EHeroStatType_CullingBladeCastCount = 2016;
|
258
|
+
k_EHeroStatType_CullingBladeKillCount = 2017;
|
259
|
+
k_EHeroStatType_CullingBladeAverageHealthCulled = 2018;
|
260
|
+
k_EHeroStatType_CullingBladeAverageDamageAvailable = 2019;
|
261
|
+
k_EHeroStatType_CullingBladeHeroBuffAverage = 2020;
|
262
262
|
}
|
263
263
|
|
264
264
|
enum EPlayerVoiceListenState {
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
265
|
+
kPVLS_None = 0;
|
266
|
+
kPVLS_DeniedChatBanned = 1;
|
267
|
+
kPVLS_DeniedPartner = 2;
|
268
|
+
kPVLS_DeniedHLTVTalkerNotSpectator = 3;
|
269
|
+
kPVLS_DeniedHLTVNoTalkerPlayerID = 4;
|
270
|
+
kPVLS_DeniedHLTVTalkerNotBroadcaster = 5;
|
271
|
+
kPVLS_DeniedTeamSpectator = 6;
|
272
|
+
kPVLS_DeniedStudent = 8;
|
273
|
+
kPVLS_Denied = 64;
|
274
|
+
kPVLS_AllowHLTVTalkerIsBroadcaster = 65;
|
275
|
+
kPVLS_AllowCoBroadcaster = 66;
|
276
|
+
kPVLS_AllowAllChat = 67;
|
277
|
+
kPVLS_AllowStudentToCoach = 68;
|
278
|
+
kPVLS_AllowFellowStudent = 69;
|
279
|
+
kPVLS_AllowTalkerIsCoach = 70;
|
280
|
+
kPVLS_AllowCoachHearTeam = 71;
|
281
|
+
kPVLS_AllowSameTeam = 72;
|
282
|
+
kPVLS_AllowShowcase = 73;
|
283
283
|
}
|
284
284
|
|
285
285
|
enum EProjectionEvent {
|
286
|
-
|
286
|
+
ePE_FirstBlood = 0;
|
287
287
|
}
|
288
288
|
|
289
289
|
message CDOTAUserMsg_AIDebugLine {
|
@@ -506,14 +506,14 @@ message CDOTAUserMsg_HalloweenDrops {
|
|
506
506
|
message CDOTAUserMsg_PredictionResult {
|
507
507
|
message Prediction {
|
508
508
|
enum EResult {
|
509
|
-
|
510
|
-
|
509
|
+
k_eResult_ItemGranted = 1;
|
510
|
+
k_eResult_Destroyed = 2;
|
511
511
|
}
|
512
512
|
|
513
513
|
optional uint32 item_def = 1;
|
514
514
|
optional uint32 num_correct = 2;
|
515
515
|
optional uint32 num_fails = 3;
|
516
|
-
optional CDOTAUserMsg_PredictionResult.Prediction.EResult result = 4 [default =
|
516
|
+
optional CDOTAUserMsg_PredictionResult.Prediction.EResult result = 4 [default = k_eResult_ItemGranted];
|
517
517
|
repeated uint32 granted_item_defs = 6;
|
518
518
|
}
|
519
519
|
|
@@ -732,7 +732,7 @@ message CDOTAUserMsg_WorldLine {
|
|
732
732
|
}
|
733
733
|
|
734
734
|
message CDOTAUserMsg_ChatWheel {
|
735
|
-
optional EDOTAChatWheelMessage chat_message = 1 [default =
|
735
|
+
optional EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok];
|
736
736
|
optional uint32 player_id = 2;
|
737
737
|
optional uint32 account_id = 3;
|
738
738
|
optional uint32 param_hero_id = 4;
|
@@ -938,7 +938,7 @@ message CDOTAUserMsg_StatsHeroMinuteDetails {
|
|
938
938
|
optional uint32 tower_damage = 4;
|
939
939
|
optional CDOTAUserMsg_StatsHeroPositionInfo position_info = 5;
|
940
940
|
optional uint32 total_xp = 6;
|
941
|
-
optional uint32
|
941
|
+
optional uint32 net_worth = 7;
|
942
942
|
optional uint32 harvested_creep_gold = 8;
|
943
943
|
optional uint32 claimed_farm = 9;
|
944
944
|
optional uint32 wards_placed = 10;
|
@@ -1025,7 +1025,7 @@ message CDOTAUserMsg_CustomHeaderMessage {
|
|
1025
1025
|
}
|
1026
1026
|
|
1027
1027
|
message CMsgHeroAbilityStat {
|
1028
|
-
optional EHeroStatType stat_type = 1 [default =
|
1028
|
+
optional EHeroStatType stat_type = 1 [default = k_EHeroStatType_None];
|
1029
1029
|
optional int32 int_value = 2;
|
1030
1030
|
optional float float_value = 3;
|
1031
1031
|
}
|
@@ -1084,7 +1084,7 @@ message CDOTAUserMsg_ProjectionAbility {
|
|
1084
1084
|
}
|
1085
1085
|
|
1086
1086
|
message CDOTAUserMsg_ProjectionEvent {
|
1087
|
-
optional EProjectionEvent event_id = 1 [default =
|
1087
|
+
optional EProjectionEvent event_id = 1 [default = ePE_FirstBlood];
|
1088
1088
|
optional uint32 team = 2;
|
1089
1089
|
}
|
1090
1090
|
|
@@ -6,20 +6,20 @@ option java_outer_classname = "NetworkBaseTypes";
|
|
6
6
|
option cc_generic_services = false;
|
7
7
|
|
8
8
|
enum NET_Messages {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
9
|
+
net_NOP = 0;
|
10
|
+
net_Disconnect = 1;
|
11
|
+
net_File = 2;
|
12
|
+
net_SplitScreenUser = 3;
|
13
|
+
net_Tick = 4;
|
14
|
+
net_StringCmd = 5;
|
15
|
+
net_SetConVar = 6;
|
16
|
+
net_SignonState = 7;
|
17
|
+
net_SpawnGroup_Load = 8;
|
18
|
+
net_SpawnGroup_ManifestUpdate = 9;
|
19
|
+
net_SpawnGroup_SetCreationTick = 11;
|
20
|
+
net_SpawnGroup_Unload = 12;
|
21
|
+
net_SpawnGroup_LoadCompleted = 13;
|
22
|
+
net_ReliableMessageEndMarker = 14;
|
23
23
|
}
|
24
24
|
|
25
25
|
enum SpawnGroupFlags_t {
|
@@ -8,32 +8,32 @@ import "netmessages.proto";
|
|
8
8
|
option cc_generic_services = false;
|
9
9
|
|
10
10
|
enum SVC_Messages {
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
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
37
|
}
|
38
38
|
|
39
39
|
message CSVCMsg_CreateStringTable {
|
@@ -61,7 +61,7 @@ message CSVCMsg_SendTable {
|
|
61
61
|
}
|
62
62
|
|
63
63
|
optional bool is_end = 1;
|
64
|
-
optional string
|
64
|
+
optional string net_table_name = 2;
|
65
65
|
optional bool needs_decoder = 3;
|
66
66
|
repeated CSVCMsg_SendTable.sendprop_t props = 4;
|
67
67
|
}
|
@@ -104,7 +104,7 @@ message CMsgDOTAMatch {
|
|
104
104
|
repeated CMatchAdditionalUnitInventory additional_units_inventory = 48;
|
105
105
|
optional CMsgDOTAMatch.Player.CustomGameData custom_game_data = 50;
|
106
106
|
optional bool active_battle_pass = 51;
|
107
|
-
optional uint32
|
107
|
+
optional uint32 net_worth = 52;
|
108
108
|
}
|
109
109
|
|
110
110
|
message BroadcasterInfo {
|