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,117 @@
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 EDotaUserMessages < ::Protobuf::Enum
16
+ define :DOTA_UM_AddUnitToSelection, 464
17
+ define :DOTA_UM_AIDebugLine, 465
18
+ define :DOTA_UM_ChatEvent, 466
19
+ define :DOTA_UM_CombatHeroPositions, 467
20
+ define :DOTA_UM_CombatLogData, 468
21
+ define :DOTA_UM_CombatLogShowDeath, 470
22
+ define :DOTA_UM_CreateLinearProjectile, 471
23
+ define :DOTA_UM_DestroyLinearProjectile, 472
24
+ define :DOTA_UM_DodgeTrackingProjectiles, 473
25
+ define :DOTA_UM_GlobalLightColor, 474
26
+ define :DOTA_UM_GlobalLightDirection, 475
27
+ define :DOTA_UM_InvalidCommand, 476
28
+ define :DOTA_UM_LocationPing, 477
29
+ define :DOTA_UM_MapLine, 478
30
+ define :DOTA_UM_MiniKillCamInfo, 479
31
+ define :DOTA_UM_MinimapDebugPoint, 480
32
+ define :DOTA_UM_MinimapEvent, 481
33
+ define :DOTA_UM_NevermoreRequiem, 482
34
+ define :DOTA_UM_OverheadEvent, 483
35
+ define :DOTA_UM_SetNextAutobuyItem, 484
36
+ define :DOTA_UM_SharedCooldown, 485
37
+ define :DOTA_UM_SpectatorPlayerClick, 486
38
+ define :DOTA_UM_TutorialTipInfo, 487
39
+ define :DOTA_UM_UnitEvent, 488
40
+ define :DOTA_UM_ParticleManager, 489
41
+ define :DOTA_UM_BotChat, 490
42
+ define :DOTA_UM_HudError, 491
43
+ define :DOTA_UM_ItemPurchased, 492
44
+ define :DOTA_UM_Ping, 493
45
+ define :DOTA_UM_ItemFound, 494
46
+ define :DOTA_UM_CharacterSpeakConcept, 495
47
+ define :DOTA_UM_SwapVerify, 496
48
+ define :DOTA_UM_WorldLine, 497
49
+ define :DOTA_UM_TournamentDrop, 498
50
+ define :DOTA_UM_ItemAlert, 499
51
+ define :DOTA_UM_HalloweenDrops, 500
52
+ define :DOTA_UM_ChatWheel, 501
53
+ define :DOTA_UM_ReceivedXmasGift, 502
54
+ define :DOTA_UM_UpdateSharedContent, 503
55
+ define :DOTA_UM_TutorialRequestExp, 504
56
+ define :DOTA_UM_TutorialPingMinimap, 505
57
+ define :DOTA_UM_GamerulesStateChanged, 506
58
+ define :DOTA_UM_ShowSurvey, 507
59
+ define :DOTA_UM_TutorialFade, 508
60
+ define :DOTA_UM_AddQuestLogEntry, 509
61
+ define :DOTA_UM_SendStatPopup, 510
62
+ define :DOTA_UM_TutorialFinish, 511
63
+ define :DOTA_UM_SendRoshanPopup, 512
64
+ define :DOTA_UM_SendGenericToolTip, 513
65
+ define :DOTA_UM_SendFinalGold, 514
66
+ define :DOTA_UM_CustomMsg, 515
67
+ define :DOTA_UM_CoachHUDPing, 516
68
+ define :DOTA_UM_ClientLoadGridNav, 517
69
+ define :DOTA_UM_TE_Projectile, 518
70
+ define :DOTA_UM_TE_ProjectileLoc, 519
71
+ define :DOTA_UM_TE_DotaBloodImpact, 520
72
+ define :DOTA_UM_TE_UnitAnimation, 521
73
+ define :DOTA_UM_TE_UnitAnimationEnd, 522
74
+ define :DOTA_UM_AbilityPing, 523
75
+ define :DOTA_UM_ShowGenericPopup, 524
76
+ define :DOTA_UM_VoteStart, 525
77
+ define :DOTA_UM_VoteUpdate, 526
78
+ define :DOTA_UM_VoteEnd, 527
79
+ define :DOTA_UM_BoosterState, 528
80
+ define :DOTA_UM_WillPurchaseAlert, 529
81
+ define :DOTA_UM_TutorialMinimapPosition, 530
82
+ define :DOTA_UM_PlayerMMR, 531
83
+ define :DOTA_UM_AbilitySteal, 532
84
+ define :DOTA_UM_CourierKilledAlert, 533
85
+ define :DOTA_UM_EnemyItemAlert, 534
86
+ define :DOTA_UM_StatsMatchDetails, 535
87
+ define :DOTA_UM_MiniTaunt, 536
88
+ define :DOTA_UM_BuyBackStateAlert, 537
89
+ define :DOTA_UM_SpeechBubble, 538
90
+ define :DOTA_UM_CustomHeaderMessage, 539
91
+ define :DOTA_UM_QuickBuyAlert, 540
92
+ define :DOTA_UM_StatsHeroDetails, 541
93
+ define :DOTA_UM_PredictionResult, 542
94
+ define :DOTA_UM_ModifierAlert, 543
95
+ define :DOTA_UM_HPManaAlert, 544
96
+ define :DOTA_UM_GlyphAlert, 545
97
+ define :DOTA_UM_BeastChat, 546
98
+ define :DOTA_UM_SpectatorPlayerUnitOrders, 547
99
+ define :DOTA_UM_CustomHudElement_Create, 548
100
+ define :DOTA_UM_CustomHudElement_Modify, 549
101
+ define :DOTA_UM_CustomHudElement_Destroy, 550
102
+ define :DOTA_UM_CompendiumState, 551
103
+ define :DOTA_UM_ProjectionAbility, 552
104
+ define :DOTA_UM_ProjectionEvent, 553
105
+ define :DOTA_UM_CombatLogDataHLTV, 554
106
+ define :DOTA_UM_XPAlert, 555
107
+ define :DOTA_UM_UpdateQuestProgress, 556
108
+ define :DOTA_UM_MatchMetadata, 557
109
+ define :DOTA_UM_MatchDetails, 558
110
+ end
111
+
112
+ end
113
+
114
+ end
115
+
116
+ end
117
+
@@ -0,0 +1,172 @@
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 S2
17
+
18
+ ##
19
+ # Enum Classes
20
+ #
21
+ class EBaseGameEvents < ::Protobuf::Enum
22
+ define :GE_VDebugGameSessionIDEvent, 200
23
+ define :GE_PlaceDecalEvent, 201
24
+ define :GE_ClearWorldDecalsEvent, 202
25
+ define :GE_ClearEntityDecalsEvent, 203
26
+ define :GE_ClearDecalsForSkeletonInstanceEvent, 204
27
+ define :GE_Source1LegacyGameEventList, 205
28
+ define :GE_Source1LegacyListenEvents, 206
29
+ define :GE_Source1LegacyGameEvent, 207
30
+ define :GE_SosStartSoundEvent, 208
31
+ define :GE_SosStopSoundEvent, 209
32
+ define :GE_SosSetSoundEventParams, 210
33
+ define :GE_SosSetLibraryStackFields, 211
34
+ define :GE_SosStopSoundEventHash, 212
35
+ end
36
+
37
+
38
+ ##
39
+ # Message Classes
40
+ #
41
+ class CMsgVDebugGameSessionIDEvent < ::Protobuf::Message; end
42
+ class CMsgPlaceDecalEvent < ::Protobuf::Message; end
43
+ class CMsgClearWorldDecalsEvent < ::Protobuf::Message; end
44
+ class CMsgClearEntityDecalsEvent < ::Protobuf::Message; end
45
+ class CMsgClearDecalsForSkeletonInstanceEvent < ::Protobuf::Message; end
46
+ class CMsgSource1LegacyGameEventList < ::Protobuf::Message
47
+ class Key_t < ::Protobuf::Message; end
48
+ class Descriptor_t < ::Protobuf::Message; end
49
+
50
+ end
51
+
52
+ class CMsgSource1LegacyListenEvents < ::Protobuf::Message; end
53
+ class CMsgSource1LegacyGameEvent < ::Protobuf::Message
54
+ class Key_t < ::Protobuf::Message; end
55
+
56
+ end
57
+
58
+ class CMsgSosStartSoundEvent < ::Protobuf::Message; end
59
+ class CMsgSosStopSoundEvent < ::Protobuf::Message; end
60
+ class CMsgSosStopSoundEventHash < ::Protobuf::Message; end
61
+ class CMsgSosSetSoundEventParams < ::Protobuf::Message; end
62
+ class CMsgSosSetLibraryStackFields < ::Protobuf::Message; end
63
+
64
+
65
+ ##
66
+ # Message Fields
67
+ #
68
+ class CMsgVDebugGameSessionIDEvent
69
+ optional :int32, :clientid, 1
70
+ optional :string, :gamesessionid, 2
71
+ end
72
+
73
+ class CMsgPlaceDecalEvent
74
+ optional ::Effigy::Wire::CMsgVector, :position, 1
75
+ optional ::Effigy::Wire::CMsgVector, :normal, 2
76
+ optional ::Effigy::Wire::CMsgVector, :saxis, 3
77
+ optional :uint32, :decalmaterialindex, 4
78
+ optional :uint32, :flags, 5
79
+ optional :fixed32, :color, 6
80
+ optional :float, :width, 7
81
+ optional :float, :height, 8
82
+ optional :float, :depth, 9
83
+ optional :uint32, :entityhandleindex, 10
84
+ optional :fixed32, :skeletoninstancehash, 11
85
+ optional :int32, :boneindex, 12
86
+ optional :bool, :translucenthit, 13
87
+ end
88
+
89
+ class CMsgClearWorldDecalsEvent
90
+ optional :uint32, :flagstoclear, 1
91
+ end
92
+
93
+ class CMsgClearEntityDecalsEvent
94
+ optional :uint32, :flagstoclear, 1
95
+ end
96
+
97
+ class CMsgClearDecalsForSkeletonInstanceEvent
98
+ optional :uint32, :flagstoclear, 1
99
+ optional :uint32, :entityhandleindex, 2
100
+ optional :uint32, :skeletoninstancehash, 3
101
+ end
102
+
103
+ class CMsgSource1LegacyGameEventList
104
+ class Key_t
105
+ optional :int32, :type, 1
106
+ optional :string, :name, 2
107
+ end
108
+
109
+ class Descriptor_t
110
+ optional :int32, :eventid, 1
111
+ optional :string, :name, 2
112
+ repeated ::Effigy::Wire::S2::CMsgSource1LegacyGameEventList::Key_t, :keys, 3
113
+ end
114
+
115
+ repeated ::Effigy::Wire::S2::CMsgSource1LegacyGameEventList::Descriptor_t, :descriptors, 1
116
+ end
117
+
118
+ class CMsgSource1LegacyListenEvents
119
+ optional :int32, :playerslot, 1
120
+ repeated :uint32, :eventarraybits, 2
121
+ end
122
+
123
+ class CMsgSource1LegacyGameEvent
124
+ class Key_t
125
+ optional :int32, :type, 1
126
+ optional :string, :val_string, 2
127
+ optional :float, :val_float, 3
128
+ optional :int32, :val_long, 4
129
+ optional :int32, :val_short, 5
130
+ optional :int32, :val_byte, 6
131
+ optional :bool, :val_bool, 7
132
+ optional :uint64, :val_uint64, 8
133
+ end
134
+
135
+ optional :string, :event_name, 1
136
+ optional :int32, :eventid, 2
137
+ repeated ::Effigy::Wire::S2::CMsgSource1LegacyGameEvent::Key_t, :keys, 3
138
+ end
139
+
140
+ class CMsgSosStartSoundEvent
141
+ optional :int32, :soundevent_guid, 1
142
+ optional :fixed32, :soundevent_hash, 2
143
+ optional :int32, :source_entity_index, 3
144
+ optional :int32, :seed, 4
145
+ optional :bytes, :packed_params, 5
146
+ end
147
+
148
+ class CMsgSosStopSoundEvent
149
+ optional :int32, :soundevent_guid, 1
150
+ end
151
+
152
+ class CMsgSosStopSoundEventHash
153
+ optional :fixed32, :soundevent_hash, 1
154
+ optional :int32, :source_entity_index, 2
155
+ end
156
+
157
+ class CMsgSosSetSoundEventParams
158
+ optional :int32, :soundevent_guid, 1
159
+ optional :bytes, :packed_params, 5
160
+ end
161
+
162
+ class CMsgSosSetLibraryStackFields
163
+ optional :fixed32, :stack_hash, 1
164
+ optional :bytes, :packed_fields, 5
165
+ end
166
+
167
+ end
168
+
169
+ end
170
+
171
+ end
172
+
@@ -0,0 +1,158 @@
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 '../netmessages.pb'
13
+
14
+ module Effigy
15
+ module Wire
16
+ module S2
17
+
18
+ ##
19
+ # Enum Classes
20
+ #
21
+ class SVC_Messages < ::Protobuf::Enum
22
+ define :SVC_ServerInfo, 40
23
+ define :SVC_FlattenedSerializer, 41
24
+ define :SVC_ClassInfo, 42
25
+ define :SVC_SetPause, 43
26
+ define :SVC_CreateStringTable, 44
27
+ define :SVC_UpdateStringTable, 45
28
+ define :SVC_VoiceInit, 46
29
+ define :SVC_VoiceData, 47
30
+ define :SVC_Print, 48
31
+ define :SVC_Sounds, 49
32
+ define :SVC_SetView, 50
33
+ define :SVC_ClearAllStringTables, 51
34
+ define :SVC_CmdKeyValues, 52
35
+ define :SVC_BSPDecal, 53
36
+ define :SVC_SplitScreen, 54
37
+ define :SVC_PacketEntities, 55
38
+ define :SVC_Prefetch, 56
39
+ define :SVC_Menu, 57
40
+ define :SVC_GetCvarValue, 58
41
+ define :SVC_StopSound, 59
42
+ define :SVC_PeerList, 60
43
+ define :SVC_PacketReliable, 61
44
+ define :SVC_HLTVStatus, 62
45
+ define :SVC_FullFrameSplit, 70
46
+ end
47
+
48
+
49
+ ##
50
+ # Message Classes
51
+ #
52
+ class CSVCMsg_CreateStringTable < ::Protobuf::Message; end
53
+ class CMsgVoiceAudio < ::Protobuf::Message; end
54
+ class CSVCMsg_VoiceData < ::Protobuf::Message; end
55
+ class CSVCMsg_ClearAllStringTables < ::Protobuf::Message; end
56
+ class ProtoFlattenedSerializerField_t < ::Protobuf::Message; end
57
+ class ProtoFlattenedSerializer_t < ::Protobuf::Message; end
58
+ class CSVCMsg_FlattenedSerializer < ::Protobuf::Message; end
59
+ class CMsgIPCAddress < ::Protobuf::Message; end
60
+ class CMsgServerPeer < ::Protobuf::Message; end
61
+ class CSVCMsg_PeerList < ::Protobuf::Message; end
62
+ class CSVCMsg_HLTVStatus < ::Protobuf::Message; end
63
+
64
+
65
+ ##
66
+ # Message Fields
67
+ #
68
+ class CSVCMsg_CreateStringTable
69
+ optional :string, :name, 1
70
+ optional :int32, :num_entries, 2
71
+ optional :bool, :user_data_fixed_size, 3
72
+ optional :int32, :user_data_size, 4
73
+ optional :int32, :user_data_size_bits, 5
74
+ optional :int32, :flags, 6
75
+ optional :bytes, :string_data, 7
76
+ optional :int32, :uncompressed_size, 8
77
+ optional :bool, :data_compressed, 9
78
+ end
79
+
80
+ class CMsgVoiceAudio
81
+ optional ::Effigy::Wire::VoiceDataFormat_t, :format, 1, :default => ::Effigy::Wire::VoiceDataFormat_t::VOICEDATA_FORMAT_STEAM
82
+ optional :bytes, :voice_data, 2
83
+ optional :int32, :sequence_bytes, 3
84
+ optional :uint32, :section_number, 4
85
+ optional :uint32, :sample_rate, 5
86
+ optional :uint32, :uncompressed_sample_offset, 6
87
+ end
88
+
89
+ class CSVCMsg_VoiceData
90
+ optional ::Effigy::Wire::S2::CMsgVoiceAudio, :audio, 1
91
+ optional :int32, :client, 2
92
+ optional :bool, :proximity, 3
93
+ optional :fixed64, :xuid, 4
94
+ optional :int32, :audible_mask, 5
95
+ optional :uint32, :tick, 6
96
+ end
97
+
98
+ class CSVCMsg_ClearAllStringTables
99
+ optional :string, :mapname, 1
100
+ optional :uint32, :map_crc, 2
101
+ end
102
+
103
+ class ProtoFlattenedSerializerField_t
104
+ optional :int32, :var_type_sym, 1
105
+ optional :int32, :var_name_sym, 2
106
+ optional :int32, :bit_count, 3
107
+ optional :float, :low_value, 4
108
+ optional :float, :high_value, 5
109
+ optional :int32, :encode_flags, 6
110
+ optional :int32, :field_serializer_name_sym, 7
111
+ optional :int32, :field_serializer_version, 8
112
+ optional :int32, :send_node_sym, 9
113
+ optional :int32, :var_encoder_sym, 10
114
+ end
115
+
116
+ class ProtoFlattenedSerializer_t
117
+ optional :int32, :serializer_name_sym, 1
118
+ optional :int32, :serializer_version, 2
119
+ repeated :int32, :fields_index, 3
120
+ end
121
+
122
+ class CSVCMsg_FlattenedSerializer
123
+ repeated ::Effigy::Wire::S2::ProtoFlattenedSerializer_t, :serializers, 1
124
+ repeated :string, :symbols, 2
125
+ repeated ::Effigy::Wire::S2::ProtoFlattenedSerializerField_t, :fields, 3
126
+ end
127
+
128
+ class CMsgIPCAddress
129
+ optional :fixed64, :computer_guid, 1
130
+ optional :uint32, :process_id, 2
131
+ end
132
+
133
+ class CMsgServerPeer
134
+ optional :int32, :player_slot, 1
135
+ optional :fixed64, :steamid, 2
136
+ optional ::Effigy::Wire::S2::CMsgIPCAddress, :ipc, 3
137
+ optional :bool, :they_hear_you, 4
138
+ optional :bool, :you_hear_them, 5
139
+ optional :bool, :is_listenserver_host, 6
140
+ end
141
+
142
+ class CSVCMsg_PeerList
143
+ repeated ::Effigy::Wire::S2::CMsgServerPeer, :peer, 1
144
+ end
145
+
146
+ class CSVCMsg_HLTVStatus
147
+ optional :string, :master, 1
148
+ optional :int32, :clients, 2
149
+ optional :int32, :slots, 3
150
+ optional :int32, :proxies, 4
151
+ end
152
+
153
+ end
154
+
155
+ end
156
+
157
+ end
158
+