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

#include <match_commentary.h>

Public Attributes

std::string homeTeam
 
std::string awayTeam
 
std::function< std::string(PlayerID)> player
 

Detailed Description

Names the commentary fills into an event's line.

Member Data Documentation

◆ awayTeam

std::string MatchCommentaryNames::awayTeam

◆ homeTeam

std::string MatchCommentaryNames::homeTeam

Team names; empty falls back to the localised "home/away side".

◆ player

std::function<std::string(PlayerID)> MatchCommentaryNames::player

Display name of a player (empty when unknown).


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