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

#include <transfer_market.h>

Public Member Functions

bool empty () const
 

Public Attributes

std::uint32_t release_clause = 0
 
std::optional< SquadRole > promised_role
 
GameDateValue promise_date
 
bool loan_listed = false
 
std::int32_t not_for_sale_until = 0
 

Detailed Description

Contract extras, loan-list and not-for-sale flags of a player.

Member Function Documentation

◆ empty()

bool PlayerMarketFlags::empty ( ) const
inline

Member Data Documentation

◆ loan_listed

bool PlayerMarketFlags::loan_listed = false

◆ not_for_sale_until

std::int32_t PlayerMarketFlags::not_for_sale_until = 0

Declared not for sale until this day (0 = never).

◆ promise_date

GameDateValue PlayerMarketFlags::promise_date

◆ promised_role

std::optional<SquadRole> PlayerMarketFlags::promised_role

◆ release_clause

std::uint32_t PlayerMarketFlags::release_clause = 0

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