LeviLamina
Loading...
Searching...
No Matches
EncryptedNetworkPeer Class Reference
+ Inheritance diagram for EncryptedNetworkPeer:

Public Types

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>
 

Public Member Functions

EncryptedNetworkPeeroperator= (EncryptedNetworkPeer const &)
 
 EncryptedNetworkPeer (EncryptedNetworkPeer const &)
 
virtual void sendPacket (::std::string const &data, ::NetworkPeer::Reliability reliability, ::Compressibility compressible)
 
virtual::NetworkPeer::DataStatus receivePacket (::std::string &outData, ::std::shared_ptr<::std::chrono::steady_clock::time_point > const &timepointPtr)
 
virtual::NetworkPeer::NetworkStatus getNetworkStatus () const
 
virtual bool isEncrypted () const
 
MCAPI EncryptedNetworkPeer (::std::shared_ptr<::NetworkPeer > peer)
 
MCAPI void enableEncryption (::std::string const &symmetricKey)
 
MCAPI void * $ctor (::std::shared_ptr<::NetworkPeer > peer)
 
MCAPI void $dtor ()
 
MCAPI void $sendPacket (::std::string const &data, ::NetworkPeer::Reliability reliability, ::Compressibility compressible)
 
MCAPI::NetworkPeer::DataStatus $receivePacket (::std::string &outData, ::std::shared_ptr<::std::chrono::steady_clock::time_point > const &timepointPtr)
 
MCAPI::NetworkPeer::NetworkStatus $getNetworkStatus () const
 
MCAPI bool $isEncrypted () const
 
virtual void update ()
 
virtual void flush (::std::function< void()> &&callback)
 
virtual bool isLocal () const
 
MCAPI void $update ()
 
MCAPI void $flush (::std::function< void()> &&callback)
 
MCAPI bool $isLocal () const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnkc8cc56
 
::ll::UntypedStorage< 8, 8 > mUnk99faeb
 
::ll::UntypedStorage< 8, 8 > mUnkec58b2
 
::ll::UntypedStorage< 8, 8 > mUnkbe3a4f
 
::ll::UntypedStorage< 8, 8 > mUnk6783be
 
::ll::UntypedStorage< 8, 8 > mUnk6732e8
 
::ll::UntypedStorage< 8, 32 > mUnk2d4ea0
 
::ll::UntypedStorage< 8, 32 > mUnkfcfda9
 
::ll::UntypedStorage< 8, 32 > mUnk741ffc
 
::ll::UntypedStorage< 8, 32 > mUnk38b2f6
 
::ll::UntypedStorage< 8, 32 > mUnk83826f
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::NetworkPeer > > mPeer
 

Constructor & Destructor Documentation

◆ EncryptedNetworkPeer()

MCAPI EncryptedNetworkPeer::EncryptedNetworkPeer ( ::std::shared_ptr<::NetworkPeer > peer)
explicit
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.

Member Function Documentation

◆ sendPacket()

virtual void EncryptedNetworkPeer::sendPacket ( ::std::string const & data,
::NetworkPeer::Reliability reliability,
::Compressibility compressible )
virtual

Implements NetworkPeer.

◆ receivePacket()

virtual::NetworkPeer::DataStatus EncryptedNetworkPeer::receivePacket ( ::std::string & outData,
::std::shared_ptr<::std::chrono::steady_clock::time_point > const & timepointPtr )
virtual

Implements NetworkPeer.

◆ getNetworkStatus()

virtual::NetworkPeer::NetworkStatus EncryptedNetworkPeer::getNetworkStatus ( ) const
virtual

Implements NetworkPeer.

◆ isEncrypted()

virtual bool EncryptedNetworkPeer::isEncrypted ( ) const
virtual

Reimplemented from NetworkPeer.

◆ enableEncryption()

MCAPI void EncryptedNetworkPeer::enableEncryption ( ::std::string const & symmetricKey)
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.

◆ $ctor()

MCAPI void * EncryptedNetworkPeer::$ctor ( ::std::shared_ptr<::NetworkPeer > peer)
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.

◆ $dtor()

MCAPI void EncryptedNetworkPeer::$dtor ( )
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.

◆ $sendPacket()

MCAPI void EncryptedNetworkPeer::$sendPacket ( ::std::string const & data,
::NetworkPeer::Reliability reliability,
::Compressibility compressible )
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.

◆ $receivePacket()

MCAPI::NetworkPeer::DataStatus EncryptedNetworkPeer::$receivePacket ( ::std::string & outData,
::std::shared_ptr<::std::chrono::steady_clock::time_point > const & timepointPtr )
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.

◆ $getNetworkStatus()

MCAPI::NetworkPeer::NetworkStatus EncryptedNetworkPeer::$getNetworkStatus ( ) const
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 EncryptedNetworkPeer::$isEncrypted ( ) const
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 ** EncryptedNetworkPeer::$vftable ( )
static
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.

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