This structure will mark all changes in the stance of military units.
def Stance
int8 :action_identifier
int8 :selection_count
int8 :stance
array :selected_ids,
type => :int32,
initial_length => :selection_count
end
:action_identifier
Always has the value 0x12
.
:selection_count
The number of selected units.
:stance
Represents which stance the units are going to take. AoC supports 4 stances.
Hex Value | Stance |
---|---|
0x00 | Aggressive |
0x01 | Defensive |
0x02 | Stand Ground |
0x03 | Passive |
:selected_ids
The IDs of the selected units.
12 01 02 4b 15 00 00
12
— action_identifier
01
— selection_count
02
— stance
4b 15 00 00
— selected_id