Add all missing docs

This commit is contained in:
2025-05-03 14:18:12 +02:00
parent 4d5dfd0342
commit 441f5dddaf
40 changed files with 400 additions and 21 deletions

View File

@@ -3,12 +3,27 @@ using PkmnLib.Static.Species;
namespace PkmnLib.Dynamic.Events;
/// <summary>
/// Represents an event that occurs when a Pokémon changes to a different species.
/// </summary>
public class SpeciesChangeEvent : IEventData
{
/// <summary>
/// The Pokémon that changed species.
/// </summary>
public IPokemon Pokemon { get; }
/// <summary>
/// The new species of the Pokémon.
/// </summary>
public ISpecies Species { get; }
/// <summary>
/// The new form of the Pokémon, if applicable.
/// </summary>
public IForm Form { get; }
/// <inheritdoc cref="SpeciesChangeEvent"/>
public SpeciesChangeEvent(IPokemon pokemon, ISpecies species, IForm form)
{
Pokemon = pokemon;