mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-13 14:12:39 +00:00
d47bb1d297
With the new version of Visual Studio bringing C# 12, we can revise our logic for better readability as well as use new methods/APIs introduced in the .NET 8.0 BCL.
10 lines
268 B
C#
10 lines
268 B
C#
namespace PKHeX.Core;
|
|
|
|
public sealed class Party9(SAV9SV sav, SCBlock block) : SaveBlock<SAV9SV>(sav, block.Data)
|
|
{
|
|
public int PartyCount
|
|
{
|
|
get => Data[6 * PokeCrypto.SIZE_9PARTY];
|
|
set => Data[6 * PokeCrypto.SIZE_9PARTY] = (byte)value;
|
|
}
|
|
}
|