Modern UI: the statistics screen reads the almanac

ModernSession::read_statistics_screen answers the statistics screen's filters
with real data: eternal table, national tournaments (winners, scorers,
history), series and records, winners by season and the own club per five
minutes. Views the engine does not record yet (title chances, transfers,
weekly curves, season finances) answer available false, reason not_recorded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-27 09:00:22 +01:00
1 parent e82ce1649f
commit 015fa65f56
6 files changed
+378 -1

No files matched your search

+7
View File
@@ -28,4 +28,11 @@ cli::Json query_statistics(const ModernState& g, const cli::Json& request);
// regulation / extra time / penalties, referee, attendance, weather, line-ups, events.
cli::Json query_almanac(const ModernState& g, const cli::Json& request);
// The statistics screen of the Modern UI (DataSource::read_statistics) with the filters of its demo
// (section 0-8, category, country, winner_country, absolute, curves), from the almanac: eternal
// table, national tournaments (winners, scorers, history), series and records, winners by season,
// the own club per five minutes. Views without a record yet answer available: false, reason
// not_recorded (title chances, transfers, weekly curves, season finances).
cli::Json query_statistics_screen(const ModernState& g, int manager, const cli::Json& request);
} // namespace bmh::modern