LeviLamina
Loading...
Searching...
No Matches
NetherNet::NetworkSessionManager Class Reference
Inheritance diagram for NetherNet::NetworkSessionManager:

Classes

struct  NetworkSessionRecord

Public Member Functions

NetworkSessionManager & operator= (NetworkSessionManager const &)
 NetworkSessionManager (NetworkSessionManager const &)
MCAPI void CloseInactiveSessionsOnSignalThread (::NetherNet::NetworkID remoteID, ::std::tuple< ::std::vector<::std::unique_ptr<::NetherNet::NetworkSession > > &, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & > const &list)
MCAPI bool CloseSessionWithReason (::NetherNet::NetworkID networkIDRemote, uint64 connectionId, ::NetherNet::ESessionError reason)
MCAPI ::gsl::not_null<::NetherNet::NetworkSession * > FindOrCreateSpecificSession (::NetherNet::NetworkID remoteId, uint64 connectionId, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const &sessionsLock, bool disableTrickleIce)
MCAPI bool GetSessionState (::NetherNet::NetworkID peerId, uint64 connectionId, ::NetherNet::SessionState *pConnectionState)
MCAPI::NetherNet::ESessionError InitiateIncomingSession (::NetherNet::NetworkID remoteID, ::NetherNet::ConnectRequest const &offer, ::NetherNet::SignalingChannelId source, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const &sessionsLock, bool disableTrickleIce)
MCAPI::NetherNet::NetworkSession * InitiateOutgoingSession (::NetherNet::NetworkID remoteID, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const &sessionsLock, bool disableTrickleIce)
MCAPI bool IsPacketAvailable (::NetherNet::NetworkID remoteId, uint64 connectionId, uint *pcbMessageSize) const
MCAPI void NotifyOnSessionOpen (::NetherNet::NetworkID networkIDRemote, uint64 connectionId)
MCAPI void PeriodicDeadSessionCleanupOnSignalThread ()
MCAPI void ProcessError (::NetherNet::NetworkID remoteID, uint64 connectionId, ::NetherNet::ESessionError error)
MCAPI void ProcessSignal (::NetherNet::NetworkID remoteID, ::NetherNet::ConnectError const &error, ::NetherNet::SignalingChannelId, bool) const
MCAPI void ProcessSignal (::NetherNet::NetworkID remoteID, ::NetherNet::ConnectResponse const &signal, ::NetherNet::SignalingChannelId, bool) const
MCAPI void ProcessSignal (::NetherNet::NetworkID remoteID, ::NetherNet::CandidateAdd const &signal, ::NetherNet::SignalingChannelId, bool disableTrickleIce)
MCAPI bool ReadPacket (::NetherNet::NetworkID remoteId, uint64 connectionId, void *pubDest, uint cbDest, uint *pcbMessageSize)
MCAPI ::std::vector<::std::unique_ptr<::NetherNet::NetworkSession > > RemoveSession (::NetherNet::NetworkID remoteID, uint64 connectionId)
MCAPI bool SendPacket (::NetherNet::NetworkID networkIDRemote, uint64 connectionId, uchar const *data, uint64 size, ::NetherNet::ESendType type)
MCAPI ::NetherNet::ErrorOr< void, ::NetherNet::ESessionError > SendToSignalingChannel (::NetherNet::NetworkID networkIDTo, ::std::variant< ::NetherNet::ConnectRequest, ::NetherNet::ConnectResponse, ::NetherNet::ConnectError, ::NetherNet::CandidateAdd > const &signal, ::std::optional<::NetherNet::SignalingChannelId > preference)
virtual::NetherNet::RtcThreadManager const & getSignalThread () const
virtual::NetherNet::RtcThreadManager const & getNetworkThread () const
virtual::NetherNet::RtcThreadManager const & getWorkerThread () const
virtual::NetherNet::ILanDiscovery & getLanDiscovery ()
virtual void onSuspend ()
virtual void onResume ()
virtual::NetherNet::GlobalConfiguration const & getGlobalConfig () const
virtual void setLoggingLevel (::NetherNet::LogSeverity min)
virtual void _logMessage (::NetherNet::LogSeverity level, char const *fmt, char *args) const
MCAPI void $dtor ()
MCAPI::NetherNet::RtcThreadManager const & $getSignalThread () const
MCAPI::NetherNet::RtcThreadManager const & $getNetworkThread () const
MCAPI::NetherNet::RtcThreadManager const & $getWorkerThread () const
MCAPI::NetherNet::ILanDiscovery & $getLanDiscovery ()
MCAPI void $onSuspend ()
MCAPI void $onResume ()
MCAPI::NetherNet::GlobalConfiguration const & $getGlobalConfig () const
MCAPI void $setLoggingLevel (::NetherNet::LogSeverity min)
MCAPI void $_logMessage (::NetherNet::LogSeverity level, char const *fmt, char *args) const
MCAPI void logMessage (::NetherNet::LogSeverity, char const *,...) const
MCFOLD void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::UntypedStorage< 8, 80 > mUnk27e415
::ll::UntypedStorage< 8, 16 > mUnk98d923
::ll::UntypedStorage< 8, 8 > mUnk829b85
::ll::UntypedStorage< 8, 24 > mUnkaedcad
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ CloseInactiveSessionsOnSignalThread()

