|
R-Type
Networked shoot'em up built on Aegis2D
|
The state of the world at one tick. More...
#include </__w/project-rtype/project-rtype/protocol/include/rtype/snapshot.hpp>
Public Member Functions | |
| bool | operator== (const Snapshot &) const =default |
| Field-by-field equality. | |
Public Attributes | |
| std::uint32_t | tick = 0 |
| Server tick of the state. | |
| std::vector< PlayerRecord > | players |
| Every player of the game. | |
| std::vector< EntityRecord > | entities |
| Every replicated entity of the world. | |
The state of the world at one tick.
|
default |
Field-by-field equality.
true if every field is equal. | std::vector<EntityRecord> rtype::Snapshot::entities |
Every replicated entity of the world.
| std::vector<PlayerRecord> rtype::Snapshot::players |
Every player of the game.
| std::uint32_t rtype::Snapshot::tick = 0 |
Server tick of the state.