using System.Runtime.InteropServices;
namespace SabreTools.Data.Models.N3DS
{
///
[StructLayout(LayoutKind.Sequential)]
public sealed class MetaData
{
///
/// Title ID dependency list - Taken from the application's ExHeader
///
/// TODO: Determine numeric format of each entry
/// 0x180 bytes
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x180)]
public byte[] TitleIDDependencyList = new byte[0x180];
///
/// Reserved
///
/// 0x180 bytes
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x180)]
public byte[] Reserved1 = new byte[0x180];
///
/// Core Version
///
public uint CoreVersion;
///
/// Reserved
///
/// 0xFC bytes
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0xFC)]
public byte[] Reserved2 = new byte[0xFC];
///
/// Icon Data(.ICN) - Taken from the application's ExeFS
///
/// 0x36C0 bytes
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x36C0)]
public byte[] IconData = new byte[0x36C0];
}
}