ohio813 / starcraft2replay

Automatically exported from code.google.com/p/starcraft2replay
0 stars 0 forks source link

more info #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
in replay.message.events

the byte which stores opcode (i.e. 00 = allies, 02 = all or whatever)
this is actually a bit field
the opcode itseelf is the 3 rightmost bits

the left 5 bits are appended to the next byte to make the actual message length

cheers
Prometheus

Original issue reported on code.google.com by SteppinR...@gmail.com on 13 Apr 2010 at 10:58