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

What the summary and the key moments are built from. More...

#include <match_insights.h>

Public Attributes

const MatchReport * report = nullptr
 
std::span< const ShotRecord > shots
 
const MatchDetail * detail = nullptr
 
bool managed_home = true
 
std::function< std::string(PlayerID)> name_of
 

Detailed Description

What the summary and the key moments are built from.

Member Data Documentation

◆ detail

const MatchDetail* InsightInput::detail = nullptr

May be empty (not tracked).

◆ managed_home

bool InsightInput::managed_home = true

◆ name_of

std::function<std::string(PlayerID)> InsightInput::name_of

Display name of a player (used in the lines' arguments).

◆ report

const MatchReport* InsightInput::report = nullptr

◆ shots

std::span<const ShotRecord> InsightInput::shots

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