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

Descriptive club data read from the team files of the data pack. More...

#include <datagenerator.h>

Public Attributes

std::string short_name
 
std::uint32_t primary_colour = 0xFFFFFF
 
std::uint32_t secondary_colour = 0x1A1A1A
 
std::string stadium_name
 
std::uint32_t stadium_capacity = 0
 
std::uint16_t founded = 0
 
std::string nickname
 

Detailed Description

Descriptive club data read from the team files of the data pack.

Not persisted: the data pack stays the source. The stadium capacity used by the simulation lives in ClubProfile and is derived from reputation when the world is generated; the capacity here is the pack's nominal figure.

Member Data Documentation

◆ founded

std::uint16_t ClubIdentity::founded = 0

Founding year; 0 if unknown.

◆ nickname

std::string ClubIdentity::nickname

◆ primary_colour

std::uint32_t ClubIdentity::primary_colour = 0xFFFFFF

Kit colour, 0xRRGGBB.

◆ secondary_colour

std::uint32_t ClubIdentity::secondary_colour = 0x1A1A1A

Kit colour, 0xRRGGBB.

◆ short_name

std::string ClubIdentity::short_name

Three-letter code.

◆ stadium_capacity

std::uint32_t ClubIdentity::stadium_capacity = 0

Nominal seats; 0 if unknown.

◆ stadium_name

std::string ClubIdentity::stadium_name

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