LeviLamina
Loading...
Searching...
No Matches
NetherNetConnector Struct Referenceabstract
+ Inheritance diagram for NetherNetConnector:

Classes

struct  DisconnectEvent
 
struct  NewIncomingConnectionEvent
 
struct  NewOutgoingConnectionEvent
 

Public Types

enum class  State : int { Enabled = 0 , Disabled = 1 , Uninitialized = 2 }
 

Public Member Functions

NetherNetConnectoroperator= (NetherNetConnector const &)
 
 NetherNetConnector (NetherNetConnector const &)
 
virtual bool host (::ConnectionDefinition const &definition)
 
virtual bool connect (::Social::GameConnectionInfo const &, ::Social::GameConnectionInfo const &)
 
virtual void tick ()
 
virtual void runEvents ()
 
virtual::NetworkIdentifier getNetworkIdentifier () const
 
virtual void closeNetworkConnection (::NetworkIdentifier const &)
 
virtual bool setApplicationHandshakeCompleted (::NetworkIdentifier const &)
 
virtual::TransportLayer getNetworkType () const
 
virtual void _onDisable ()
 
virtual void _onEnable ()
 
virtual void OnSpopViolation ()
 
virtual void OnSessionClose (::NetherNet::NetworkID networkID, uint64 sessionId, ::NetherNet::ESessionError sessionError)
 
virtual void OnBroadcastResponseReceived (::NetherNet::NetworkID networkID, void const *pApplicationData, int size)
 
virtual bool OnBroadcastDiscoveryRequestReceivedGetResponse (void *pApplicationData, int *pSize)
 
virtual void OnSessionGetConnectionFlags (::NetherNet::NetworkID, uint *flags)
 
MCAPI NetherNetConnector (::NetherNetTransportFactory const &factory, ::Connector::ConnectionCallbacks &callbacks, ::std::optional<::NetherNet::NetworkID > networkId)
 
MCAPI ::gsl::not_null<::std::shared_ptr<::WebRTCNetworkPeer > > _getOrCreatePeer (::NetherNet::NetworkID const &remoteId, uint64 sessionId, ::Bedrock::Threading::UniqueLock<::std::recursive_mutex > const &)
 
MCAPI void _prepareForNewSession ()
 
MCAPI void setBroadcastRequestCallback (::std::function< bool(void *, int *)> &&broadcastRequestCallback)
 
MCAPI void setBroadcastResponseCallback (::std::function< void(::NetherNet::NetworkID const &, void const *, int)> &&broadcastResponseCallback)
 
MCAPI void * $ctor (::NetherNetTransportFactory const &factory, ::Connector::ConnectionCallbacks &callbacks, ::std::optional<::NetherNet::NetworkID > networkId)
 
MCAPI void $dtor ()
 
MCAPI bool $host (::ConnectionDefinition const &definition)
 
MCAPI bool $connect (::Social::GameConnectionInfo const &, ::Social::GameConnectionInfo const &)
 
MCAPI void $tick ()
 
MCAPI void $runEvents ()
 
MCAPI::NetworkIdentifier $getNetworkIdentifier () const
 
MCAPI void $closeNetworkConnection (::NetworkIdentifier const &)
 
MCAPI bool $setApplicationHandshakeCompleted (::NetworkIdentifier const &)
 
MCAPI::TransportLayer $getNetworkType () const
 
MCAPI void $_onDisable ()
 
MCAPI void $_onEnable ()
 
MCAPI void $OnSpopViolation ()
 
MCAPI void $OnSessionClose (::NetherNet::NetworkID networkID, uint64 sessionId, ::NetherNet::ESessionError sessionError)
 
MCAPI void $OnBroadcastResponseReceived (::NetherNet::NetworkID networkID, void const *pApplicationData, int size)
 
MCAPI bool $OnBroadcastDiscoveryRequestReceivedGetResponse (void *pApplicationData, int *pSize)
 
MCAPI void $OnSessionGetConnectionFlags (::NetherNet::NetworkID, uint *flags)
 
virtual void disconnect ()=0
 
virtual bool isServer () const =0
 
virtual::std::string getLocalIp ()
 
virtual ushort getPort () const
 
virtual::Social::GameConnectionInfo const & getConnectedGameInfo () const
 
virtual bool isIPv4Supported () const
 
virtual bool isIPv6Supported () const
 
virtual ushort getIPv4Port () const
 
virtual ushort getIPv6Port () const
 
MCAPI::std::string $getLocalIp ()
 
