Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
PrioritySortedBlockTransfer Struct Reference

#include <clientiface.h>

Public Member Functions

 PrioritySortedBlockTransfer (float a_priority, const v3s16 &a_pos, session_t a_peer_id)
 
bool operator< (const PrioritySortedBlockTransfer &other) const
 

Public Attributes

float priority
 
v3s16 pos
 
session_t peer_id
 

Constructor & Destructor Documentation

◆ PrioritySortedBlockTransfer()

PrioritySortedBlockTransfer::PrioritySortedBlockTransfer ( float a_priority,
const v3s16 & a_pos,
session_t a_peer_id )
inline

References peer_id, pos, and priority.

Member Function Documentation

◆ operator<()

bool PrioritySortedBlockTransfer::operator< ( const PrioritySortedBlockTransfer & other) const
inline

References priority.

Member Data Documentation

◆ peer_id

session_t PrioritySortedBlockTransfer::peer_id

◆ pos

v3s16 PrioritySortedBlockTransfer::pos

◆ priority

float PrioritySortedBlockTransfer::priority

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