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

#include <transfer_negotiation.h>

Public Attributes

LoanDuration duration = LoanDuration::SeasonEnd
 
std::uint8_t wage_share = 100
 
std::uint32_t loan_fee = 0
 
std::uint32_t option_fee = 0
 
bool obligation = false
 
bool recall_clause = false
 
std::uint8_t min_appearances = 0
 
std::uint32_t unplayed_fee = 0
 

Detailed Description

A loan offer: wage share paid by the borrower, fee and buy clauses.

Member Data Documentation

◆ duration

LoanDuration TransferNegotiation::LoanTerms::duration = LoanDuration::SeasonEnd

◆ loan_fee

std::uint32_t TransferNegotiation::LoanTerms::loan_fee = 0

◆ min_appearances

std::uint8_t TransferNegotiation::LoanTerms::min_appearances = 0

Competitive appearances the borrower guarantees (0 = none); short of them at the end of the loan it pays unplayed_fee to the parent.

◆ obligation

bool TransferNegotiation::LoanTerms::obligation = false

Buy clause is mandatory at the end.

◆ option_fee

std::uint32_t TransferNegotiation::LoanTerms::option_fee = 0

0 = no buy clause.

◆ recall_clause

bool TransferNegotiation::LoanTerms::recall_clause = false

Parent may recall in January.

◆ unplayed_fee

std::uint32_t TransferNegotiation::LoanTerms::unplayed_fee = 0

◆ wage_share

std::uint8_t TransferNegotiation::LoanTerms::wage_share = 100

% of the wage paid by the borrower.


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