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

Content of a LoginRequest. More...

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

Public Member Functions

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

Public Attributes

std::uint8_t version = protocol_version
 Protocol version of the client.
 
std::string name
 Player name, not checked yet: see valid_player_name().
 

Detailed Description

Content of a LoginRequest.

Member Function Documentation

◆ operator==()

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

Field-by-field equality.

Returns
true if both fields are equal.

Member Data Documentation

◆ name

std::string rtype::LoginRequest::name

Player name, not checked yet: see valid_player_name().

◆ version

std::uint8_t rtype::LoginRequest::version = protocol_version

Protocol version of the client.


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