|
Player12
An open source football management simulator
|
A coach, medic, scout or academy manager. More...
#include <staff.h>
Public Member Functions | |
| std::string | name () const |
| std::uint8_t | attribute (StaffAttribute which) const |
Public Attributes | |
| StaffID | id = 0 |
| TeamID | team_id = 0 |
| std::string | first_name |
| std::string | last_name |
| Language | nationality = Language::EN |
| std::uint8_t | age = 40 |
| StaffRole | role = StaffRole::AssistantManager |
| std::array< std::uint8_t, STAFF_ATTRIBUTE_COUNT > | attributes {} |
| std::uint32_t | wage = 0 |
| std::uint8_t | contract_years = 0 |
A coach, medic, scout or academy manager.
team_id 0 means unattached (on the staff market). contract_years counts the remaining seasons including the current one, like player contracts.
|
inline |
|
inline |
| std::uint8_t StaffMember::age = 40 |
| std::array<std::uint8_t, STAFF_ATTRIBUTE_COUNT> StaffMember::attributes {} |
| std::uint8_t StaffMember::contract_years = 0 |
| std::string StaffMember::first_name |
| StaffID StaffMember::id = 0 |
| std::string StaffMember::last_name |
| Language StaffMember::nationality = Language::EN |
| StaffRole StaffMember::role = StaffRole::AssistantManager |
| TeamID StaffMember::team_id = 0 |
| std::uint32_t StaffMember::wage = 0 |
Weekly.