Add all missing docs

This commit is contained in:
Deukhoofd committed 2025-05-03 14:18:12 +02:00
1 parent 4d5dfd0342
commit 441f5dddaf
40 files changed
+400 -21

No files matched your search

+13
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 />