Deukhoofd fdfca99e71
All checks were successful
continuous-integration/drone/push Build is passing
Document all undocumented methods and properties
2025-05-16 13:59:36 +02:00

22 lines
682 B
C#

using System.Text.Json.Nodes;
// ReSharper disable CollectionNeverUpdated.Global
namespace PkmnLib.Dynamic.Libraries.DataLoaders.Models;
/// <summary>
/// Represents a serialized ability.
/// </summary>
public class SerializedAbility
{
/// <inheritdoc cref="PkmnLib.Static.Species.IAbility.Effect"/>
public string? Effect { get; set; }
/// <inheritdoc cref="PkmnLib.Static.Species.IAbility.Parameters"/>
public Dictionary<string, JsonNode> Parameters { get; set; } = new();
/// <summary>
/// A collection of arbitrary flags that can be used to mark the ability with specific properties.
/// </summary>
public string[] Flags { get; set; } = [];
}