#1 - quicr module
This commit is contained in:
@@ -117,8 +117,10 @@ void tw_serial_benchmark(std::vector<Position>& positions) {
|
||||
buf.reset();
|
||||
|
||||
tw::serial::BinaryWriter w(buf);
|
||||
// packet_type
|
||||
w.encode<uint32_t>(tw::serial::kWorldStatePacketType);
|
||||
// message_type — any value; only the size matters to the benchmark
|
||||
w.encode<uint32_t>(0u);
|
||||
// sequence — this message is never a reply to a request
|
||||
w.encode<uint32_t>(0u);
|
||||
// frame_idx
|
||||
w.encode<uint32_t>(static_cast<uint32_t>(frame));
|
||||
// entity_count placeholder
|
||||
|
||||
Reference in New Issue
Block a user