Bind the kickoff of the Modern desk to the engine and show its recording in the ticker

The kickoff button sends session.advance; the engine's recording of the
played matchday is shaped for the live ticker (phases, per-match tables,
the desk manager's squad). A contract running out on the way asks the
manager to extend at the player's demand or to release him. The UI script
driver accepts optional clicks, and modern_live_dump writes the engine's
recording for inspection.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-14 00:05:04 +01:00
1 parent 9e92d07b03
commit 7c0e66affe
15 files changed
+447 -30

No files matched your search

+3
View File
@@ -83,6 +83,9 @@ Json EngineBridge::command(const Json &request) {
Json EngineBridge::read(const Json &request) const {
return from_engine(impl_->session->ui_read(cli::parse_json(request.dump()), impl_->revision));
}
Json EngineBridge::read_live(const Json &request) const {
return from_engine(impl_->session->read_live(cli::parse_json(request.dump())));
}
CareerFiles make_career_files(const fs::path &directory,const fs::path &world) {
const auto model=modern::open_world_package(world).world;
return CareerFiles(directory,[model](const fs::path &file){