|
R-Type
Networked shoot'em up built on Aegis2D
|
What a delta snapshot says of one entity. More...
#include </__w/project-rtype/project-rtype/protocol/include/rtype/delta_snapshot.hpp>
Public Member Functions | |
| bool | operator== (const EntityDelta &) const =default |
| Field-by-field equality. | |
Public Attributes | |
| EntityChange | change = EntityChange::Added |
| How it differs from the baseline. | |
| std::uint8_t | fields = 0 |
| For EntityChange::Updated, the EntityField bits of the fields sent. | |
| EntityRecord | record |
| Its id, and the fields sent; the others are 0. | |
What a delta snapshot says of one entity.
|
default |
Field-by-field equality.
true if every field is equal. | EntityChange rtype::EntityDelta::change = EntityChange::Added |
How it differs from the baseline.
| std::uint8_t rtype::EntityDelta::fields = 0 |
For EntityChange::Updated, the EntityField bits of the fields sent.
| EntityRecord rtype::EntityDelta::record |
Its id, and the fields sent; the others are 0.