mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-21 01:43:10 +00:00
00443dcae4
add xmldoc
remove unnecessary array resizes (see 9f20aa2f4f
)
show more extrabytes for gen8; remove unused byte accessor functions
24 lines
614 B
C#
24 lines
614 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Exposes memory details for the Original Trainer.
|
|
/// </summary>
|
|
public interface IMemoryOT
|
|
{
|
|
int OT_Memory { get; set; }
|
|
int OT_Intensity { get; set; }
|
|
int OT_Feeling { get; set; }
|
|
int 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_Memory = ot.OT_Feeling = ot.OT_Intensity = ot.OT_TextVar = 0;
|
|
}
|
|
}
|
|
}
|