Player12
An open source football management simulator
Loading...
Searching...
No Matches
BuyerNegotiation::BuyerContext Struct Reference

#include <buyer_negotiation.h>

Public Attributes

std::uint32_t ceiling = 0
 
std::int64_t cash = 0
 
int age = 25
 
std::uint8_t patience = 3
 
std::uint8_t answered = 0
 
std::uint8_t insults = 0
 
std::uint8_t rivals = 0
 
int days_to_deadline = 30
 
bool wage_fits = true
 

Detailed Description

Everything the buyer weighs when answering.

Member Data Documentation

◆ age

int BuyerNegotiation::BuyerContext::age = 25

Of the player.

◆ answered

std::uint8_t BuyerNegotiation::BuyerContext::answered = 0

Counters answered so far.

◆ cash

std::int64_t BuyerNegotiation::BuyerContext::cash = 0

Cash it can pay on signing.

◆ ceiling

std::uint32_t BuyerNegotiation::BuyerContext::ceiling = 0

Most it commits, in buyerCost() terms.

◆ days_to_deadline

int BuyerNegotiation::BuyerContext::days_to_deadline = 30

-1 when the window is shut.

◆ insults

std::uint8_t BuyerNegotiation::BuyerContext::insults = 0

Unrealistic demands so far.

◆ patience

std::uint8_t BuyerNegotiation::BuyerContext::patience = 3

Counters it answers in these talks.

◆ rivals

std::uint8_t BuyerNegotiation::BuyerContext::rivals = 0

Other clubs bidding for the player.

◆ wage_fits

bool BuyerNegotiation::BuyerContext::wage_fits = true

The wage he would ask fits the buyer's wage room: it never agrees a deal it cannot pay, and walks away when it no longer fits.


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