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

#include <transfer_market.h>

Public Attributes

std::uint32_t id = 0
 
ObligationKind kind = ObligationKind::Instalment
 
PlayerID player_id = 0
 
TeamID payer = 0
 
TeamID payee = 0
 
std::int64_t amount = 0
 
GameDateValue due
 
std::uint16_t target = 0
 
std::uint16_t baseline
 

Detailed Description

A scheduled or conditional payment between two clubs.

Member Data Documentation

◆ amount

std::int64_t TransferObligation::amount = 0

◆ baseline

std::uint16_t TransferObligation::baseline
Initial value:
=
0

Appearances/goals for the payer at signing.

◆ due

GameDateValue TransferObligation::due

Instalment due date, otherwise the signing date.

◆ id

std::uint32_t TransferObligation::id = 0

◆ kind

ObligationKind TransferObligation::kind = ObligationKind::Instalment

◆ payee

TeamID TransferObligation::payee = 0

◆ payer

TeamID TransferObligation::payer = 0

Sell-on: the club that will sell.

◆ player_id

PlayerID TransferObligation::player_id = 0

◆ target

std::uint16_t TransferObligation::target = 0

Bonus threshold.


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