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

@@ -2,8 +2,12 @@ using PkmnLib.Dynamic.Models;
namespace PkmnLib.Dynamic.Events;
/// <summary>
/// Represents an event that occurs when a Pokémon gains enough experience points to level up.
/// </summary>
public class LevelUpEvent : IEventData
{
/// <inheritdoc cref="LevelUpEvent"/>
public LevelUpEvent(IPokemon pokemon, int previousLevel, int newLevel)
{
Pokemon = pokemon;
@@ -11,10 +15,19 @@ public class LevelUpEvent : IEventData
NewLevel = newLevel;
}
/// <summary>
/// The new level of the Pokémon after leveling up.
/// </summary>
public int NewLevel { get; set; }
/// <summary>
/// The previous level of the Pokémon before leveling up.
/// </summary>
public int PreviousLevel { get; set; }
/// <summary>
/// The Pokémon that leveled up.
/// </summary>
public IPokemon Pokemon { get; set; }
/// <inheritdoc />