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

A decision moment of the managed club (table StoryDilemmas). More...

#include <stories.h>

Public Member Functions

bool open () const
 

Public Attributes

StoryKind kind = StoryKind::CompassionateLeave
 
PlayerID subject = 0
 
std::uint32_t other = 0
 
std::int32_t day = 0
 
std::int32_t expires_day = 0
 
std::int8_t chosen = -1
 
std::int32_t resolved_day = 0
 
std::int64_t money = 0
 

Detailed Description

A decision moment of the managed club (table StoryDilemmas).

Member Function Documentation

◆ open()

bool Dilemma::open ( ) const
inline

Member Data Documentation

◆ chosen

std::int8_t Dilemma::chosen = -1

-1 open, 0 / 1 answered, 2 lapsed.

◆ day

std::int32_t Dilemma::day = 0

Raised on this day (unique).

◆ expires_day

std::int32_t Dilemma::expires_day = 0

◆ kind

◆ money

std::int64_t Dilemma::money = 0

Balance change applied by the answer.

◆ other

std::uint32_t Dilemma::other = 0

Second player, or the rival club.

◆ resolved_day

std::int32_t Dilemma::resolved_day = 0

◆ subject

PlayerID Dilemma::subject = 0

0 for club-wide moments.


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