Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
NetherNet::SocketCache Class Reference

Classes

struct  SocketPool

Public Member Functions

SocketCache & operator= (SocketCache const &)
 SocketCache (SocketCache const &)
MCAPI ::std::unique_ptr<::webrtc::AsyncPacketSocket > _tryCreateSocket (::webrtc::SocketAddress const &address, ushort minPort, ushort maxPort, ::brstd::flat_map< ushort, ::std::weak_ptr<::webrtc::AsyncPacketSocket >, ::std::less< ushort >, ::std::vector< ushort >, ::std::vector<::std::weak_ptr<::webrtc::AsyncPacketSocket > > > &ports)
MCAPI ::std::shared_ptr<::webrtc::AsyncPacketSocket > createGlobalUdpSocket (::webrtc::SocketAddress const &address, ushort minPort, ushort maxPort)

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnk3c893a
::ll::UntypedStorage< 8, 48 > mUnkcdd4d1

Member Function Documentation

◆ _tryCreateSocket()

MCAPI ::std::unique_ptr<::webrtc::AsyncPacketSocket > NetherNet::SocketCache::_tryCreateSocket ( ::webrtc::SocketAddress const & address,
ushort minPort,
ushort maxPort,
::brstd::flat_map< ushort, ::std::weak_ptr<::webrtc::AsyncPacketSocket >, ::std::less< ushort >, ::std::vector< ushort >, ::std::vector<::std::weak_ptr<::webrtc::AsyncPacketSocket > > > & ports )
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.

◆ createGlobalUdpSocket()

MCAPI ::std::shared_ptr<::webrtc::AsyncPacketSocket > NetherNet::SocketCache::createGlobalUdpSocket ( ::webrtc::SocketAddress const & address,
ushort minPort,
ushort maxPort )
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: