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

Everything the reply to a conversation depends on. More...

#include <interactions.h>

Public Attributes

PlayerTraits traits
 
int age = 25
 
SquadRole role {}
 
float form = 0.0f
 
std::uint8_t rated_matches = 0
 
float expected_rating = 6.7f
 
float playing_share = 0.0f
 
float expected_share = 0.5f
 
float morale = 60.0f
 
float trust = 0.0f
 
float manager_standing = 50.0f
 
bool injured = false
 
bool transfer_interest = false
 
std::uint8_t contract_years = 2
 
TalkRequest request = TalkRequest::None
 
bool promise_credible = true
 

Detailed Description

Everything the reply to a conversation depends on.

Member Data Documentation

◆ age

int TalkContext::age = 25

◆ contract_years

std::uint8_t TalkContext::contract_years = 2

◆ expected_rating

float TalkContext::expected_rating = 6.7f

What the squad role demands.

◆ expected_share

float TalkContext::expected_share = 0.5f

◆ form

float TalkContext::form = 0.0f

Mean recent rating, 0 when none.

◆ injured

bool TalkContext::injured = false

◆ manager_standing

float TalkContext::manager_standing = 50.0f

0-100 (board confidence proxy).

◆ morale

float TalkContext::morale = 60.0f

◆ playing_share

float TalkContext::playing_share = 0.0f

◆ promise_credible

bool TalkContext::promise_credible = true

◆ rated_matches

std::uint8_t TalkContext::rated_matches = 0

◆ request

TalkRequest TalkContext::request = TalkRequest::None

◆ role

SquadRole TalkContext::role {}

◆ traits

PlayerTraits TalkContext::traits

◆ transfer_interest

bool TalkContext::transfer_interest = false

◆ trust

float TalkContext::trust = 0.0f

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