21 lines
1.5 KiB
C++
21 lines
1.5 KiB
C++
// SPDX-License-Identifier: GPL-3.0-only
|
|
#pragma once
|
|
#include "modern/ui/catalog.hpp"
|
|
|
|
namespace bmh::modern_ui {
|
|
// Presentation-only search, listings and provisional orders. No player, cash,
|
|
// contract, session or RNG is changed. Model money is minor units; submit and
|
|
// criteria editor actions use whole displayed units (including seven bonuses).
|
|
Json demo_transfer(const Catalog &, const std::string &club);
|
|
bool migrate_demo_transfer(Json &full_state, const Catalog &, const std::string &club);
|
|
bool valid_demo_transfer(const Json &full_state, const Catalog &, const std::string &club);
|
|
std::string edit_demo_transfer(Json &full_state, const Json &action, const Catalog &, const std::string &club);
|
|
Json demo_transfer_view(const Json &full_state, const Catalog &, const std::string &club);
|
|
Json demo_transfer_player(const Json &full_state, const Catalog &, const std::string &club, const std::string &player);
|
|
Json demo_transfer_roster(const Json &full_state, const Catalog &, const std::string &club, const std::string &source_club);
|
|
Json demo_transfer_quote(const Json &full_state, const Json &request, const Catalog &, const std::string &club);
|
|
// Active IDs come from the lineup source; the transfer module never creates XI.
|
|
Json demo_transfer_strengths(const Json &full_state, const Catalog &, const std::string &club, const Json &active_ids);
|
|
Json demo_transfer_suggestion(const Json &full_state, const Catalog &, const std::string &club, const Json &active_ids);
|
|
} // namespace bmh::modern_ui
|