MCAPI void NetherNet::NetworkSessionManager::CloseInactiveSessionsOnSignalThread ( ::NetherNet::NetworkID remoteID,
::std::tuple< ::std::vector<::std::unique_ptr<::NetherNet::NetworkSession > > &, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & > const & list )
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.

◆ CloseSessionWithReason()

MCAPI bool NetherNet::NetworkSessionManager::CloseSessionWithReason ( ::NetherNet::NetworkID networkIDRemote,
uint64 connectionId,
::NetherNet::ESessionError reason )
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.

◆ FindOrCreateSpecificSession()

MCAPI ::gsl::not_null<::NetherNet::NetworkSession * > NetherNet::NetworkSessionManager::FindOrCreateSpecificSession ( ::NetherNet::NetworkID remoteId,
uint64 connectionId,
::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & sessionsLock,
bool disableTrickleIce )
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.

◆ GetSessionState()

MCAPI bool NetherNet::NetworkSessionManager::GetSessionState ( ::NetherNet::NetworkID peerId,
uint64 connectionId,
::NetherNet::SessionState * pConnectionState )
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.

◆ InitiateIncomingSession()

MCAPI::NetherNet::ESessionError NetherNet::NetworkSessionManager::InitiateIncomingSession ( ::NetherNet::NetworkID remoteID,
::NetherNet::ConnectRequest const & offer,
::NetherNet::SignalingChannelId source,
::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & sessionsLock,
bool disableTrickleIce )
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.

◆ InitiateOutgoingSession()

MCAPI::NetherNet::NetworkSession * NetherNet::NetworkSessionManager::InitiateOutgoingSession ( ::NetherNet::NetworkID remoteID,
::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const & sessionsLock,
bool disableTrickleIce )
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.

◆ IsPacketAvailable()

MCAPI bool NetherNet::NetworkSessionManager::IsPacketAvailable ( ::NetherNet::NetworkID remoteId,
uint64 connectionId,
uint * pcbMessageSize ) 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.

◆ NotifyOnSessionOpen()

MCAPI void NetherNet::NetworkSessionManager::NotifyOnSessionOpen ( ::NetherNet::NetworkID networkIDRemote,
uint64 connectionId )
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.

◆ PeriodicDeadSessionCleanupOnSignalThread()

MCAPI void NetherNet::NetworkSessionManager::PeriodicDeadSessionCleanupOnSignalThread ( )
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.

◆ ProcessError()

MCAPI void NetherNet::NetworkSessionManager::ProcessError ( ::NetherNet::NetworkID remoteID,
uint64 connectionId,
::NetherNet::ESessionError error )
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.

◆ ProcessSignal() [1/3]

MCAPI void NetherNet::NetworkSessionManager::ProcessSignal ( ::NetherNet::NetworkID remoteID,
::NetherNet::ConnectError const & error,
::NetherNet::SignalingChannelId ,
bool  ) 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.

◆ ProcessSignal() [2/3]

MCAPI void NetherNet::NetworkSessionManager::ProcessSignal ( ::NetherNet::NetworkID remoteID,
::NetherNet::ConnectResponse const & signal,
::NetherNet::SignalingChannelId ,
bool  ) 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.

◆ ProcessSignal() [3/3]

MCAPI void NetherNet::NetworkSessionManager::ProcessSignal ( ::NetherNet::NetworkID remoteID,
::NetherNet::CandidateAdd const & signal,
::NetherNet::SignalingChannelId ,
bool disableTrickleIce )
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.

