docs(core): quantity is not a consumable's wire amount
CI / Build, lint & test (push) Successful in 4m32s

FIFA 17's consumable `amount` is the definition's effect magnitude (a "+15
training" card), measured: across every owned consumable in the real profile
the observed `amount` equals its `fcc_*` table row, and each copy is its own
instance carrying the same value. Recording it as `quantity` would claim the
club owns fifteen of them.
This commit is contained in:
funman300
2026-08-21 19:49:40 +00:00
parent 8b1081019f
commit 36bc594924
+7 -2
View File
@@ -55,8 +55,13 @@ pub struct ImportOwnedCard {
/// `cardsubtypeid`, resource ranges, …) onto this before calling Core.
#[serde(default)]
pub content_kind: ContentKind,
/// Optional per-instance stack size (a consumable's wire `amount`). Absent /
/// `null` means "not a stack"; it never collapses two instances into one row.
/// Optional per-instance stack size. Absent / `null` means "not a stack"; it
/// never collapses two instances into one row.
///
/// NOT a consumable's wire `amount`: in FIFA 17 that field is the
/// definition's effect magnitude (a "+15 training" card), and every copy is
/// its own instance carrying the same value, so storing it here would claim
/// the club owns fifteen of them.
#[serde(default)]
pub quantity: Option<i64>,
}