PKHeX/PKHeX.Core/Saves/Substructures/Gen8/TrainerCard8.cs

13 lines
352 B
C#
Raw Normal View History

2019-11-19 01:57:18 +00:00
namespace PKHeX.Core
{
public sealed class TrainerCard8 : SaveBlock
{
public TrainerCard8(SAV8SWSH sav, SCBlock block) : base (sav, block.Data) { }
public string OT
{
get => SAV.GetString(Data, 0x00, 0x1A);
set => SAV.SetData(Data, SAV.SetString(value, SAV.OTLength), 0x00);
}
}
}