sc2ai 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/sc2ai/protocol/common.proto +5 -5
- data/data/sc2ai/protocol/data.proto +22 -22
- data/data/sc2ai/protocol/debug.proto +24 -24
- data/data/sc2ai/protocol/error.proto +216 -215
- data/data/sc2ai/protocol/raw.proto +20 -20
- data/data/sc2ai/protocol/sc2api.proto +111 -111
- data/data/sc2ai/protocol/score.proto +3 -3
- data/data/sc2ai/protocol/spatial.proto +5 -5
- data/data/sc2ai/protocol/ui.proto +16 -16
- data/exe/sc2ai +0 -3
- data/lib/sc2ai/api/data.rb +3 -3
- data/lib/sc2ai/connection/connection_listener.rb +3 -3
- data/lib/sc2ai/connection/requests.rb +31 -35
- data/lib/sc2ai/connection/status_listener.rb +1 -1
- data/lib/sc2ai/connection.rb +1 -1
- data/lib/sc2ai/local_play/client.rb +2 -2
- data/lib/sc2ai/local_play/match.rb +7 -2
- data/lib/sc2ai/paths.rb +12 -2
- data/lib/sc2ai/player/actions.rb +54 -35
- data/lib/sc2ai/player/debug.rb +21 -21
- data/lib/sc2ai/player/game_state.rb +11 -18
- data/lib/sc2ai/player/geo.rb +54 -64
- data/lib/sc2ai/player/units.rb +16 -16
- data/lib/sc2ai/player.rb +103 -41
- data/lib/sc2ai/ports.rb +1 -1
- data/lib/sc2ai/protocol/_meta_documentation.rb +265 -265
- data/lib/sc2ai/protocol/common_pb.rb +3865 -15
- data/lib/sc2ai/protocol/data_pb.rb +9109 -18
- data/lib/sc2ai/protocol/debug_pb.rb +10437 -26
- data/lib/sc2ai/protocol/error_pb.rb +1086 -10
- data/lib/sc2ai/protocol/extensions/ability_remapable.rb +9 -9
- data/lib/sc2ai/protocol/extensions/action.rb +60 -0
- data/lib/sc2ai/protocol/extensions/point_2_d.rb +5 -0
- data/lib/sc2ai/protocol/extensions/position.rb +10 -35
- data/lib/sc2ai/protocol/extensions/power_source.rb +3 -0
- data/lib/sc2ai/protocol/extensions/unit.rb +19 -35
- data/lib/sc2ai/protocol/query_pb.rb +5025 -17
- data/lib/sc2ai/protocol/raw_pb.rb +18350 -27
- data/lib/sc2ai/protocol/sc2api_pb.rb +48420 -93
- data/lib/sc2ai/protocol/score_pb.rb +5968 -12
- data/lib/sc2ai/protocol/spatial_pb.rb +11944 -18
- data/lib/sc2ai/protocol/ui_pb.rb +12927 -28
- data/lib/sc2ai/unit_group/action_ext.rb +0 -2
- data/lib/sc2ai/unit_group/filter_ext.rb +10 -9
- data/lib/sc2ai/unit_group/geo_ext.rb +0 -2
- data/lib/sc2ai/unit_group.rb +1 -1
- data/lib/sc2ai/version.rb +2 -3
- data/lib/sc2ai.rb +10 -11
- data/lib/templates/ladderzip/bin/ladder.tt +0 -3
- data/lib/templates/new/api/common.proto +6 -6
- data/lib/templates/new/api/data.proto +23 -20
- data/lib/templates/new/api/debug.proto +25 -21
- data/lib/templates/new/api/error.proto +217 -215
- data/lib/templates/new/api/query.proto +1 -1
- data/lib/templates/new/api/raw.proto +16 -14
- data/lib/templates/new/api/sc2api.proto +108 -94
- data/lib/templates/new/api/score.proto +4 -3
- data/lib/templates/new/api/spatial.proto +6 -5
- data/lib/templates/new/api/ui.proto +17 -14
- data/lib/templates/new/boot.rb.tt +1 -1
- data/lib/templates/new/my_bot.rb.tt +1 -1
- data/lib/templates/new/run_example_match.rb.tt +2 -2
- data/sig/sc2ai.rbs +11005 -1926
- metadata +26 -21
- data/lib/sc2ai/overrides/kernel.rb +0 -33
- data/sig/minaswan.rbs +0 -10323
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0a278a3ea02f2a4f704c0a4b4d9d1dde21af472fa4156fcc0f19c6b511e1e05
|
4
|
+
data.tar.gz: 1758454ee3154c1355c655088889cb556b979e6cff917fdc236655c5d513ba66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 340805a3b13c57217ea8d2039f7d2315fbeb571ce2e2af34bc53a8cdeec0c474973be6ca3e1a5d8fe6a7b24d4f205c5e48ae504b3202dc29ab996cb8d5644186
|
7
|
+
data.tar.gz: 7010aa8da052b1962ef478a6b4c8447613bbccba2969293788ad61ec977aad98f0ec67eb01734c2b17471085eb55c740f6ee3768d272c716328e05fbfc07b195
|
@@ -19,12 +19,12 @@ message AbilityData {
|
|
19
19
|
optional uint32 remaps_to_ability_id = 7; // This ability id may be represented by the given more generic id.
|
20
20
|
|
21
21
|
enum Target {
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
22
|
+
ENUM_TARGET_UNSET = 0; // PROTO3 COMPAT
|
23
|
+
NONE = 1; // DOES NOT REQUIRE A TARGET.
|
24
|
+
POINT = 2; // REQUIRES A TARGET POSITION.
|
25
|
+
UNIT = 3; // REQUIRES A UNIT TO TARGET. GIVEN BY POSITION USING FEATURE LAYERS.
|
26
|
+
POINT_OR_UNIT = 4; // REQUIRES EITHER A TARGET POINT OR TARGET UNIT.
|
27
|
+
POINT_OR_NONE = 5; // REQUIRES EITHER A TARGET POINT OR NO TARGET. (EG. BUILDING ADD_ONS)
|
28
28
|
}
|
29
29
|
|
30
30
|
optional bool available = 8; // If true, the ability may be used by this set of mods/map.
|
@@ -38,18 +38,18 @@ message AbilityData {
|
|
38
38
|
}
|
39
39
|
|
40
40
|
enum Attribute {
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
41
|
+
ENUM_ATTRIBUTE_UNSET = 0; // PROTO3 COMPAT
|
42
|
+
LIGHT = 1;
|
43
|
+
ARMORED = 2;
|
44
|
+
BIOLOGICAL = 3;
|
45
|
+
MECHANICAL = 4;
|
46
|
+
ROBOTIC = 5;
|
47
|
+
PSIONIC = 6;
|
48
|
+
MASSIVE = 7;
|
49
|
+
STRUCTURE = 8;
|
50
|
+
HOVER = 9;
|
51
|
+
HEROIC = 10;
|
52
|
+
SUMMONED = 11;
|
53
53
|
}
|
54
54
|
|
55
55
|
message DamageBonus {
|
@@ -59,10 +59,10 @@ message DamageBonus {
|
|
59
59
|
|
60
60
|
message Weapon {
|
61
61
|
enum TargetType {
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
62
|
+
ENUM_TARGET_TYPE_UNSET = 0; // PROTO3 COMPAT
|
63
|
+
GROUND = 1;
|
64
|
+
AIR = 2;
|
65
|
+
ANY = 3;
|
66
66
|
}
|
67
67
|
optional TargetType type = 1;
|
68
68
|
optional float damage = 2;
|
@@ -67,19 +67,19 @@ message DebugSphere {
|
|
67
67
|
}
|
68
68
|
|
69
69
|
enum DebugGameState {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
70
|
+
ENUM_DEBUG_GAME_STATE_UNSET = 0; // PROTO3 COMPAT
|
71
|
+
SHOW_MAP = 1;
|
72
|
+
CONTROL_ENEMY = 2;
|
73
|
+
FOOD = 3;
|
74
|
+
FREE = 4;
|
75
|
+
ALL_RESOURCES = 5;
|
76
|
+
GOD = 6;
|
77
|
+
MINERALS = 7;
|
78
|
+
GAS = 8;
|
79
|
+
COOLDOWNS = 9;
|
80
|
+
TECH_TREE = 10;
|
81
|
+
UPGRADE = 11;
|
82
|
+
FAST_BUILD = 12;
|
83
83
|
}
|
84
84
|
|
85
85
|
message DebugCreateUnit {
|
@@ -95,10 +95,10 @@ message DebugKillUnit {
|
|
95
95
|
|
96
96
|
message DebugTestProcess {
|
97
97
|
enum Test {
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
98
|
+
ENUM_TEST_UNSET = 0; // PROTO3 COMPAT
|
99
|
+
HANG = 1;
|
100
|
+
CRASH = 2;
|
101
|
+
EXIT = 3;
|
102
102
|
}
|
103
103
|
optional Test test = 1;
|
104
104
|
optional int32 delay_ms = 2;
|
@@ -110,19 +110,19 @@ message DebugSetScore {
|
|
110
110
|
|
111
111
|
message DebugEndGame {
|
112
112
|
enum EndResult {
|
113
|
-
|
114
|
-
|
115
|
-
|
113
|
+
ENUM_END_RESULT_UNSET = 0; // PROTO3 COMPAT
|
114
|
+
SURRENDER = 1; // DEFAULT IF NOTHING IS SET. THE CURRENT PLAYER ADMITS DEFEAT.
|
115
|
+
DECLARE_VICTORY = 2;
|
116
116
|
}
|
117
117
|
optional EndResult end_result = 1;
|
118
118
|
}
|
119
119
|
|
120
120
|
message DebugSetUnitValue {
|
121
121
|
enum UnitValue {
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
122
|
+
ENUM_UNIT_VALUE_UNSET = 0; // PROTO3 COMPAT
|
123
|
+
ENERGY = 1;
|
124
|
+
LIFE = 2;
|
125
|
+
SHIELDS = 3;
|
126
126
|
}
|
127
127
|
optional UnitValue unit_value = 1;
|
128
128
|
optional float value = 2;
|
@@ -4,219 +4,220 @@ syntax = "proto3";
|
|
4
4
|
package Api;
|
5
5
|
|
6
6
|
enum ActionResult {
|
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
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
7
|
+
ENUM_ACTION_RESULT_UNSET = 0; // PROTO3 COMPAT
|
8
|
+
SUCCESS = 1;
|
9
|
+
NOT_SUPPORTED = 2;
|
10
|
+
ERROR = 3;
|
11
|
+
CANT_QUEUE_THAT_ORDER = 4;
|
12
|
+
RETRY = 5;
|
13
|
+
COOLDOWN = 6;
|
14
|
+
QUEUE_IS_FULL = 7;
|
15
|
+
RALLY_QUEUE_IS_FULL = 8;
|
16
|
+
NOT_ENOUGH_MINERALS = 9;
|
17
|
+
NOT_ENOUGH_VESPENE = 10;
|
18
|
+
NOT_ENOUGH_TERRAZINE = 11;
|
19
|
+
NOT_ENOUGH_CUSTOM = 12;
|
20
|
+
NOT_ENOUGH_FOOD = 13;
|
21
|
+
FOOD_USAGE_IMPOSSIBLE = 14;
|
22
|
+
NOT_ENOUGH_LIFE = 15;
|
23
|
+
NOT_ENOUGH_SHIELDS = 16;
|
24
|
+
NOT_ENOUGH_ENERGY = 17;
|
25
|
+
LIFE_SUPPRESSED = 18;
|
26
|
+
SHIELDS_SUPPRESSED = 19;
|
27
|
+
ENERGY_SUPPRESSED = 20;
|
28
|
+
NOT_ENOUGH_CHARGES = 21;
|
29
|
+
CANT_ADD_MORE_CHARGES = 22;
|
30
|
+
TOO_MUCH_MINERALS = 23;
|
31
|
+
TOO_MUCH_VESPENE = 24;
|
32
|
+
TOO_MUCH_TERRAZINE = 25;
|
33
|
+
TOO_MUCH_CUSTOM = 26;
|
34
|
+
TOO_MUCH_FOOD = 27;
|
35
|
+
TOO_MUCH_LIFE = 28;
|
36
|
+
TOO_MUCH_SHIELDS = 29;
|
37
|
+
TOO_MUCH_ENERGY = 30;
|
38
|
+
MUST_TARGET_UNIT_WITH_LIFE = 31;
|
39
|
+
MUST_TARGET_UNIT_WITH_SHIELDS = 32;
|
40
|
+
MUST_TARGET_UNIT_WITH_ENERGY = 33;
|
41
|
+
CANT_TRADE = 34;
|
42
|
+
CANT_SPEND = 35;
|
43
|
+
CANT_TARGET_THAT_UNIT = 36;
|
44
|
+
COULDNT_ALLOCATE_UNIT = 37;
|
45
|
+
UNIT_CANT_MOVE = 38;
|
46
|
+
TRANSPORT_IS_HOLDING_POSITION = 39;
|
47
|
+
BUILD_TECH_REQUIREMENTS_NOT_MET = 40;
|
48
|
+
CANT_FIND_PLACEMENT_LOCATION = 41;
|
49
|
+
CANT_BUILD_ON_THAT = 42;
|
50
|
+
CANT_BUILD_TOO_CLOSE_TO_DROP_OFF = 43;
|
51
|
+
CANT_BUILD_LOCATION_INVALID = 44;
|
52
|
+
CANT_SEE_BUILD_LOCATION = 45;
|
53
|
+
CANT_BUILD_TOO_CLOSE_TO_CREEP_SOURCE = 46;
|
54
|
+
CANT_BUILD_TOO_CLOSE_TO_RESOURCES = 47;
|
55
|
+
CANT_BUILD_TOO_FAR_FROM_WATER = 48;
|
56
|
+
CANT_BUILD_TOO_FAR_FROM_CREEP_SOURCE = 49;
|
57
|
+
CANT_BUILD_TOO_FAR_FROM_BUILD_POWER_SOURCE = 50;
|
58
|
+
CANT_BUILD_ON_DENSE_TERRAIN = 51;
|
59
|
+
CANT_TRAIN_TOO_FAR_FROM_TRAIN_POWER_SOURCE = 52;
|
60
|
+
CANT_LAND_LOCATION_INVALID = 53;
|
61
|
+
CANT_SEE_LAND_LOCATION = 54;
|
62
|
+
CANT_LAND_TOO_CLOSE_TO_CREEP_SOURCE = 55;
|
63
|
+
CANT_LAND_TOO_CLOSE_TO_RESOURCES = 56;
|
64
|
+
CANT_LAND_TOO_FAR_FROM_WATER = 57;
|
65
|
+
CANT_LAND_TOO_FAR_FROM_CREEP_SOURCE = 58;
|
66
|
+
CANT_LAND_TOO_FAR_FROM_BUILD_POWER_SOURCE = 59;
|
67
|
+
CANT_LAND_TOO_FAR_FROM_TRAIN_POWER_SOURCE = 60;
|
68
|
+
CANT_LAND_ON_DENSE_TERRAIN = 61;
|
69
|
+
ADD_ON_TOO_FAR_FROM_BUILDING = 62;
|
70
|
+
MUST_BUILD_REFINERY_FIRST = 63;
|
71
|
+
BUILDING_IS_UNDER_CONSTRUCTION = 64;
|
72
|
+
CANT_FIND_DROP_OFF = 65;
|
73
|
+
CANT_LOAD_OTHER_PLAYERS_UNITS = 66;
|
74
|
+
NOT_ENOUGH_ROOM_TO_LOAD_UNIT = 67;
|
75
|
+
CANT_UNLOAD_UNITS_THERE = 68;
|
76
|
+
CANT_WARP_IN_UNITS_THERE = 69;
|
77
|
+
CANT_LOAD_IMMOBILE_UNITS = 70;
|
78
|
+
CANT_RECHARGE_IMMOBILE_UNITS = 71;
|
79
|
+
CANT_RECHARGE_UNDER_CONSTRUCTION_UNITS = 72;
|
80
|
+
CANT_LOAD_THAT_UNIT = 73;
|
81
|
+
NO_CARGO_TO_UNLOAD = 74;
|
82
|
+
LOAD_ALL_NO_TARGETS_FOUND = 75;
|
83
|
+
NOT_WHILE_OCCUPIED = 76;
|
84
|
+
CANT_ATTACK_WITHOUT_AMMO = 77;
|
85
|
+
CANT_HOLD_ANY_MORE_AMMO = 78;
|
86
|
+
TECH_REQUIREMENTS_NOT_MET = 79;
|
87
|
+
MUST_LOCKDOWN_UNIT_FIRST = 80;
|
88
|
+
MUST_TARGET_UNIT = 81;
|
89
|
+
MUST_TARGET_INVENTORY = 82;
|
90
|
+
MUST_TARGET_VISIBLE_UNIT = 83;
|
91
|
+
MUST_TARGET_VISIBLE_LOCATION = 84;
|
92
|
+
MUST_TARGET_WALKABLE_LOCATION = 85;
|
93
|
+
MUST_TARGET_PAWNABLE_UNIT = 86;
|
94
|
+
YOU_CANT_CONTROL_THAT_UNIT = 87;
|
95
|
+
YOU_CANT_ISSUE_COMMANDS_TO_THAT_UNIT = 88;
|
96
|
+
MUST_TARGET_RESOURCES = 89;
|
97
|
+
REQUIRES_HEAL_TARGET = 90;
|
98
|
+
REQUIRES_REPAIR_TARGET = 91;
|
99
|
+
NO_ITEMS_TO_DROP = 92;
|
100
|
+
CANT_HOLD_ANY_MORE_ITEMS = 93;
|
101
|
+
CANT_HOLD_THAT = 94;
|
102
|
+
TARGET_HAS_NO_INVENTORY = 95;
|
103
|
+
CANT_DROP_THIS_ITEM = 96;
|
104
|
+
CANT_MOVE_THIS_ITEM = 97;
|
105
|
+
CANT_PAWN_THIS_UNIT = 98;
|
106
|
+
MUST_TARGET_CASTER = 99;
|
107
|
+
CANT_TARGET_CASTER = 100;
|
108
|
+
MUST_TARGET_OUTER = 101;
|
109
|
+
CANT_TARGET_OUTER = 102;
|
110
|
+
MUST_TARGET_YOUR_OWN_UNITS = 103;
|
111
|
+
CANT_TARGET_YOUR_OWN_UNITS = 104;
|
112
|
+
MUST_TARGET_FRIENDLY_UNITS = 105;
|
113
|
+
CANT_TARGET_FRIENDLY_UNITS = 106;
|
114
|
+
MUST_TARGET_NEUTRAL_UNITS = 107;
|
115
|
+
CANT_TARGET_NEUTRAL_UNITS = 108;
|
116
|
+
MUST_TARGET_ENEMY_UNITS = 109;
|
117
|
+
CANT_TARGET_ENEMY_UNITS = 110;
|
118
|
+
MUST_TARGET_AIR_UNITS = 111;
|
119
|
+
CANT_TARGET_AIR_UNITS = 112;
|
120
|
+
MUST_TARGET_GROUND_UNITS = 113;
|
121
|
+
CANT_TARGET_GROUND_UNITS = 114;
|
122
|
+
MUST_TARGET_STRUCTURES = 115;
|
123
|
+
CANT_TARGET_STRUCTURES = 116;
|
124
|
+
MUST_TARGET_LIGHT_UNITS = 117;
|
125
|
+
CANT_TARGET_LIGHT_UNITS = 118;
|
126
|
+
MUST_TARGET_ARMORED_UNITS = 119;
|
127
|
+
CANT_TARGET_ARMORED_UNITS = 120;
|
128
|
+
MUST_TARGET_BIOLOGICAL_UNITS = 121;
|
129
|
+
CANT_TARGET_BIOLOGICAL_UNITS = 122;
|
130
|
+
MUST_TARGET_HEROIC_UNITS = 123;
|
131
|
+
CANT_TARGET_HEROIC_UNITS = 124;
|
132
|
+
MUST_TARGET_ROBOTIC_UNITS = 125;
|
133
|
+
CANT_TARGET_ROBOTIC_UNITS = 126;
|
134
|
+
MUST_TARGET_MECHANICAL_UNITS = 127;
|
135
|
+
CANT_TARGET_MECHANICAL_UNITS = 128;
|
136
|
+
MUST_TARGET_PSIONIC_UNITS = 129;
|
137
|
+
CANT_TARGET_PSIONIC_UNITS = 130;
|
138
|
+
MUST_TARGET_MASSIVE_UNITS = 131;
|
139
|
+
CANT_TARGET_MASSIVE_UNITS = 132;
|
140
|
+
MUST_TARGET_MISSILE = 133;
|
141
|
+
CANT_TARGET_MISSILE = 134;
|
142
|
+
MUST_TARGET_WORKER_UNITS = 135;
|
143
|
+
CANT_TARGET_WORKER_UNITS = 136;
|
144
|
+
MUST_TARGET_ENERGY_CAPABLE_UNITS = 137;
|
145
|
+
CANT_TARGET_ENERGY_CAPABLE_UNITS = 138;
|
146
|
+
MUST_TARGET_SHIELD_CAPABLE_UNITS = 139;
|
147
|
+
CANT_TARGET_SHIELD_CAPABLE_UNITS = 140;
|
148
|
+
MUST_TARGET_FLYERS = 141;
|
149
|
+
CANT_TARGET_FLYERS = 142;
|
150
|
+
MUST_TARGET_BURIED_UNITS = 143;
|
151
|
+
CANT_TARGET_BURIED_UNITS = 144;
|
152
|
+
MUST_TARGET_CLOAKED_UNITS = 145;
|
153
|
+
CANT_TARGET_CLOAKED_UNITS = 146;
|
154
|
+
MUST_TARGET_UNITS_IN_A_STASIS_FIELD = 147;
|
155
|
+
CANT_TARGET_UNITS_IN_A_STASIS_FIELD = 148;
|
156
|
+
MUST_TARGET_UNDER_CONSTRUCTION_UNITS = 149;
|
157
|
+
CANT_TARGET_UNDER_CONSTRUCTION_UNITS = 150;
|
158
|
+
MUST_TARGET_DEAD_UNITS = 151;
|
159
|
+
CANT_TARGET_DEAD_UNITS = 152;
|
160
|
+
MUST_TARGET_REVIVABLE_UNITS = 153;
|
161
|
+
CANT_TARGET_REVIVABLE_UNITS = 154;
|
162
|
+
MUST_TARGET_HIDDEN_UNITS = 155;
|
163
|
+
CANT_TARGET_HIDDEN_UNITS = 156;
|
164
|
+
CANT_RECHARGE_OTHER_PLAYERS_UNITS = 157;
|
165
|
+
MUST_TARGET_HALLUCINATIONS = 158;
|
166
|
+
CANT_TARGET_HALLUCINATIONS = 159;
|
167
|
+
MUST_TARGET_INVULNERABLE_UNITS = 160;
|
168
|
+
CANT_TARGET_INVULNERABLE_UNITS = 161;
|
169
|
+
MUST_TARGET_DETECTED_UNITS = 162;
|
170
|
+
CANT_TARGET_DETECTED_UNITS = 163;
|
171
|
+
CANT_TARGET_UNIT_WITH_ENERGY = 164;
|
172
|
+
CANT_TARGET_UNIT_WITH_SHIELDS = 165;
|
173
|
+
MUST_TARGET_UNCOMMANDABLE_UNITS = 166;
|
174
|
+
CANT_TARGET_UNCOMMANDABLE_UNITS = 167;
|
175
|
+
MUST_TARGET_PREVENT_DEFEAT_UNITS = 168;
|
176
|
+
CANT_TARGET_PREVENT_DEFEAT_UNITS = 169;
|
177
|
+
MUST_TARGET_PREVENT_REVEAL_UNITS = 170;
|
178
|
+
CANT_TARGET_PREVENT_REVEAL_UNITS = 171;
|
179
|
+
MUST_TARGET_PASSIVE_UNITS = 172;
|
180
|
+
CANT_TARGET_PASSIVE_UNITS = 173;
|
181
|
+
MUST_TARGET_STUNNED_UNITS = 174;
|
182
|
+
CANT_TARGET_STUNNED_UNITS = 175;
|
183
|
+
MUST_TARGET_SUMMONED_UNITS = 176;
|
184
|
+
CANT_TARGET_SUMMONED_UNITS = 177;
|
185
|
+
MUST_TARGET_USER1 = 178;
|
186
|
+
CANT_TARGET_USER1 = 179;
|
187
|
+
MUST_TARGET_UNSTOPPABLE_UNITS = 180;
|
188
|
+
CANT_TARGET_UNSTOPPABLE_UNITS = 181;
|
189
|
+
MUST_TARGET_RESISTANT_UNITS = 182;
|
190
|
+
CANT_TARGET_RESISTANT_UNITS = 183;
|
191
|
+
MUST_TARGET_DAZED_UNITS = 184;
|
192
|
+
CANT_TARGET_DAZED_UNITS = 185;
|
193
|
+
CANT_LOCKDOWN = 186;
|
194
|
+
CANT_MIND_CONTROL = 187;
|
195
|
+
MUST_TARGET_DESTRUCTIBLES = 188;
|
196
|
+
CANT_TARGET_DESTRUCTIBLES = 189;
|
197
|
+
MUST_TARGET_ITEMS = 190;
|
198
|
+
CANT_TARGET_ITEMS = 191;
|
199
|
+
NO_CALLDOWN_AVAILABLE = 192;
|
200
|
+
WAYPOINT_LIST_FULL = 193;
|
201
|
+
MUST_TARGET_RACE = 194;
|
202
|
+
CANT_TARGET_RACE = 195;
|
203
|
+
MUST_TARGET_SIMILAR_UNITS = 196;
|
204
|
+
CANT_TARGET_SIMILAR_UNITS = 197;
|
205
|
+
CANT_FIND_ENOUGH_TARGETS = 198;
|
206
|
+
ALREADY_SPAWNING_LARVA = 199;
|
207
|
+
CANT_TARGET_EXHAUSTED_RESOURCES = 200;
|
208
|
+
CANT_USE_MINIMAP = 201;
|
209
|
+
CANT_USE_INFO_PANEL = 202;
|
210
|
+
ORDER_QUEUE_IS_FULL = 203;
|
211
|
+
CANT_HARVEST_THAT_RESOURCE = 204;
|
212
|
+
HARVESTERS_NOT_REQUIRED = 205;
|
213
|
+
ALREADY_TARGETED = 206;
|
214
|
+
CANT_ATTACK_WEAPONS_DISABLED = 207;
|
215
|
+
COULDNT_REACH_TARGET = 208;
|
216
|
+
TARGET_IS_OUT_OF_RANGE = 209;
|
217
|
+
TARGET_IS_TOO_CLOSE = 210;
|
218
|
+
TARGET_IS_OUT_OF_ARC = 211;
|
219
|
+
CANT_FIND_TELEPORT_LOCATION = 212;
|
220
|
+
INVALID_ITEM_CLASS = 213;
|
221
|
+
CANT_FIND_CANCEL_ORDER = 214;
|
222
|
+
|
222
223
|
}
|