mirror of
https://github.com/kwsch/NHSE.git
synced 2026-04-04 07:55:02 -05:00
20 lines
564 B
C#
20 lines
564 B
C#
using System.ComponentModel;
|
|
using System.Runtime.InteropServices;
|
|
|
|
#pragma warning disable CS8618, CA1815, CA1819, IDE1006
|
|
namespace NHSE.Core;
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)]
|
|
[TypeConverter(typeof(ValueTypeTypeConverter))]
|
|
public struct GSavePlayerBaseId
|
|
{
|
|
public const int SIZE = 0x1C;
|
|
public override string ToString() => Name;
|
|
|
|
public uint Id { get; set; }
|
|
|
|
[field: MarshalAs(UnmanagedType.ByValTStr, SizeConst = 10)]
|
|
public string Name { get; set; }
|
|
|
|
public Gender Gender { get; set; }
|
|
} |