public static HandshakeWireData read(BinaryReader binaryReader) { HandshakeWireData newObj = new HandshakeWireData(); newObj.ClientVersion = PStringChar.read(binaryReader); newObj.cbAuthData = binaryReader.ReadUInt32(); return(newObj); }
public uint unk; // Missing info, just to make it the proper 32 bytes... public static HandshakeWireData read(BinaryReader binaryReader) { HandshakeWireData newObj = new HandshakeWireData(); newObj.ServerTime = binaryReader.ReadDouble(); newObj.qwCookie = binaryReader.ReadUInt64(); newObj.NetID = binaryReader.ReadUInt32(); newObj.OutgoingSeed = binaryReader.ReadUInt32(); newObj.IncomingSeed = binaryReader.ReadUInt32(); newObj.unk = binaryReader.ReadUInt32(); return(newObj); }