Skip to main content

Module protocol_version_decoder

Module protocol_version_decoder 

Source
Expand description

Nom Parsing The S2 Protocol Version This is stored in the MPQ UserData Section and can be decoded with any Protocol Version Decoder. In the original code, in s2protocol from Blizzard, each protocol version has its own version decoder. and whatever protocol is latest would decoded the target file. In this verison we are not yet doing that but we should.

Structs§

ProtocolHeader
The S2 Protocol Header

Functions§

read_protocol_header
Read the protocol header, this can be read with any protocol