Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
con::OutgoingPacket Struct Reference

#include <threads.h>

+ Collaboration diagram for con::OutgoingPacket:

Public Member Functions

 OutgoingPacket (session_t peer_id_, u8 channelnum_, const SharedBuffer< u8 > &data_, bool reliable_, bool ack_=false)
 

Public Attributes

session_t peer_id
 
u8 channelnum
 
SharedBuffer< u8 > data
 
bool reliable
 
bool ack
 

Constructor & Destructor Documentation

◆ OutgoingPacket()

con::OutgoingPacket::OutgoingPacket ( session_t peer_id_,
u8 channelnum_,
const SharedBuffer< u8 > & data_,
bool reliable_,
bool ack_ = false )
inline

Member Data Documentation

◆ ack

bool con::OutgoingPacket::ack

◆ channelnum

u8 con::OutgoingPacket::channelnum

◆ data

SharedBuffer<u8> con::OutgoingPacket::data

◆ peer_id

session_t con::OutgoingPacket::peer_id

◆ reliable

bool con::OutgoingPacket::reliable

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