Modern UI: the live ticker replays the last kickoff's matches

ModernSession::read_live answers the ticker's fixture and frame queries with
the engine's recording of the last session.advance: the matches of human
managers with their owners, frames in minute order (kickoff, every event,
half time, the end) with score, chances, cards and players on the pitch, the
event lines, and the day's other matches as the conference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-27 09:37:37 +01:00
1 parent 1400848387
commit fda4b72967
6 files changed
+213

No files matched your search

+7
View File
@@ -35,4 +35,11 @@ cli::Json query_almanac(const ModernState& g, const cli::Json& request);
// not_recorded (title chances, transfers, weekly curves, season finances).
cli::Json query_statistics_screen(const ModernState& g, int manager, const cli::Json& request);
// The live ticker (DataSource::read_live): the matches recorded between two day counters (the last
// kickoff) in the fixture form of the interface: the matches of human managers (at most four)
// with their owners, frames in minute order (kickoff, every event, half time, the end) with
// score, chances, cards and players per match, the event lines, and the other matches of the
// day as the conference. source: "engine-recording".
cli::Json live_fixture(const ModernState& g, uint32_t after_date, uint32_t until_date, uint64_t revision);
} // namespace bmh::modern