Player12
An open source football management simulator
Loading...
Searching...
No Matches
IncomingOffer Struct Reference

#include <transfer_market.h>

Public Attributes

std::uint32_t id = 0
 
PlayerID player_id = 0
 
TeamID buyer = 0
 
bool loan = false
 
TransferNegotiation::OfferTerms terms
 
TransferNegotiation::LoanTerms loan_terms
 
std::uint32_t max_fee = 0
 
GameDateValue created
 
GameDateValue expires
 
std::uint8_t round = 0
 
std::uint8_t patience = 0
 
std::uint8_t insults = 0
 
OfferStatus status = OfferStatus::AwaitingClub
 
GameDateValue respond_on
 
TransferNegotiation::OfferTerms asked
 
TransferNegotiation::LoanTerms asked_loan
 
bool firm = false
 
std::vector< OfferRound > history
 

Detailed Description

An AI club's offer for one of the managed club's players.

Member Data Documentation

◆ asked

TransferNegotiation::OfferTerms IncomingOffer::asked

AwaitingBuyer: the counter.

◆ asked_loan

TransferNegotiation::LoanTerms IncomingOffer::asked_loan

Loan counter.

◆ buyer

TeamID IncomingOffer::buyer = 0

◆ created

GameDateValue IncomingOffer::created

◆ expires

GameDateValue IncomingOffer::expires

Last day to answer (AwaitingClub).

◆ firm

bool IncomingOffer::firm = false

The counter is a named price.

◆ history

std::vector<OfferRound> IncomingOffer::history

Oldest first.

◆ id

std::uint32_t IncomingOffer::id = 0

◆ insults

std::uint8_t IncomingOffer::insults = 0

Unrealistic demands so far.

◆ loan

bool IncomingOffer::loan = false

◆ loan_terms

TransferNegotiation::LoanTerms IncomingOffer::loan_terms

◆ max_fee

std::uint32_t IncomingOffer::max_fee = 0

Hidden ceiling of the buyer: the most the deal may cost it, in BuyerNegotiation::buyerCost() terms (present value); for a loan in LoanNegotiation::borrowerCost() terms.

◆ patience

std::uint8_t IncomingOffer::patience = 0

Counters the buyer answers before it stops; 0 = not drawn yet.

◆ player_id

PlayerID IncomingOffer::player_id = 0

◆ respond_on

GameDateValue IncomingOffer::respond_on

AwaitingBuyer: the day of its answer.

◆ round

std::uint8_t IncomingOffer::round = 0

Counters the buyer has answered.

◆ status

OfferStatus IncomingOffer::status = OfferStatus::AwaitingClub

◆ terms

TransferNegotiation::OfferTerms IncomingOffer::terms

The buyer's offer on the table.


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