Skip to main content

NetSignonState

Part of Net/Svc message.

NameTypeSize in bytesSize in bitsValue
SignonStateint18-
SpawnCountint432-
NumServerPlayersNEint432-
IdsLengthNEint432-
PlayersNetworkIdsNEbyte[]IdsLengthIdsLength * 8-
MapNameLengthNEint432-
MapNameNEstringMapNameLengthMapNameLength*8-

Pseudocode Example

let signon_state = read_le_u8();
let spawn_count = read_le_u32();

if demo_protocol_3_or_4() {
let num_server_players = read_le_u32();

let length = read_le_u32();
let player_network_ids = read_byte_slice(length);

let length = read_le_u32();
let map_name = read_ascii_string(length);
}