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

#include <transfer_market.h>

Public Attributes

PlayerID player_id = 0
 
TeamID parent = 0
 
TeamID borrower = 0
 
GameDateValue start
 
GameDateValue end
 
std::uint8_t wage_share = 100
 
std::uint32_t full_wage = 0
 
std::uint32_t option_fee = 0
 
bool obligation = false
 
bool recall_clause = false
 

Detailed Description

An active loan. The player belongs to the borrower's squad.

Member Data Documentation

◆ borrower

TeamID LoanDeal::borrower = 0

◆ end

GameDateValue LoanDeal::end

Last day; the player returns then.

◆ full_wage

std::uint32_t LoanDeal::full_wage = 0

◆ obligation

bool LoanDeal::obligation = false

◆ option_fee

std::uint32_t LoanDeal::option_fee = 0

0 = no buy clause.

◆ parent

TeamID LoanDeal::parent = 0

◆ player_id

PlayerID LoanDeal::player_id = 0

◆ recall_clause

bool LoanDeal::recall_clause = false

◆ start

GameDateValue LoanDeal::start

◆ wage_share

std::uint8_t LoanDeal::wage_share = 100

% of the wage paid by the borrower.


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