mirror of
https://github.com/kwsch/NHSE.git
synced 2026-04-20 07:27:25 -05:00
30 lines
817 B
C#
30 lines
817 B
C#
using System.ComponentModel;
|
|
using System.Runtime.InteropServices;
|
|
|
|
#pragma warning disable CS8618, CA1815, CA1819, IDE1006
|
|
namespace NHSE.Core;
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
|
[TypeConverter(typeof(ValueTypeTypeConverter))]
|
|
public struct GSaveDateMD
|
|
{
|
|
public const int SIZE = 2;
|
|
public override string ToString() => $"{Month:00}-{Day:00}";
|
|
|
|
public byte Month { get; set; }
|
|
public byte Day { get; set; }
|
|
}
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 2)]
|
|
public struct GSavePlayerHandleName
|
|
{
|
|
public const int SIZE = 0xA;
|
|
|
|
public ushort ModifierId { get; set; }
|
|
public byte ModifierLevel { get; set; }
|
|
|
|
public ushort NounId { get; set; }
|
|
public byte NounLevel { get; set; }
|
|
public byte NounGenderType { get; set; }
|
|
public byte _fa0a936b { get; set; }
|
|
}; |