Player12
An open source football management simulator
Loading...
Searching...
No Matches
TransferNegotiation::PlayerContext Struct Reference

#include <transfer_negotiation.h>

Public Attributes

ContractKind kind = ContractKind::Transfer
 
int age = 25
 
std::uint32_t current_wage = 0
 
std::uint32_t market_value = 0
 
std::uint8_t ambition = 50
 
std::uint8_t loyalty = 50
 
bool unsettled = false
 
std::uint8_t current_club_reputation = 0
 
std::uint8_t new_club_reputation = 50
 
SquadRole current_role {}
 
SquadRole projected_role {}
 

Detailed Description

What the player weighs. Reputations are 1-100; 0 = no club.

Member Data Documentation

◆ age

int TransferNegotiation::PlayerContext::age = 25

◆ ambition

std::uint8_t TransferNegotiation::PlayerContext::ambition = 50

◆ current_club_reputation

std::uint8_t TransferNegotiation::PlayerContext::current_club_reputation = 0

◆ current_role

SquadRole TransferNegotiation::PlayerContext::current_role {}

Role at the current club.

◆ current_wage

std::uint32_t TransferNegotiation::PlayerContext::current_wage = 0

◆ kind

ContractKind TransferNegotiation::PlayerContext::kind = ContractKind::Transfer

◆ loyalty

std::uint8_t TransferNegotiation::PlayerContext::loyalty = 50

◆ market_value

std::uint32_t TransferNegotiation::PlayerContext::market_value = 0

◆ new_club_reputation

std::uint8_t TransferNegotiation::PlayerContext::new_club_reputation = 50

◆ projected_role

SquadRole TransferNegotiation::PlayerContext::projected_role {}

Role by ability rank at the new club.

◆ unsettled

bool TransferNegotiation::PlayerContext::unsettled = false

The documentation for this struct was generated from the following file: