Add Gender to Gen 8 Trainer Card (#2694)

This commit is contained in:
CanoeHope 2020-02-10 15:02:52 -05:00 committed by GitHub
parent cb5d8186fd
commit acb9cc2a9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,6 +92,12 @@ namespace PKHeX.Core
set => Data[Offset + 0x30] = (byte)(value ? 1 : 0); set => Data[Offset + 0x30] = (byte)(value ? 1 : 0);
} }
public int Gender
{
get => Data[0x38];
set => Data[0x38] = (byte)value;
}
public string Number public string Number
{ {
get => Encoding.ASCII.GetString(Data, 0x39, 3); get => Encoding.ASCII.GetString(Data, 0x39, 3);