◆ ReadPacket()

MCAPI bool NetherNet::NetworkSessionManager::ReadPacket ( ::NetherNet::NetworkID remoteId,
uint64 connectionId,
void * pubDest,
uint cbDest,
uint * pcbMessageSize )
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.

◆ RemoveSession()

MCAPI ::std::vector<::std::unique_ptr<::NetherNet::NetworkSession > > NetherNet::NetworkSessionManager::RemoveSession ( ::NetherNet::NetworkID remoteID,
uint64 connectionId )
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 bool NetherNet::NetworkSessionManager::SendPacket ( ::NetherNet::NetworkID networkIDRemote,
uint64 connectionId,
uchar const * data,
uint64 size,
::NetherNet::ESendType type )
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.

◆ SendToSignalingChannel()

MCAPI ::NetherNet::ErrorOr< void, ::NetherNet::ESessionError > NetherNet::NetworkSessionManager::SendToSignalingChannel ( ::NetherNet::NetworkID networkIDTo,
::std::variant< ::NetherNet::ConnectRequest, ::NetherNet::ConnectResponse, ::NetherNet::ConnectError, ::NetherNet::CandidateAdd > const & signal,
::std::optional<::NetherNet::SignalingChannelId > preference )
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()

MCAPI void ** NetherNet::NetworkSessionManager::$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.

◆ getSignalThread()

virtual::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::getSignalThread ( ) const
virtualinherited

Implements NetherNet::IContext.

◆ getNetworkThread()

virtual::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::getNetworkThread ( ) const
virtualinherited

Implements NetherNet::IContext.

◆ getWorkerThread()

virtual::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::getWorkerThread ( ) const
virtualinherited

Implements NetherNet::IContext.

◆ getLanDiscovery()

virtual::NetherNet::ILanDiscovery & NetherNet::ContextProxy::getLanDiscovery ( )
virtualinherited

Implements NetherNet::IContext.

◆ onSuspend()

virtual void NetherNet::ContextProxy::onSuspend ( )
virtualinherited

Implements NetherNet::IContext.

◆ onResume()

virtual void NetherNet::ContextProxy::onResume ( )
virtualinherited

Implements NetherNet::IContext.

◆ getGlobalConfig()

virtual::NetherNet::GlobalConfiguration const & NetherNet::ContextProxy::getGlobalConfig ( ) const
virtualinherited

Implements NetherNet::IContext.

◆ setLoggingLevel()

virtual void NetherNet::ContextProxy::setLoggingLevel ( ::NetherNet::LogSeverity min)
virtualinherited

Implements NetherNet::IContext.

◆ _logMessage()

virtual void NetherNet::ContextProxy::_logMessage ( ::NetherNet::LogSeverity level,
char const * fmt,
char * args ) const
virtualinherited

Implements NetherNet::IContext.

◆ $dtor()

MCAPI void NetherNet::ContextProxy::$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.

◆ $getSignalThread()

MCAPI::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::$getSignalThread ( ) 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.

◆ $getNetworkThread()

MCAPI::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::$getNetworkThread ( ) 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.

◆ $getWorkerThread()

MCAPI::NetherNet::RtcThreadManager const & NetherNet::ContextProxy::$getWorkerThread ( ) 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.

◆ $getLanDiscovery()

MCAPI::NetherNet::ILanDiscovery & NetherNet::ContextProxy::$getLanDiscovery ( )
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.

◆ $onSuspend()

MCAPI void NetherNet::ContextProxy::$onSuspend ( )
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.

◆ $onResume()

MCAPI void NetherNet::ContextProxy::$onResume ( )
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.

◆ $getGlobalConfig()

MCAPI::NetherNet::GlobalConfiguration const & NetherNet::ContextProxy::$getGlobalConfig ( ) 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.

◆ $setLoggingLevel()

MCAPI void NetherNet::ContextProxy::$setLoggingLevel ( ::NetherNet::LogSeverity min)
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.

◆ $_logMessage()

MCAPI void NetherNet::ContextProxy::$_logMessage ( ::NetherNet::LogSeverity level,
char const * fmt,
char * args ) 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.

◆ logMessage()

MCAPI void NetherNet::IContext::logMessage ( ::NetherNet::LogSeverity ,
char const * ,
... ) 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: