VOX
A little voxel engine
Loading...
Searching...
No Matches
Server::sendInfo Struct Reference

arg struct used to send a packet More...

#include <Server.hpp>

Collaboration diagram for Server::sendInfo:
Collaboration graph

Public Attributes

std::shared_ptr< IPacketpacket
 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...
 

Detailed Description

arg struct used to send a packet

Member Data Documentation

◆ flag

uint8_t Server::sendInfo::flag

bitfield containing flags from the flags enum

◆ id

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

◆ packet

std::shared_ptr<IPacket> Server::sendInfo::packet

shared pointer to the packet to send


The documentation for this struct was generated from the following file: