Modern UI contract: nations, crests, photos, employments, allowed commands
TeamRef carries the world's nation and crest asset key, squad rows the player's photo key. The manager's employments come from the almanac (clubs and national team side by side), the desk's allowed commands follow the desk kind. modern_world_info reports the asset coverage. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
055b48697e
commit
6570384642
8 files changed
+102
-5
No files matched your search
@@ -104,7 +104,7 @@ Die UI ruft diese über `DataSource::read_almanac` und `read_statistics` direkt
|
||||
|
||||
Test: `modern_ui_contract_tests` (Umschlag, IDs, Geld, Fehler, Reads ändern den Spielstand nicht; Commands: veraltete Revision, fremder Manager, Wiederholung, Konflikt, Ablehnung ohne Änderung, je ein angenommener und ein abgelehnter Befehl für Lager, Aufstellung, Taktik und Training; braucht Spieldaten).
|
||||
|
||||
Noch nicht gefüllt: `nationId`, `crestAssetId` der Teams, `employments` (Amtszeiten), `strengthChoice`, `allowedCommands`.
|
||||
Aus der Welt: `nationId` und `crestAssetId` der Teams (`TeamRef`) und `photoAssetId` der Spieler im Kader (Asset-Schlüssel wie `asset:club/<n>/crest`, die UI zeichnet sie); ohne Welt `null`. `employments` des Managers aus dem Almanach: je betreutem Team `teamId`, `teamName`, `role` (club/national), `from`, `until` (`null` solange es läuft). `allowedCommands` im `meta.scope`: die Befehle, die der Schreibtisch annimmt (am Bundestrainer-Schreibtisch nur `session.advance`, `lineup.commit`, `tactics.commit`, `friendly.book`, `manager.resign.commit`; nach Karriereende keine; ein laufender Live-Anstoß ist dort nicht abgebildet, dann gelten nur `live.*`). Noch nicht gefüllt: `strengthChoice`.
|
||||
|
||||
## Reihenfolge
|
||||
|
||||
|
||||
Reference in new issue
Block a user