コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
ファイル: CreditsForm.cs プロジェクト: mhwu95/HyoutaTools
 private void LoadCreditsInfoFile(string itemDatFilename)
 {
     this.itemDatFilename = itemDatFilename;
     this.itemDat         = new CreditsInfo(itemDatFilename);
 }
コード例 #4
0
 private void LoadCreditsInfoFile( string itemDatFilename )
 {
     this.itemDatFilename = itemDatFilename;
     this.itemDat = new CreditsInfo( itemDatFilename );
 }