Player12
An open source football management simulator
Loading...
Searching...
No Matches
match_report.h File Reference
#include <cstdint>
#include <optional>
#include <string>
#include <vector>
#include "gamedate.h"
#include "global/types.h"

Go to the source code of this file.

Classes

struct  MatchReportEvent
 One structured event of a finished match (scorer, card...). More...
 
struct  TeamMatchStats
 Team totals of a finished match. More...
 
struct  PlayerMatchLine
 Per-player line of a finished match. More...
 
struct  MatchReport
 Structured summary of a played fixture, persisted per fixture. More...
 

Enumerations

enum class  MatchEventKind : uint8_t {
  GOAL = 0 , OWN_GOAL = 1 , YELLOW_CARD = 3 , RED_CARD = 4 ,
  SECOND_YELLOW = 5
}
 Kind of a structured, persisted match event. More...
 

Enumeration Type Documentation

◆ MatchEventKind

enum class MatchEventKind : uint8_t
strong

Kind of a structured, persisted match event.

Enumerator
GOAL 
OWN_GOAL 
YELLOW_CARD 
RED_CARD 

Straight red card.

SECOND_YELLOW 

Second caution, player sent off.