public PowerHeader Read() { var powersHeader = new PowerHeader(); var versionDataReader = new VersionDataReader(_reader); powersHeader.Prefix = _reader.ReadString(); powersHeader.VersionData = versionDataReader.Read(); powersHeader.LevelVersion = versionDataReader.Read(); powersHeader.EffectVersion = versionDataReader.Read(); powersHeader.InventionOriginAssignmentVersion = versionDataReader.Read(); powersHeader.Count = _reader.ReadInt32(); return(powersHeader); }
public RecordHeader Read() { var header = new RecordHeader(); header.Prefix = _reader.ReadString(); var versionDataReader = new VersionDataReader(_reader); header.VersionData = versionDataReader.Read(); header.Count = _reader.ReadInt32(); return(header); }