LeviLamina
Loading...
Searching...
No Matches
ServerNetherNetConnector Struct Reference
+ Inheritance diagram for ServerNetherNetConnector:

Public Types

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

Public Member Functions

virtual bool host (::ConnectionDefinition const &definition)
 
virtual void disconnect ()
 
virtual bool isServer () const
 
virtual bool OnSessionRequested (::NetherNet::NetworkID, uint64)
 
virtual void OnSessionOpen (::NetherNet::NetworkID networkID, uint64 sessionId)
 
MCAPI bool $host (::ConnectionDefinition const &definition)
 
MCAPI void $disconnect ()
 
MCAPI bool $isServer () const
 
MCAPI bool $OnSessionRequested (::NetherNet::NetworkID, uint64)
 
MCAPI void $OnSessionOpen (::NetherNet::NetworkID networkID, uint64 sessionId)
 
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 ::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 $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::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
 

Static Public Member Functions

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

Member Function Documentation

◆ host()

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

Reimplemented from NetherNetConnector.

◆ disconnect()

virtual void ServerNetherNetConnector::disconnect ( )
virtual

Implements RemoteConnector.

◆ isServer()

virtual bool ServerNetherNetConnector::isServer ( ) const
virtual

Implements RemoteConnector.

◆ OnSessionRequested()

virtual bool ServerNetherNetConnector::OnSessionRequested ( ::NetherNet::NetworkID ,
uint64  )
virtual

◆ OnSessionOpen()

virtual void ServerNetherNetConnector::OnSessionOpen ( ::NetherNet::NetworkID networkID,
uint64 sessionId )
virtual

◆ $host()

MCAPI bool ServerNetherNetConnector::$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.

◆ $disconnect()

MCAPI void ServerNetherNetConnector::$disconnect ( )
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.

◆ $isServer()

MCAPI bool ServerNetherNetConnector::$isServer ( ) 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.

◆ $OnSessionRequested()

MCAPI bool ServerNetherNetConnector::$OnSessionRequested ( ::NetherNet::NetworkID ,
uint64  )
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.

◆ $OnSessionOpen()

MCAPI void ServerNetherNetConnector::$OnSessionOpen ( ::NetherNet::NetworkID networkID,
uint64 sessionId )
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 ** ServerNetherNetConnector::$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.

◆ $vftableForNetworkEnableDisableListener()

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

◆ $vftable()

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

◆ connect()

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

Implements RemoteConnector.

◆ tick()

virtual void NetherNetConnector::tick ( )
virtualinherited

Implements RemoteConnector.

◆ runEvents()

virtual void NetherNetConnector::runEvents ( )
virtualinherited

Implements RemoteConnector.

◆ getNetworkIdentifier()

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

Implements RemoteConnector.

◆ closeNetworkConnection()

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

Implements RemoteConnector.

◆ setApplicationHandshakeCompleted()

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

Implements RemoteConnector.

◆ _onDisable()

virtual void NetherNetConnector::_onDisable ( )
virtualinherited

◆ _onEnable()

virtual void NetherNetConnector::_onEnable ( )
virtualinherited

◆ OnSpopViolation()

virtual void NetherNetConnector::OnSpopViolation ( )
virtualinherited

◆ OnSessionClose()

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

◆ OnBroadcastResponseReceived()

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

◆ OnBroadcastDiscoveryRequestReceivedGetResponse()

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

◆ OnSessionGetConnectionFlags()

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

◆ _getOrCreatePeer()

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

◆ _prepareForNewSession()

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

◆ setBroadcastRequestCallback()

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

◆ setBroadcastResponseCallback()

MCAPI void NetherNetConnector::setBroadcastResponseCallback ( ::std::function< void(::NetherNet::NetworkID const &, void const *, int)> && broadcastResponseCallback)
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.

◆ $ctor()

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

◆ $dtor()

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

◆ $connect()

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

◆ $tick()

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

◆ $runEvents()

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

◆ $getNetworkIdentifier()

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

◆ $closeNetworkConnection()

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

◆ $setApplicationHandshakeCompleted()

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

◆ $getNetworkType()

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

◆ $_onDisable()

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

◆ $_onEnable()

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

◆ $OnSpopViolation()

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

◆ $OnSessionClose()

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

◆ $OnBroadcastResponseReceived()

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

◆ $OnBroadcastDiscoveryRequestReceivedGetResponse()

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

◆ $OnSessionGetConnectionFlags()

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

◆ $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: