mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-17 03:33:06 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
35 lines
826 B
C#
35 lines
826 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.PlayStation3
|
|
{
|
|
/// <see href="https://psdevwiki.com/ps3/PARAM.SFO"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public class SFOHeader
|
|
{
|
|
/// <summary>
|
|
/// "\0PSF"
|
|
/// </summary>
|
|
public uint Magic;
|
|
|
|
/// <summary>
|
|
/// Version
|
|
/// </summary>
|
|
public uint Version;
|
|
|
|
/// <summary>
|
|
/// Absolute start offset of key_table
|
|
/// </summary>
|
|
public uint KeyTableStart;
|
|
|
|
/// <summary>
|
|
/// Absolute start offset of data_table
|
|
/// </summary>
|
|
public uint DataTableStart;
|
|
|
|
/// <summary>
|
|
/// Number of entries in index_table, key_table, and data_table
|
|
/// </summary>
|
|
public uint TablesEntries;
|
|
}
|
|
}
|