Luanti 5.16.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.

Referenced by operator<().

Here is the caller graph for this function:

Member Function Documentation

◆ operator<()

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

References PrioritySortedBlockTransfer(), and priority.

Here is the call graph for this function:

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: