National-team jobs of the human manager: vacancies, applications and offers, the job itself (results, reputation, qualification, contract) and the AI head coaches who fill the other vacancies.
More...
|
| | NationalManagement (std::shared_ptr< GameData > gamedata) |
| |
| bool | hasJob () const |
| |
| const NationalJob & | getJob () const |
| |
| const std::vector< NationalStint > & | getHistory () const |
| |
| const std::vector< NationalVacancy > & | getVacancies () const |
| |
| const std::vector< NationalApplication > & | getApplications () const |
| |
| const std::vector< NationalJobOffer > & | getOffers () const |
| |
| const NationalApplication * | findApplication (Language nation) const |
| |
| const NationalJobOffer * | findOffer (std::uint32_t offer_id) const |
| |
| float | stature (const NationalTeams &teams, Language nation) const |
| |
| float | applicationChance (const NationalTeams &teams, const ManagerProfile &profile, Language nation) const |
| |
| NationalApplyResult | apply (Language nation, const GameDateValue &date, const ManagerProfile &profile, bool club_job) |
| |
| bool | decline (std::uint32_t offer_id) |
| |
| NationalApplyResult | accept (std::uint32_t offer_id, const GameDateValue &date, NationalTeams &teams, ManagerCareer &career, bool club_job, Inbox &inbox) |
| |
| void | leave (DepartureReason reason, const GameDateValue &date, NationalTeams &teams, ManagerCareer &career, Inbox &inbox) |
| |
| void | openVacancy (Language nation, const GameDateValue &date) |
| |
| void | queueResult (const International::Fixture &fixture, double home_expected) |
| |
| void | queueFinals (const NationalTeams::Finals &finals, bool decided) |
| |
| NationalDayEvents | onDay (const GameDateValue &date, NationalTeams &teams, ManagerCareer &career, bool club_job, Inbox &inbox) |
| |
| void | load (const std::shared_ptr< DatabaseConnection > &db_conn) |
| |
| void | save (const std::shared_ptr< DatabaseConnection > &db_conn) const |
| |
|
| void | handleResult (const QueuedResult &queued, const GameDateValue &date, ManagerCareer &career, Inbox &inbox) |
| |
| void | handleFinals (const QueuedFinals &queued, const GameDateValue &date, NationalTeams &teams, ManagerCareer &career, Inbox &inbox, NationalDayEvents &events) |
| |
| void | fillVacancies (const GameDateValue &date, NationalTeams &teams) |
| |
| void | processApplications (const GameDateValue &date, const NationalTeams &teams, const ManagerProfile &profile, Inbox &inbox, NationalDayEvents &events) |
| |
| void | approach (const GameDateValue &date, const NationalTeams &teams, const ManagerProfile &profile, bool club_job, Inbox &inbox, NationalDayEvents &events) |
| |
| void | makeOffer (Language nation, const GameDateValue &date, const NationalTeams &teams, bool unsolicited, Inbox &inbox) |
| |
| void | reviewContract (const GameDateValue &date, NationalTeams &teams, ManagerCareer &career, Inbox &inbox, NationalDayEvents &events) |
| |
| std::string | aiCoachName (Language nation, const GameDateValue &date) const |
| |
| bool | recentlyLeft (Language nation, const GameDateValue &date) const |
| |
National-team jobs of the human manager: vacancies, applications and offers, the job itself (results, reputation, qualification, contract) and the AI head coaches who fill the other vacancies.
Owned by Game next to the manager career. The national teams' calendar is unchanged: the manager's nation plays its qualifiers, nations league and finals through NationalTeams, with the squad he picks during the week before each window (the assistant's selection stands otherwise). Results and finals reach this class through NationalTeams' sinks and are handled on the same day by onDay().