MCAPI ushort $getPort () const
 
MCAPI::Social::GameConnectionInfo const & $getConnectedGameInfo () const
 
MCAPI bool $isIPv4Supported () const
 
MCAPI bool $isIPv6Supported () const
 
MCAPI ushort $getIPv4Port () const
 
MCAPI ushort $getIPv6Port () const
 
virtual bool OnSessionRequested (::NetherNet::NetworkID, uint64)=0
 
virtual void OnSessionOpen (::NetherNet::NetworkID, uint64)=0
 

Static Public Member Functions

static MCAPI void ** $vftableForNetworkEnableDisableListener ()
 
static MCAPI void ** $vftableForEnableNonOwnerReferences ()
 
static MCAPI void ** $vftable ()
 
static MCAPI void ** $vftableForConnector ()
 

Public Attributes

::ll::UntypedStorage< 8, 16 > mUnk1bd5e8
 
::ll::UntypedStorage< 8, 24 > mUnk2e641f
 
::ll::UntypedStorage< 8, 72 > mUnkdab955
 
::ll::UntypedStorage< 8, 80 > mUnka70516
 
::ll::UntypedStorage< 8, 64 > mUnke5eec7
 
::ll::UntypedStorage< 8, 64 > mUnkb0750a
 
::ll::UntypedStorage< 8, 80 > mUnk76f98d
 
::ll::UntypedStorage< 8, 8 > mUnk3e1ced
 
::ll::UntypedStorage< 8, 24 > mUnk3a81cd
 
::ll::UntypedStorage< 8, 8 > mUnkf38309
 
::ll::UntypedStorage< 4, 4 > mUnkaf3b65
 
::ll::UntypedStorage< 8, 24 > mUnk1d223d
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 

Constructor & Destructor Documentation

◆ NetherNetConnector()

MCAPI NetherNetConnector::NetherNetConnector ( ::NetherNetTransportFactory const & factory,
::Connector::ConnectionCallbacks & callbacks,
::std::optional<::NetherNet::NetworkID > networkId )
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

◆ host()

virtual bool NetherNetConnector::host ( ::ConnectionDefinition const & definition)
virtual

Implements RemoteConnector.

◆ connect()

virtual bool NetherNetConnector::connect ( ::Social::GameConnectionInfo const & ,
::Social::GameConnectionInfo const &  )
virtual

Implements RemoteConnector.

◆ tick()

virtual void NetherNetConnector::tick ( )
virtual

Implements RemoteConnector.

◆ runEvents()

virtual void NetherNetConnector::runEvents ( )
virtual

Implements RemoteConnector.

◆ getNetworkIdentifier()

virtual::NetworkIdentifier NetherNetConnector::getNetworkIdentifier ( ) const
virtual

Implements RemoteConnector.

◆ closeNetworkConnection()

virtual void NetherNetConnector::closeNetworkConnection ( ::NetworkIdentifier const & )
virtual

Implements RemoteConnector.

◆ setApplicationHandshakeCompleted()

virtual bool NetherNetConnector::setApplicationHandshakeCompleted ( ::NetworkIdentifier const & )
virtual

Implements RemoteConnector.

◆ _onDisable()

virtual void NetherNetConnector::_onDisable ( )
virtual

◆ _onEnable()

virtual void NetherNetConnector::_onEnable ( )
virtual

◆ OnSpopViolation()

virtual void NetherNetConnector::OnSpopViolation ( )
virtual

◆ OnSessionClose()

virtual void NetherNetConnector::OnSessionClose ( ::NetherNet::NetworkID networkID,
uint64 sessionId,
::NetherNet::ESessionError sessionError )
virtual

◆ OnBroadcastResponseReceived()

virtual void NetherNetConnector::OnBroadcastResponseReceived ( ::NetherNet::NetworkID networkID,
void const * pApplicationData,
int size )
virtual

◆ OnBroadcastDiscoveryRequestReceivedGetResponse()

virtual bool NetherNetConnector::OnBroadcastDiscoveryRequestReceivedGetResponse ( void * pApplicationData,
int * pSize )
virtual

◆ OnSessionGetConnectionFlags()

virtual void NetherNetConnector::OnSessionGetConnectionFlags ( ::NetherNet::NetworkID ,
uint * flags )
virtual

◆ _getOrCreatePeer()

