Faker C++
Loading...
Searching...
No Matches
faker::esport Namespace Reference

Functions

FAKER_CXX_EXPORT std::string_view player (Locale locale=Locale::en_US)
 Returns a random player name.
 
FAKER_CXX_EXPORT std::string_view team (Locale locale=Locale::en_US)
 Returns a random esport team.
 
FAKER_CXX_EXPORT std::string_view league (Locale locale=Locale::en_US)
 Returns a random esport league.
 
FAKER_CXX_EXPORT std::string_view event (Locale locale=Locale::en_US)
 Returns a random esport event.
 
FAKER_CXX_EXPORT std::string_view game (Locale locale=Locale::en_US)
 Returns a random competitive video game.
 

Function Documentation

◆ event()

FAKER_CXX_EXPORT std::string_view faker::esport::event ( Locale locale = Locale::en_US)

Returns a random esport event.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Esport Event.
FAKER_CXX_EXPORT std::string_view event(Locale locale=Locale::en_US)
Returns a random esport event.

◆ game()

FAKER_CXX_EXPORT std::string_view faker::esport::game ( Locale locale = Locale::en_US)

Returns a random competitive video game.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Competitive video game.
faker::esport::game() // "Rocket League"
FAKER_CXX_EXPORT std::string_view game(Locale locale=Locale::en_US)
Returns a random competitive video game.

◆ league()

FAKER_CXX_EXPORT std::string_view faker::esport::league ( Locale locale = Locale::en_US)

Returns a random esport league.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Esport League.
FAKER_CXX_EXPORT std::string_view league(Locale locale=Locale::en_US)
Returns a random esport league.

◆ player()

FAKER_CXX_EXPORT std::string_view faker::esport::player ( Locale locale = Locale::en_US)

Returns a random player name.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Player name.
FAKER_CXX_EXPORT std::string_view player(Locale locale=Locale::en_US)
Returns a random player name.

◆ team()

FAKER_CXX_EXPORT std::string_view faker::esport::team ( Locale locale = Locale::en_US)

Returns a random esport team.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Esport team.
faker::esport::team() // "Karmine Corp"
FAKER_CXX_EXPORT std::string_view team(Locale locale=Locale::en_US)
Returns a random esport team.