Changes between Version 9 and Version 10 of SC2ReplayFormat


Ignore:
Timestamp:
Apr 8, 2010, 11:28:35 AM (10 years ago)
Author:
mseifert
Comment:

Added information on select actions

Legend:

Unmodified
Added
Removed
Modified
  • SC2ReplayFormat

    v9 v10  
    8787
    8888===== Select action =====
    89 ||'''Offset'''||'''Type'''||'''Description'''||
    90 ||0x00||byte||Always seems to be 0x00. Probably belongs to the following byte so that both of them give an int16.||
    91 ||0x01||byte||Function unknown.||
    92 ||0x02||byte||Function unknown.||
    93 ||0x03||byte||Boolean value (Either 0x00 or 0x01). If the flag is set, the player's current selection will be discarded and the units described in this action will be the only units remaining in the player's new selection. If not set, the units of this action will be added to the player's selection.||
     89This action is not reliably documented. The length of the action varies.
     90||'''Offset'''||'''Type'''||'''Description'''||
     91||0x00||byte||The currently selected subgroup with 0x00 being the first.||
     92||0x01||byte||''Not fully documented! '' Selection index of the unit that is affected by this action. A value of 0x00 means that the newly selected unit is appended to the current selection. If the player's old selection will be discarded (read further), this should be 0x01.||
     93||0x02||byte||Byte containing flags.||
     94||0x03||byte||Byte containing flags. If 0b00000001 is set, the player's current selection will be discarded and the units described in this action will be the only units remaining in the player's new selection. If not set, the units of this action will be added to the player's selection.||
    9495||0x04||byte||If this byte and the previous byte are 0x00, the action ends here. This only occurs, if units are deselected. Deselection in this case means that only some of the units in the player's current selection are deselected. In other words, if A is the player's current selection and B is the player's new selection, B is a subset of A. If this byte is not 0x00, however, it has something to do with the unit IDs.||
    9596||0x05||byte||Function unknown.||