6c7d0856b6
Extends the FIFA17 adapter past players so the wire can carry the rest of a real club's inventory. itemState: the recovered 12-row table at 0x180229cc0 becomes the single source (`fut::item_state`), replacing scattered literals. Every shaper draws from it and the tests assert no shaper can emit a state the client does not know. CARD_SYSTEM.md's 0x180229d20 is the middle of that table, not its start. ContentKind covers all nine tokens. Managers stay inside the staff family for counting, because the client's own club-stats model puts a manager INSIDE the staff total with staffManager as a sub-bucket — a parallel Manager kind would silently under-count. Consumables get their own route (`club/consumables/<category>`) and a stack-wrapper envelope, classified BEFORE the other club/ arms; they are not a `?type=` family. This path previously fell through to Python, so owned inventory was being served by the oracle. The shaper refuses to emit a card it cannot render: no known art id, or a missing `amount`/`contract` for the families that read them, or the subtype-219 rareflag trap that silently turns Player Fitness into Squad Fitness. A dropped card is counted and logged, never faked.
28 lines
793 B
Rust
28 lines
793 B
Rust
//! FIFA 17 FUT (UTAS/RS4) wire → OpenFUT Core semantic mappings.
|
|
//!
|
|
//! Unlike [`crate::blaze`] (binary Blaze RPC), this is the JSON/HTTP FUT surface.
|
|
//! It currently holds the owned-player ("My Squad") search mapping; more UTAS
|
|
//! routes join it as the UTAS→Core migration proceeds. Nothing here opens a
|
|
//! socket — a Rust UTAS host wires it to Core later.
|
|
pub mod catalog;
|
|
pub mod club_response;
|
|
pub mod club_stats;
|
|
pub mod consumables;
|
|
pub mod content_taxonomy;
|
|
pub mod economy;
|
|
pub mod economy_policy;
|
|
pub mod entities;
|
|
pub mod item;
|
|
pub mod item_state;
|
|
pub mod match_wire;
|
|
pub mod non_economy;
|
|
pub mod owned_query;
|
|
pub mod pack_content;
|
|
pub mod sbc;
|
|
pub mod season_wire;
|
|
pub mod squad;
|
|
pub mod squad_ext;
|
|
pub mod squad_projection;
|
|
pub mod store_catalog;
|
|
pub mod store_session;
|