Support for deep cloning battles and Pokemon
This commit is contained in:
@@ -12,7 +12,7 @@ namespace PkmnLib.Dynamic.Models;
|
||||
/// <summary>
|
||||
/// The data of a Pokemon.
|
||||
/// </summary>
|
||||
public interface IPokemon : IScriptSource
|
||||
public interface IPokemon : IScriptSource, IDeepCloneable
|
||||
{
|
||||
/// <summary>
|
||||
/// The library data of the Pokemon.
|
||||
@@ -352,7 +352,7 @@ public interface IPokemon : IScriptSource
|
||||
/// The data of the Pokémon related to being in a battle.
|
||||
/// This is only set when the Pokémon is on the field in a battle.
|
||||
/// </summary>
|
||||
public interface IPokemonBattleData
|
||||
public interface IPokemonBattleData : IDeepCloneable
|
||||
{
|
||||
/// <summary>
|
||||
/// The battle the Pokémon is in.
|
||||
|
||||
Reference in New Issue
Block a user