mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-22 06:09:41 +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.
32 lines
1.0 KiB
C#
32 lines
1.0 KiB
C#
// TODO: Add more enumerations from the wiki
|
|
namespace SabreTools.Data.Models.PlayStation3
|
|
{
|
|
/// <see href="https://psdevwiki.com/ps3/PARAM.SFO"/>
|
|
public enum DataFormat : ushort
|
|
{
|
|
/// <summary>
|
|
/// UTF-8 Special Mode, NOT NULL terminated
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Used in SFO's generated by the system and/or linked to an user (Game Saves and Trophies).
|
|
/// </remarks>
|
|
UTF8SpecialMode = 0x0004,
|
|
|
|
/// <summary>
|
|
/// UTF-8 character string, NULL terminated (0x00)
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Can be used any character from the system fonts. The NULL byte is counted as part of the used bytes in len
|
|
/// </remarks>
|
|
UTF8 = 0x0204,
|
|
|
|
/// <summary>
|
|
/// Integer 32 bits unsigned
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Always has a length of 4 bytes in len and max_len (even in the case some bytes are not used, all them are marked as used)
|
|
/// </remarks>
|
|
Integer = 0x0404,
|
|
}
|
|
}
|