Files
Dreierpack-Manager/src/modern/ui/demo_career_reports.hpp
T

17 lines
924 B
C++

// SPDX-License-Identifier: GPL-3.0-only
#pragma once
#include "modern/ui/catalog.hpp"
namespace bmh::modern_ui {
// Read-only, deterministic presentation fixtures. FULL demo state supplies only
// the first manager/club and date. No engine, RNG, wallet or catalogue mutation.
// page0..4 moves the eight-season window backwards by one season per page.
// {ok,available,fictional,page,club,manager,first_year,last_year,range,charts,
// history:[12 newest completed seasons]}; clubs are existing IDs or null.
Json demo_achievements(const Catalog &, const Json &full_state, int page = 0);
// At most8 distinct existing clubs, managed club first. Fictional manager names
// and totals match the Gold; the first manager name is taken from the snapshot.
// {ok,available,fictional,club,manager,rows:[{rank,manager,club,points,...}]}.
Json demo_highscores(const Catalog &, const Json &full_state);
} // namespace bmh::modern_ui