|
R-Type
Networked shoot'em up built on Aegis2D
|
What the client knows of a player of the game. More...
#include </__w/project-rtype/project-rtype/client/network/include/rtype/client_world.hpp>
Public Attributes | |
| std::string | name |
Name from PlayerJoined, empty until it arrives. | |
| std::uint32_t | ship = no_entity |
| Network id of its ship, or no_entity once out of lives. | |
| std::uint8_t | lives = 0 |
| Lives left. | |
| std::uint32_t | score = 0 |
| Score. | |
| std::optional< std::uint16_t > | input |
Sequence of the last Input of the player the server applied, or nothing before the first: the most recent of the snapshots received, by aegis2d::net::sequence_greater_than(). | |
What the client knows of a player of the game.
| std::optional<std::uint16_t> rtype::RemotePlayer::input |
Sequence of the last Input of the player the server applied, or nothing before the first: the most recent of the snapshots received, by aegis2d::net::sequence_greater_than().
| std::uint8_t rtype::RemotePlayer::lives = 0 |
Lives left.
| std::string rtype::RemotePlayer::name |
Name from PlayerJoined, empty until it arrives.
| std::uint32_t rtype::RemotePlayer::score = 0 |
Score.
| std::uint32_t rtype::RemotePlayer::ship = no_entity |
Network id of its ship, or no_entity once out of lives.