MCAPI ::gsl::not_null<::std::shared_ptr<::WebRTCNetworkPeer > > NetherNetConnector::_getOrCreatePeer ( ::NetherNet::NetworkID const & remoteId,
uint64 sessionId,
::Bedrock::Threading::UniqueLock<::std::recursive_mutex > 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.

◆ _prepareForNewSession()

MCAPI void NetherNetConnector::_prepareForNewSession ( )
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.

◆ setBroadcastRequestCallback()

MCAPI void NetherNetConnector::setBroadcastRequestCallback ( ::std::function< bool(void *, int *)> && broadcastRequestCallback)
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.

◆ setBroadcastResponseCallback()

MCAPI void NetherNetConnector::setBroadcastResponseCallback ( ::std::function< void(::NetherNet::NetworkID const &, void const *, int)> && broadcastResponseCallback)
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 * NetherNetConnector::$ctor ( ::NetherNetTransportFactory const & factory,
::Connector::ConnectionCallbacks & callbacks,
::std::optional<::NetherNet::NetworkID > networkId )
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 NetherNetConnector::$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.

◆ $host()

MCAPI bool NetherNetConnector::$host ( ::ConnectionDefinition const & definition)
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.

◆ $connect()

MCAPI bool NetherNetConnector::$connect ( ::Social::GameConnectionInfo const & ,
::Social::GameConnectionInfo 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.

◆ $tick()

MCAPI void NetherNetConnector::$tick ( )
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.

◆ $runEvents()

MCAPI void NetherNetConnector::$runEvents ( )
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.

◆ $getNetworkIdentifier()

MCAPI::NetworkIdentifier NetherNetConnector::$getNetworkIdentifier ( ) 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.

◆ $closeNetworkConnection()

MCAPI void NetherNetConnector::$closeNetworkConnection ( ::NetworkIdentifier 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.

◆ $setApplicationHandshakeCompleted()

MCAPI bool NetherNetConnector::$setApplicationHandshakeCompleted ( ::NetworkIdentifier 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.

◆ $getNetworkType()

MCAPI::TransportLayer NetherNetConnector::$getNetworkType ( ) 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.

◆ $_onDisable()

MCAPI void NetherNetConnector::$_onDisable ( )
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.

◆ $_onEnable()

MCAPI void NetherNetConnector::$_onEnable ( )
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.

◆ $OnSpopViolation()

MCAPI void NetherNetConnector::$OnSpopViolation ( )
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.

◆ $OnSessionClose()

MCAPI void NetherNetConnector::$OnSessionClose ( ::NetherNet::NetworkID networkID,
uint64 sessionId,
::NetherNet::ESessionError sessionError )
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.

◆ $OnBroadcastResponseReceived()

MCAPI void NetherNetConnector::$OnBroadcastResponseReceived ( ::NetherNet::NetworkID networkID,
void const * pApplicationData,
int size )
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.

◆ $OnBroadcastDiscoveryRequestReceivedGetResponse()

MCAPI bool NetherNetConnector::$OnBroadcastDiscoveryRequestReceivedGetResponse ( void * pApplicationData,
int * pSize )
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.

◆ $OnSessionGetConnectionFlags()

MCAPI void NetherNetConnector::$OnSessionGetConnectionFlags ( ::NetherNet::NetworkID ,
uint * flags )
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.

◆ $vftableForNetworkEnableDisableListener()

static MCAPI void ** NetherNetConnector::$vftableForNetworkEnableDisableListener ( )
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.

◆ $vftableForEnableNonOwnerReferences()

static MCAPI void ** NetherNetConnector::$vftableForEnableNonOwnerReferences ( )
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.

◆ $vftable()

static MCAPI void ** NetherNetConnector::$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.

◆ $vftableForConnector()

static MCAPI void ** NetherNetConnector::$vftableForConnector ( )
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.

◆ $getLocalIp()

MCAPI::std::string Connector::$getLocalIp ( )
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.

◆ $getPort()

MCAPI ushort Connector::$getPort ( ) 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.

◆ $getConnectedGameInfo()

MCAPI::Social::GameConnectionInfo const & Connector::$getConnectedGameInfo ( ) 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.

◆ $isIPv4Supported()

MCAPI bool Connector::$isIPv4Supported ( ) 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.

◆ $isIPv6Supported()

MCAPI bool Connector::$isIPv6Supported ( ) 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.

◆ $getIPv4Port()

MCAPI ushort Connector::$getIPv4Port ( ) 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.

◆ $getIPv6Port()

MCAPI ushort Connector::$getIPv6Port ( ) 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 struct was generated from the following file: