public CreditsInfoSingle( CreditsInfo Credits, int offset, byte[] file )
        {
            this.Credits = Credits;
            this.Offset = offset;
            this.Data = new UInt32[Size / 4];
            for ( int i = 0; i < Size / 4; ++i ) {
                Data[i] = Util.SwapEndian( BitConverter.ToUInt32( file, offset + i * 0x04 ) );
            }

            return;
        }
        public TSSFile TSS = null;         // access for GetEntry()/ToString()

        public CreditsInfoSingle(CreditsInfo Credits, int offset, byte[] file)
        {
            this.Credits = Credits;
            this.Offset  = offset;
            this.Data    = new UInt32[Size / 4];
            for (int i = 0; i < Size / 4; ++i)
            {
                Data[i] = EndianUtils.SwapEndian(BitConverter.ToUInt32(file, offset + i * 0x04));
            }

            return;
        }
Beispiel #3
0
 private void LoadCreditsInfoFile(string itemDatFilename)
 {
     this.itemDatFilename = itemDatFilename;
     this.itemDat         = new CreditsInfo(itemDatFilename);
 }
 private void LoadCreditsInfoFile( string itemDatFilename )
 {
     this.itemDatFilename = itemDatFilename;
     this.itemDat = new CreditsInfo( itemDatFilename );
 }