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

@@ -202,6 +202,9 @@ public interface IPokemon : IScriptSource, IDeepCloneable
/// </summary>
bool IsCaught { get; }
/// <summary>
/// Marks the Pokemon as caught. This makes it so that the Pokemon is not considered valid in battle anymore.
/// </summary>
public void MarkAsCaught();
/// <summary>
@@ -395,6 +398,9 @@ public interface IPokemon : IScriptSource, IDeepCloneable
/// </summary>
void SetTypes(IReadOnlyList<TypeIdentifier> types);
/// <summary>
/// Changes the ability of the Pokémon.
/// </summary>
void ChangeAbility(IAbility ability);
/// <summary>
@@ -449,8 +455,14 @@ public interface IPokemonBattleData : IDeepCloneable
/// </summary>
void MarkItemAsConsumed(IItem item);
/// <summary>
/// The turn the Pokémon switched in.
/// </summary>
uint SwitchInTurn { get; internal set; }
/// <summary>
/// The side the Pokémon is on.
/// </summary>
IBattleSide BattleSide { get; }
}
@@ -483,6 +495,7 @@ public class PokemonImpl : ScriptSource, IPokemon
CurrentHealth = BoostedStats.Hp;
}
/// <inheritdoc cref="PokemonImpl"/>
public PokemonImpl(IDynamicLibrary library, SerializedPokemon serializedPokemon)
{
Library = library;