-
Notifications
You must be signed in to change notification settings - Fork 303
/
dota_commonmessages.proto
146 lines (130 loc) · 3.91 KB
/
dota_commonmessages.proto
1
2
3
4
5
6
7
8
9
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
import "networkbasetypes.proto";
enum EPingSource {
k_ePingSource_Default = 0;
k_ePingSource_Warning = 1;
k_ePingSource_Wheel = 2;
k_ePingSource_System = 3;
}
enum EDOTAStatPopupTypes {
k_EDOTA_SPT_Textline = 0;
k_EDOTA_SPT_Basic = 1;
k_EDOTA_SPT_Poll = 2;
k_EDOTA_SPT_Grid = 3;
k_EDOTA_SPT_DualImage = 4;
k_EDOTA_SPT_Movie = 5;
}
enum dotaunitorder_t {
DOTA_UNIT_ORDER_NONE = 0;
DOTA_UNIT_ORDER_MOVE_TO_POSITION = 1;
DOTA_UNIT_ORDER_MOVE_TO_TARGET = 2;
DOTA_UNIT_ORDER_ATTACK_MOVE = 3;
DOTA_UNIT_ORDER_ATTACK_TARGET = 4;
DOTA_UNIT_ORDER_CAST_POSITION = 5;
DOTA_UNIT_ORDER_CAST_TARGET = 6;
DOTA_UNIT_ORDER_CAST_TARGET_TREE = 7;
DOTA_UNIT_ORDER_CAST_NO_TARGET = 8;
DOTA_UNIT_ORDER_CAST_TOGGLE = 9;
DOTA_UNIT_ORDER_HOLD_POSITION = 10;
DOTA_UNIT_ORDER_TRAIN_ABILITY = 11;
DOTA_UNIT_ORDER_DROP_ITEM = 12;
DOTA_UNIT_ORDER_GIVE_ITEM = 13;
DOTA_UNIT_ORDER_PICKUP_ITEM = 14;
DOTA_UNIT_ORDER_PICKUP_RUNE = 15;
DOTA_UNIT_ORDER_PURCHASE_ITEM = 16;
DOTA_UNIT_ORDER_SELL_ITEM = 17;
DOTA_UNIT_ORDER_DISASSEMBLE_ITEM = 18;
DOTA_UNIT_ORDER_MOVE_ITEM = 19;
DOTA_UNIT_ORDER_CAST_TOGGLE_AUTO = 20;
DOTA_UNIT_ORDER_STOP = 21;
DOTA_UNIT_ORDER_TAUNT = 22;
DOTA_UNIT_ORDER_BUYBACK = 23;
DOTA_UNIT_ORDER_GLYPH = 24;
DOTA_UNIT_ORDER_EJECT_ITEM_FROM_STASH = 25;
DOTA_UNIT_ORDER_CAST_RUNE = 26;
DOTA_UNIT_ORDER_PING_ABILITY = 27;
DOTA_UNIT_ORDER_MOVE_TO_DIRECTION = 28;
DOTA_UNIT_ORDER_PATROL = 29;
DOTA_UNIT_ORDER_VECTOR_TARGET_POSITION = 30;
DOTA_UNIT_ORDER_RADAR = 31;
DOTA_UNIT_ORDER_SET_ITEM_COMBINE_LOCK = 32;
DOTA_UNIT_ORDER_CONTINUE = 33;
DOTA_UNIT_ORDER_VECTOR_TARGET_CANCELED = 34;
DOTA_UNIT_ORDER_CAST_RIVER_PAINT = 35;
DOTA_UNIT_ORDER_PREGAME_ADJUST_ITEM_ASSIGNMENT = 36;
DOTA_UNIT_ORDER_DROP_ITEM_AT_FOUNTAIN = 37;
DOTA_UNIT_ORDER_TAKE_ITEM_FROM_NEUTRAL_ITEM_STASH = 38;
DOTA_UNIT_ORDER_MOVE_RELATIVE = 39;
DOTA_UNIT_ORDER_CAST_TOGGLE_ALT = 40;
}
enum EDOTAVersusScenePlayerBehavior {
VS_PLAYER_BEHAVIOR_PLAY_ACTIVITY = 1;
VS_PLAYER_BEHAVIOR_CHAT_WHEEL = 2;
VS_PLAYER_BEHAVIOR_PLAYBACK_RATE = 3;
}
message CDOTAMsg_LocationPing {
optional int32 x = 1;
optional int32 y = 2;
optional int32 target = 3 [default = -1];
optional bool direct_ping = 4;
optional uint32 type = 5 [default = 4294967295];
optional .EPingSource ping_source = 6 [default = k_ePingSource_Default];
}
message CDOTAMsg_ItemAlert {
optional int32 x = 1;
optional int32 y = 2;
optional int32 item_ability_id = 3 [default = -1];
}
message CDOTAMsg_MapLine {
optional int32 x = 1;
optional int32 y = 2;
optional bool initial = 3;
}
message CDOTAMsg_WorldLine {
optional int32 x = 1;
optional int32 y = 2;
optional int32 z = 3;
optional bool initial = 4;
optional bool end = 5;
}
message CDOTAMsg_SendStatPopup {
optional .EDOTAStatPopupTypes style = 1 [default = k_EDOTA_SPT_Textline];
repeated string stat_strings = 2;
repeated int32 stat_images = 3;
repeated int32 stat_image_types = 4;
optional float duration = 5;
optional bool use_html = 6;
optional string movie_name = 7;
}
message CDOTAMsg_DismissAllStatPopups {
optional float time_delay = 1;
}
message CDOTAMsg_CoachHUDPing {
optional uint32 x = 1;
optional uint32 y = 2;
optional string tgtpath = 3;
}
message CDOTAMsg_UnitOrder {
optional .dotaunitorder_t order_type = 2 [default = DOTA_UNIT_ORDER_NONE];
repeated int32 units = 3;
optional int32 target_index = 4 [default = 0];
optional int32 ability_index = 5 [default = -1];
optional .CMsgVector position = 6;
optional int32 sequence_number = 8;
optional uint32 flags = 9;
}
message VersusScene_PlayActivity {
message ActivityInfo {
optional string activity = 1;
optional bool disable_auto_kill = 2;
optional bool force_looping = 3;
}
repeated .VersusScene_PlayActivity.ActivityInfo activities = 1;
optional float playback_rate = 2;
}
message VersusScene_ChatWheel {
optional uint32 chat_message_id = 1 [default = 4294967295];
optional uint32 emoticon_id = 2;
}
message VersusScene_PlaybackRate {
optional float rate = 1;
}