|
enum class | Reliability : int { Reliable = 0
, ReliableOrdered = 1
, Unreliable = 2
, UnreliableSequenced = 3
} |
|
enum class | DataStatus : int { HasData = 0
, NoData = 1
, BrokenData = 2
} |
|
enum class | NetworkLoad : int { Unrestricted = 0
, Low = 1
, Medium = 2
, High = 3
} |
|
using | PacketRecvTimepoint = ::std::chrono::steady_clock::time_point |
|
using | PacketRecvTimepointPtr = ::std::shared_ptr<::std::chrono::steady_clock::time_point> |
|
|
LatencyNetworkPeer & | operator= (LatencyNetworkPeer const &) |
|
| LatencyNetworkPeer (LatencyNetworkPeer const &) |
|
virtual void | sendPacket (::std::string const &, ::NetworkPeer::Reliability, ::Compressibility) |
|
virtual::NetworkPeer::DataStatus | receivePacket (::std::string &, ::std::shared_ptr<::std::chrono::steady_clock::time_point > const &) |
|
virtual::NetworkPeer::NetworkStatus | getNetworkStatus () const |
|
virtual void | update () |
|
virtual void | flush (::std::function< void()> &&callback) |
|
virtual bool | isLocal () const |
|
virtual bool | isEncrypted () const |
|
MCAPI void | $dtor () |
|
MCAPI void | $update () |
|
MCAPI void | $flush (::std::function< void()> &&callback) |
|
MCAPI bool | $isLocal () const |
|
MCAPI bool | $isEncrypted () const |
|
◆ sendPacket()
virtual void LatencyNetworkPeer::sendPacket |
( |
::std::string const & | , |
|
|
::NetworkPeer::Reliability | , |
|
|
::Compressibility | ) |
|
virtual |
◆ receivePacket()
virtual::NetworkPeer::DataStatus LatencyNetworkPeer::receivePacket |
( |
::std::string & | , |
|
|
::std::shared_ptr<::std::chrono::steady_clock::time_point > const & | ) |
|
virtual |
◆ getNetworkStatus()
virtual::NetworkPeer::NetworkStatus LatencyNetworkPeer::getNetworkStatus |
( |
| ) |
const |
|
virtual |
◆ $dtor()
MCAPI void NetworkPeer::$dtor |
( |
| ) |
|
|
inherited |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
◆ $update()
MCAPI void NetworkPeer::$update |
( |
| ) |
|
|
inherited |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
◆ $flush()
MCAPI void NetworkPeer::$flush |
( |
::std::function< void()> && | callback | ) |
|
|
inherited |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
◆ $isLocal()
MCAPI bool NetworkPeer::$isLocal |
( |
| ) |
const |
|
inherited |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
◆ $isEncrypted()
MCAPI bool NetworkPeer::$isEncrypted |
( |
| ) |
const |
|
inherited |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
◆ $vftable()
static MCAPI void ** NetworkPeer::$vftable |
( |
| ) |
|
|
staticinherited |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
The documentation for this class was generated from the following file: