|
3es
0.7
|
A update message is identical in header to a CreateMessage.
More...
#include <3esmessages.h>
Public Types | |
| enum | { MessageId = OIdUpdate } |
| ID for this message. | |
Public Member Functions | |
| bool | read (PacketReader &reader) |
| Read message content. More... | |
| bool | write (PacketWriter &writer) const |
Write this message to writer. More... | |
Public Attributes | |
| uint32_t | id |
| Object creation id. Zero if defining a transient/single frame message. | |
| uint16_t | flags |
Update flags from ObjectFlag. | |
| ObjectAttributes | attributes |
| Initial transformation and colour. | |
A update message is identical in header to a CreateMessage.
It's payload may vary and in many cases it will have no further payload.
|
inline |
Read message content.
Crc should have been validated already
| reader | The stream to read from. |
References tes::ObjectAttributes::read(), and tes::PacketReader::readElement().
|
inline |
Write this message to writer.
| writer | The target buffer. |
References tes::ObjectAttributes::write(), and tes::PacketWriter::writeElement().