Modern UI contract: resigning ends the career of the last human manager
manager.resign.commit with confirmed true ends the career when the last human manager resigns (outcome career_ended, sessionState ended, every later command answers career_ended). Resigning while other humans play needs every per-manager table moved up a slot and answers resign_not_supported_yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7c5030ca4b
commit
dc3ecc3a8a
5 files changed
+37
-1
No files matched your search
@@ -34,6 +34,7 @@ struct UiContext {
|
||||
std::optional<int> next_opponent;
|
||||
std::string next_competition;
|
||||
bool next_away = false;
|
||||
bool career_ended = false; // the last human manager resigned or the career ran out
|
||||
};
|
||||
|
||||
// Gives a career without them its identities: a career id ("career:" + 16 hex digits, drawn
|
||||
|
||||
Reference in new issue
Block a user