VOX
A little voxel engine
|
arg struct used to send a packet More...
#include <Server.hpp>
Public Attributes | |
std::shared_ptr< IPacket > | packet |
shared pointer to the packet to send More... | |
uint8_t | flag |
bitfield containing flags from the flags enum More... | |
uint64_t | id = 0 |
a connection id More... | |
arg struct used to send a packet
uint8_t Server::sendInfo::flag |
bitfield containing flags from the flags enum
uint64_t Server::sendInfo::id = 0 |
a connection id
if the flag is set to ALLEXCEPT this id will be used to exclude a client from the send
else this id will be used as the destination id
std::shared_ptr<IPacket> Server::sendInfo::packet |
shared pointer to the packet to send