public override void Read(BinaryReader reader) { base.Read(reader); socketId = reader.ReadInt32(); username.Read(reader); password.Read(reader); product_name.Read(reader); /* username = reader.ReadString(); * password = reader.ReadString(); * product_name = reader.ReadString();*/ }
public override void Read(BinaryReader reader) { base.Read(reader); accountId = reader.ReadInt32(); productName.Read(reader); characterName.Read(reader); /* productName = reader.ReadString(); * characterName = reader.ReadString();*/ // TODO: Non-alloc version of this state = new PlayerSaveStateData(); state.Read(reader); }