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

One score of a ScoreList. More...

#include </__w/project-rtype/project-rtype/protocol/include/rtype/scores.hpp>

Public Member Functions

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

Public Attributes

std::string name
 Name of the player, as received: see valid_player_name().
 
std::uint32_t score = 0
 Its points at the end of its game.
 

Detailed Description

One score of a ScoreList.

Member Function Documentation

◆ operator==()

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

Field-by-field equality.

Returns
true if both fields are equal.

Member Data Documentation

◆ name

std::string rtype::ScoreRecord::name

Name of the player, as received: see valid_player_name().

◆ score

std::uint32_t rtype::ScoreRecord::score = 0

Its points at the end of its game.


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