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

A message about a player, shown for a few seconds. More...

#include </__w/project-rtype/project-rtype/client/network/include/rtype/player_notices.hpp>

Public Attributes

std::uint8_t player = 0
 Player number, 0 to 3, for the color of its slot.
 
std::string text
 Sentence shown, such as "Lolo left the game".
 
std::chrono::steady_clock::time_point until
 When the message goes away.
 

Detailed Description

A message about a player, shown for a few seconds.

Member Data Documentation

◆ player

std::uint8_t rtype::PlayerNotice::player = 0

Player number, 0 to 3, for the color of its slot.

◆ text

std::string rtype::PlayerNotice::text

Sentence shown, such as "Lolo left the game".

◆ until

std::chrono::steady_clock::time_point rtype::PlayerNotice::until

When the message goes away.


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