mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-16 11:13:05 +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.
48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
namespace SabreTools.Data.Models.Xbox
|
|
{
|
|
/// <summary>
|
|
/// XGD2/3 decrypted challenge response table entry
|
|
/// </summary>
|
|
/// <remarks>Decrypted form of <see cref="EncryptedChallengeResponseXGD23"/></remarks>
|
|
public class DecryptedChallengeResponseXGD23
|
|
{
|
|
/// <summary>
|
|
/// Challenge Type
|
|
/// </summary>
|
|
public byte ChallengeType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Challenge ID
|
|
/// </summary>
|
|
public byte ChallengeID { get; set; }
|
|
|
|
/// <summary>
|
|
/// Tolerance
|
|
/// </summary>
|
|
public byte Tolerance { get; set; }
|
|
|
|
/// <summary>
|
|
/// Type
|
|
/// </summary>
|
|
/// TODO: Is there an enum for this?
|
|
public byte Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// Challenge data
|
|
/// </summary>
|
|
public byte[] ChallengeData { get; set; } = new byte[4];
|
|
|
|
/// <summary>
|
|
/// Unknown response data
|
|
/// </summary>
|
|
/// <remarks>2 bytes</remarks>
|
|
public byte[] Unknown08 { get; set; } = new byte[2];
|
|
|
|
/// <summary>
|
|
/// Angle
|
|
/// </summary>
|
|
/// <remarks>Little-endian</remarks>
|
|
public short Angle { get; set; }
|
|
}
|
|
}
|