Document all undocumented methods and properties
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-05-16 13:59:36 +02:00
parent 810cdbb15a
commit fdfca99e71
27 changed files with 384 additions and 39 deletions

View File

@@ -1,10 +1,22 @@
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; } = [];
}