mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-28 06:50:23 +00:00
69cf1eaa9c
adds a bunch of documentation useful for those unfamiliar with the core library
40 lines
1.4 KiB
C#
40 lines
1.4 KiB
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Pokémon Link Encounter Data
|
|
/// </summary>
|
|
public class EncounterLink : IEncounterable, IRibbonSetEvent4, IMoveset
|
|
{
|
|
public int Species { get; set; }
|
|
public int Level { get; set; }
|
|
public int LevelMin => Level;
|
|
public int LevelMax => Level;
|
|
public int Location { get; set; } = 30011;
|
|
public int Ability { get; set; } = 1;
|
|
public int Ball { get; set; } = 4; // Pokéball
|
|
public bool Fateful { get; set; } = false;
|
|
public int[] RelearnMoves = new int[4];
|
|
public bool? Shiny { get; set; } = false;
|
|
public bool OT { get; set; } = true; // Receiver is OT?
|
|
public bool EggEncounter => false;
|
|
|
|
public bool XY { get; set; }
|
|
public bool ORAS { get; set; }
|
|
|
|
public int[] Moves { get; set; } = new int[0];
|
|
|
|
public string Name => "Pokémon Link Gift";
|
|
|
|
public bool RibbonClassic { get; set; } = true;
|
|
|
|
// Unused
|
|
public bool RibbonWishing { get; set; }
|
|
public bool RibbonPremier { get; set; }
|
|
public bool RibbonEvent { get; set; }
|
|
public bool RibbonBirthday { get; set; }
|
|
public bool RibbonSpecial { get; set; }
|
|
public bool RibbonWorld { get; set; }
|
|
public bool RibbonChampionWorld { get; set; }
|
|
public bool RibbonSouvenir { get; set; }
|
|
}
|
|
}
|