|
R-Type
Networked shoot'em up built on Aegis2D
|
A player joined the game. More...
#include </__w/project-rtype/project-rtype/protocol/include/rtype/events.hpp>
Public Member Functions | |
| bool | operator== (const PlayerJoinedEvent &) const =default |
| Field-by-field equality. | |
Public Attributes | |
| std::uint32_t | tick = 0 |
| Server tick at which it joined. | |
| std::uint8_t | player = 0 |
| Player number, 0 to 3. | |
| std::string | name |
| Name given at login, valid as valid_player_name() says. | |
A player joined the game.
|
default |
Field-by-field equality.
true if every field is equal. | std::string rtype::PlayerJoinedEvent::name |
Name given at login, valid as valid_player_name() says.
| std::uint8_t rtype::PlayerJoinedEvent::player = 0 |
Player number, 0 to 3.
| std::uint32_t rtype::PlayerJoinedEvent::tick = 0 |
Server tick at which it joined.