mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
34 lines
887 B
C#
34 lines
887 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace libhac
|
|
{
|
|
public class Romfs
|
|
{
|
|
public static readonly int IvfcMaxLevel = 6;
|
|
}
|
|
|
|
public class RomfsHeader
|
|
{
|
|
public ulong HeaderSize;
|
|
public ulong DirHashTableOffset;
|
|
public ulong DirHashTableSize;
|
|
public ulong DirMetaTableOffset;
|
|
public ulong DirMetaTableSize;
|
|
public ulong FileHashTableOffset;
|
|
public ulong FileHashTableSize;
|
|
public ulong FileMetaTableOffset;
|
|
public ulong FileMetaTableSize;
|
|
public ulong DataOffset;
|
|
}
|
|
|
|
public class IvfcLevel
|
|
{
|
|
public ulong DataOffset { get; set; }
|
|
public ulong DataSize { get; set; }
|
|
public ulong HashOffset { get; set; }
|
|
public ulong HashBlockSize { get; set; }
|
|
public ulong HashBlockCount { get; set; }
|
|
}
|
|
}
|