mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-30 06:13:11 +00:00
103aa9aa4b
EncounterArea now stores a more specific type'd array for encounter slots. Better iteration and less casting, as the nonspecific `Slots` fetch is rarely referenced. EncounterType renamed to GroundTile to reflect how it actually works in Gen4. Was previously an ambiguous field that was clarified a little; we can describe it a little better now. Keep the GUI the same to not scare the end users. Change Trash Byte properties to get/set a Span. Trash Byte legality checking easier on the garbage collector?
13 lines
349 B
C#
13 lines
349 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Indicates the Type of Encounter Tile the Pokémon was encountered on.
|
|
/// </summary>
|
|
public interface IGroundTile
|
|
{
|
|
/// <summary>
|
|
/// Type of Encounter Tile the Pokémon was encountered on.
|
|
/// </summary>
|
|
GroundTileType GroundTile { get; set; }
|
|
}
|
|
}
|