mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-22 18:33:14 +00:00
03182ebd3d
Adds support for Scarlet & Violet. Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com> Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com> Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
23 lines
571 B
C#
23 lines
571 B
C#
namespace PKHeX.Core;
|
|
|
|
/// <summary>
|
|
/// Exposes memory details for the Original Trainer.
|
|
/// </summary>
|
|
public interface IMemoryOT : IMemoryOTReadOnly
|
|
{
|
|
new byte OT_Memory { get; set; }
|
|
new byte OT_Intensity { get; set; }
|
|
new byte OT_Feeling { get; set; }
|
|
new ushort OT_TextVar { get; set; }
|
|
}
|
|
|
|
public static partial class Extensions
|
|
{
|
|
/// <summary>
|
|
/// Sets all values to zero.
|
|
/// </summary>
|
|
public static void ClearMemoriesOT(this IMemoryOT ot)
|
|
{
|
|
ot.OT_TextVar = ot.OT_Memory = ot.OT_Feeling = ot.OT_Intensity = 0;
|
|
}
|
|
}
|