R-Type
Networked shoot'em up built on Aegis2D
Loading...
Searching...
No Matches
rtype::ScoreEntry Struct Reference

One score of the board. More...

#include </__w/project-rtype/project-rtype/server/include/rtype/scoreboard.hpp>

Public Member Functions

bool operator== (const ScoreEntry &) const =default
 Field-by-field equality.
 

Public Attributes

std::string name
 Name of the player, as valid_player_name() accepts it.
 
std::uint32_t score = 0
 Points at the end of its game.
 

Detailed Description

One score of the board.

Member Function Documentation

◆ operator==()

bool rtype::ScoreEntry::operator== ( const ScoreEntry &  ) const
default

Field-by-field equality.

Returns
true if both fields are equal.

Member Data Documentation

◆ name

std::string rtype::ScoreEntry::name

Name of the player, as valid_player_name() accepts it.

◆ score

std::uint32_t rtype::ScoreEntry::score = 0

Points at the end of its game.


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