public void FromStream(ref ByteInputStream reader) { Header.FromStream(ref reader); Version = reader.ReadUInt16_NBO(); CurrentPacket = reader.ReadUInt8(); LastPacket = reader.ReadUInt8(); Length = reader.ReadUInt16_NBO(); }
public void FromStream(ref ByteInputStream reader) { CurrentPlayers = reader.ReadUInt16_NBO(); MaxPlayers = reader.ReadUInt16_NBO(); ServerName = reader.ReadString(encoding); GameType = reader.ReadString(encoding); BuildId = reader.ReadString(encoding); Map = reader.ReadString(encoding); Port = reader.ReadUInt16_NBO(); }
public void FromStream(ref ByteInputStream reader) { Header.FromStream(ref reader); Version = reader.ReadUInt16_NBO(); RequestedChunks = reader.ReadUInt8(); }