|
R-Type
Networked shoot'em up built on Aegis2D
|
A player left the game; the Destroy of its ship follows if it had one.
More...
#include </__w/project-rtype/project-rtype/protocol/include/rtype/events.hpp>
Public Member Functions | |
| bool | operator== (const PlayerLeftEvent &) const =default |
| Field-by-field equality. | |
Public Attributes | |
| std::uint32_t | tick = 0 |
| Server tick at which it left. | |
| std::uint8_t | player = 0 |
| Player number, 0 to 3. | |
| LeaveReason | reason = LeaveReason::Left |
| Why it left. | |
A player left the game; the Destroy of its ship follows if it had one.
|
default |
Field-by-field equality.
true if every field is equal. | std::uint8_t rtype::PlayerLeftEvent::player = 0 |
Player number, 0 to 3.
| LeaveReason rtype::PlayerLeftEvent::reason = LeaveReason::Left |
Why it left.
| std::uint32_t rtype::PlayerLeftEvent::tick = 0 |
Server tick at which it left.