|
R-Type
Networked shoot'em up built on Aegis2D
|
A room, as a RoomList describes it.
More...
#include </__w/project-rtype/project-rtype/protocol/include/rtype/rooms.hpp>
Public Member Functions | |
| bool | operator== (const RoomRecord &) const =default |
| Field-by-field equality. | |
Public Attributes | |
| std::uint8_t | room = 0 |
| Number of the room, 0 to max_listed_rooms - 1. | |
| std::string | name |
| Name of the room. | |
| std::uint8_t | players = 0 |
| Players in the room. | |
| std::uint8_t | max_players = 0 |
| Most players the room takes, 1 to 4. | |
| std::uint8_t | state = 0 |
| State as sent: a RoomState value, or an unknown one. | |
A room, as a RoomList describes it.
|
default |
Field-by-field equality.
true if every field is equal. | std::uint8_t rtype::RoomRecord::max_players = 0 |
Most players the room takes, 1 to 4.
| std::string rtype::RoomRecord::name |
Name of the room.
| std::uint8_t rtype::RoomRecord::players = 0 |
Players in the room.
| std::uint8_t rtype::RoomRecord::room = 0 |
Number of the room, 0 to max_listed_rooms - 1.
| std::uint8_t rtype::RoomRecord::state = 0 |
State as sent: a RoomState value, or an unknown one.