コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }