Update PlayerGeoLocation7b To Match Changes To SaveBlock Constructor (#4194)

This commit is contained in:
Jonathan Herbert 2024-02-23 16:32:20 -04:00 committed by GitHub
parent becf158e2e
commit 65d8ab025d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,9 +2,7 @@ using System;
namespace PKHeX.Core;
public sealed class PlayerGeoLocation7b : SaveBlock<SAV7b>
public sealed class PlayerGeoLocation7b(SAV7b sav, int offset) : SaveBlock<SAV7b>(sav, offset)
{
public PlayerGeoLocation7b(SAV7b sav, int offset) : base(sav) => Offset = offset;
public Epoch1970Value AdventureBegin => new(Data.AsMemory(Offset + 0x48));
}