Table of Contents

Class Ability

Namespace
TcgDex.Models
Assembly
TcgDex.CSharpSdk.dll

An ability printed on a Pokémon card.

public sealed record Ability : IEquatable<Ability>

Inheritance

Implements

Inherited Members

Properties

Effect

The ability's rules text.

public string? Effect { get; init; }

Property Value

string?

Name

The ability's printed name, or null when the API omits it. Not required, for the same reason as TcgDex.Models.Attack.Name: TCGdex ships malformed card records (a nameless attack on 2017sm-5 is the confirmed case), and an ability is the same kind of descriptive nested object, so the SDK degrades to a null name rather than making the whole card unreadable. A missing name is surfaced through a warning log, not by rejecting the card.

public string? Name { get; init; }

Property Value

string?

Type

The era-specific label for the ability — observed values include "Ability", "Pokemon Power" and "Poke-BODY". Treated as free text because the set grows with each era.

public string? Type { get; init; }

Property Value

string?