Add all missing docs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user