Class WeaknessOrResistance
- Namespace
- TcgDex.Models
- Assembly
- TcgDex.CSharpSdk.dll
A weakness or resistance entry on a Pokémon card.
public sealed record WeaknessOrResistance : IEquatable<WeaknessOrResistance>Inheritance
Implements
Inherited Members
Properties
Type
The energy type this applies to, for example "Fighting".
public required string Type { get; init; }Property Value
Value
The modifier as printed. Always text, never numeric — observed values
include "×2" (a multiplier) and "-20" (a signed offset),
which is why this is not exposed as a number.
public string? Value { get; init; }