|
Player12
An open source football management simulator
|
#include <transfer_negotiation.h>
Public Attributes | |
| std::uint32_t | market_value = 0 |
| int | age = 25 |
| SquadRole | role {} |
| std::uint8_t | contract_years = 1 |
| std::uint8_t | seller_reputation = 50 |
| std::uint8_t | buyer_reputation = 50 |
| bool | same_league = false |
| bool | listed = false |
| std::uint32_t | listing_price = 0 |
| std::uint32_t | release_clause = 0 |
| bool | winter_window = false |
| int | days_to_deadline = 90 |
| float | resolve = 0.0f |
Everything the selling club weighs.
| int TransferNegotiation::SaleContext::age = 25 |
| std::uint8_t TransferNegotiation::SaleContext::buyer_reputation = 50 |
| std::uint8_t TransferNegotiation::SaleContext::contract_years = 1 |
| int TransferNegotiation::SaleContext::days_to_deadline = 90 |
| bool TransferNegotiation::SaleContext::listed = false |
| std::uint32_t TransferNegotiation::SaleContext::listing_price = 0 |
| std::uint32_t TransferNegotiation::SaleContext::market_value = 0 |
| std::uint32_t TransferNegotiation::SaleContext::release_clause = 0 |
| float TransferNegotiation::SaleContext::resolve = 0.0f |
Seller's resolve in [0, 1), drawn per player and window: the most stubborn clubs refuse to sell a key player at all.
| SquadRole TransferNegotiation::SaleContext::role {} |
| bool TransferNegotiation::SaleContext::same_league = false |
| std::uint8_t TransferNegotiation::SaleContext::seller_reputation = 50 |
| bool TransferNegotiation::SaleContext::winter_window = false |