BNETDocs
C>S 0x2C SID_GAMERESULT
Message Id:0x2C
Message Name:SID_GAMERESULT
Direction:Client to Server
Used By:Starcraft Original, Starcraft Broodwar
Starcraft Shareware, Starcraft Japanese
Warcraft II BNE
Format:

(UINT32) Game type
(UINT32) Number of results - always 8 
(UINT32) [8] Results
(STRING) [8] Game players - always 8 
(STRING) Map name
(STRING) Player score 

Remarks

Contains end-of-game statistics. Player Score is a string containing right-aligned lines separated by 0x0A. The positions in the 'Results' array and the 'Players' array are equivalent.

Possible values for Game type:

Game type Description
0x00 Normal
0x01 Ladder
0x03 Ironman (W2BN only)

Possible values for Result:

Result Description
0x00 No player
0x01 Win
0x02 Loss
0x03 Draw
0x04 Disconnect
| Edited:
Comments
timfelgentreff

From the PVPgn sources, it seems the value "0x00" in results can mean "still playing or no player". So a client that disconnects e.g. because they lost the game already should report all remaining players as 0x00 (which will mean still playing). The distinction if it means "still playing" or "no player" is done using the username, a "no player" must have an empty username