Exclusive sponsor from training camp stays (Modern)
The Middle East camps share their grades but differ in price; a stay
can now bring an exclusive sponsor: 15 / 30 / 45 % per stay (Doha /
Abu Dhabi / Dubai), a shirt (about every third offer) or four boards at
twice the club's best regular offer for 12 months. Accepted on a free
place it starts at once, otherwise it is queued and starts at a month
change once the place is free. The offer goes through the regular
advertising acceptance.
Camp fields sponsor_chance / sponsor_bonus / sponsor_months (data
format F4, editable; built-in values for the Middle East camps), state
saved in state/modern.json, read query {kind: "sponsor"}, session action
dispatch_exclusive_sponsor, tests in modern_camp_tests, SIM_SPONSOR=1.
Sponsor artwork does not exist yet (asset: null, documented).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
44a7a77915
commit
77d1f93e8f
20 files changed
+333
-13
No files matched your search
@@ -610,6 +610,9 @@ public:
|
||||
// toto_coupon_requires_eleven_matches, invalid_toto_coupon, stale_manager_or_revision.
|
||||
bool dispatch_pools_columns(int manager, uint32_t stake, const std::vector<std::array<uint8_t, 11>>& columns,
|
||||
uint64_t& revision, std::string& error);
|
||||
// The answer to an exclusive sponsor offer from a camp stay (docs/new_engine/trainingslager.md).
|
||||
// `result` is "started" or "queued" when accepted, "declined" otherwise. Error: no_sponsor_offer.
|
||||
bool dispatch_exclusive_sponsor(int manager, bool accept, uint64_t& revision, std::string& result, std::string& error);
|
||||
bool dispatch_tactics(const ui::TacticsRequest&, uint64_t& revision, std::string& error);
|
||||
bool dispatch_lineup(const ui::LineupRequest&, uint64_t& revision, std::string& error);
|
||||
// Source PitchScreen live-match path: apply one user-picked field/bench
|
||||
|
||||
Reference in new issue
Block a user