Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
NetworkIdentifier Class Reference

Public Types

enum class  Type : int {
  RakNet = 0 , Address = 1 , Address6 = 2 , NetherNet = 3 ,
  Invalid = 4
}

Public Member Functions

LLNDAPI std::string getIPAndPort () const
bool operator== (::NetworkIdentifier const &other) const
 NetworkIdentifier (::NetworkIdentifier const &other)=default
MCAPI bool equalsTypeData (::NetworkIdentifier const &other) const
MCAPI::std::string getAddress () const
MCAPI::std::string getCorrelationId () const
MCAPI uint64 getHash () const
MCAPI bool isUnassigned () const
MCAPI::std::string toString () const

Static Public Member Functions

static MCAPI ::std::string calculateCorrelationId (::RakNet::RakNetGUID const &rakId)
static MCAPI ::NetworkIdentifier & INVALID_ID ()

Public Attributes

::NetherNet::NetworkID mNetherNetId
::RakNet::RakNetGUID mGuid
::ll::UntypedStorage< 8, 128 > mSock
::NetworkIdentifier::Type mType

Member Function Documentation

◆ getCorrelationId()

MCAPI::std::string NetworkIdentifier::getCorrelationId ( ) 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.

◆ isUnassigned()

MCAPI bool NetworkIdentifier::isUnassigned ( ) 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.

◆ calculateCorrelationId()

MCAPI ::std::string NetworkIdentifier::calculateCorrelationId ( ::RakNet::RakNetGUID const & rakId)
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.

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