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

Classes

struct  ConnectionCallbacks
struct  PingCallbackData
class  RakNetNetworkPeer

Public Types

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

Public Member Functions

RakNetConnectoroperator= (RakNetConnector const &)
 RakNetConnector (RakNetConnector const &)
virtual bool host (::ConnectionDefinition const &definition)
virtual bool connect (::Social::GameConnectionInfo const &gameConnection, ::Social::GameConnectionInfo const &backupConnection)
virtual void disconnect ()
virtual void tick ()
virtual void runEvents ()
virtual void closeNetworkConnection (::NetworkIdentifier const &id)
virtual bool setApplicationHandshakeCompleted (::NetworkIdentifier const &id)
virtual bool isServer () const
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
virtual::NetworkIdentifier getNetworkIdentifier () const
virtual::RakNet::RakPeerInterface * getPeer ()
virtual::RakNet::RakPeerInterface const * getPeer () const
virtual::TransportLayer getNetworkType () const
virtual void setDisableLanSignaling (bool)
virtual void setDisableTrickleIce (bool)
virtual void _onDisable ()
virtual void _onEnable ()
MCAPI RakNetConnector (::RakNetConnector::ConnectionCallbacks &callbacks, ::RakPeerHelper::IPSupportInterface &ipInterface, ::Bedrock::NonOwnerPointer<::AppPlatform > const &appPlatform, ::RakNet::RakPeerConfiguration const &rakPeerConfig)
MCAPI ::std::shared_ptr<::RakNetConnector::RakNetNetworkPeer_createPeer (::NetworkIdentifier const &id)
MCAPI ::std::vector<::std::string > _getLocalIps () const
MCAPI ::std::vector<::RakNet::SystemAddress_getRefinedLocalIps () const
MCAPI void _storeLocalIP ()
MCAPI_C void getPingTimeForConnection (::std::string const &address, int port, ::std::function< void(uint)> pingTimeCallback)
MCAPI bool getStatistics (::RakNet::RakNetStatistics &rns)
MCAPI void * $ctor (::RakNetConnector::ConnectionCallbacks &callbacks, ::RakPeerHelper::IPSupportInterface &ipInterface, ::Bedrock::NonOwnerPointer<::AppPlatform > const &appPlatform, ::RakNet::RakPeerConfiguration const &rakPeerConfig)
MCAPI void $dtor ()
MCAPI bool $host (::ConnectionDefinition const &definition)
MCAPI bool $connect (::Social::GameConnectionInfo const &gameConnection, ::Social::GameConnectionInfo const &backupConnection)
MCAPI void $disconnect ()
MCAPI void $tick ()
MCAPI void $runEvents ()
MCAPI void $closeNetworkConnection (::NetworkIdentifier const &id)
MCAPI bool $setApplicationHandshakeCompleted (::NetworkIdentifier const &id)
MCAPI bool $isServer () 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
MCAPI::NetworkIdentifier $getNetworkIdentifier () const
MCFOLD::RakNet::RakPeerInterface * $getPeer ()
MCFOLD::RakNet::RakPeerInterface const * $getPeer () const
MCFOLD void $setDisableLanSignaling (bool)
MCFOLD void $setDisableTrickleIce (bool)
MCAPI void $_onDisable ()
MCAPI void $_onEnable ()
MCFOLD void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)

Static Public Member Functions

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

Public Attributes

::ll::TypedStorage< 8, 176, ::NetworkIdentifiermNATPunchServerId
::ll::TypedStorage< 8, 472, ::Social::GameConnectionInfomBackupGameConnection
::ll::TypedStorage< 1, 1, bool > mTryBackupConnection
::ll::TypedStorage< 8, 16, ::std::unique_ptr<::RakNet::RakPeerInterface, void(*)(::RakNet::RakPeerInterface *)> > mRakPeer
::ll::TypedStorage< 8, 176, ::NetworkIdentifiermServerId
::ll::TypedStorage< 8, 24, ::RakPeerHelpermPeerHelper
::ll::TypedStorage< 8, 8, ::RakPeerHelper::IPSupportInterface & > mIPSupportInterface
::ll::TypedStorage< 1, 1, bool > mIsAwaitingNatClient
::ll::TypedStorage< 1, 1, bool > mIsServer
::ll::TypedStorage< 1, 1, bool > mIsDisconnecting
::ll::TypedStorage< 1, 1, bool > mConnectingToClient
::ll::TypedStorage< 8, 472, ::Social::GameConnectionInfomConnectedGameInfo
::ll::TypedStorage< 8, 64, ::std::unordered_map<::NetworkIdentifier, ::std::weak_ptr<::RakNetConnector::RakNetNetworkPeer > > > mPeers
::ll::TypedStorage< 1, 1, bool > mWasHostWhenSuspended
::ll::TypedStorage< 4, 20, ::ConnectionDefinitionmPreviousConnectionDefinition
::ll::TypedStorage< 8, 32, ::std::string > mResolvedIP
::ll::TypedStorage< 8, 24, ::std::vector<::RakNetConnector::PingCallbackData > > mPingTimeCallbacks
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::MPMCQueue<::std::function< void()> > > > mOwnedThreadWork
::ll::TypedStorage< 8, 8, ::Connector::ConnectionCallbacks & > mCallbacks
::ll::UntypedStorage< 4, 4 > mUnkaf3b65
::ll::UntypedStorage< 8, 24 > mUnk1d223d
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ host()

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

Implements RemoteConnector.

◆ connect()

virtual bool RakNetConnector::connect ( ::Social::GameConnectionInfo const & gameConnection,
::Social::GameConnectionInfo const & backupConnection )
virtual

Implements RemoteConnector.

◆ disconnect()

virtual void RakNetConnector::disconnect ( )
virtual

Implements RemoteConnector.

◆ tick()

virtual void RakNetConnector::tick ( )
virtual

Implements RemoteConnector.

◆ runEvents()

virtual void RakNetConnector::runEvents ( )
virtual

Implements RemoteConnector.

◆ closeNetworkConnection()

virtual void RakNetConnector::closeNetworkConnection ( ::NetworkIdentifier const & id)
virtual

Implements RemoteConnector.

◆ setApplicationHandshakeCompleted()

virtual bool RakNetConnector::setApplicationHandshakeCompleted ( ::NetworkIdentifier const & id)
virtual

Implements RemoteConnector.

◆ isServer()

virtual bool RakNetConnector::isServer ( ) const
virtual

Implements RemoteConnector.

◆ getPort()

virtual ushort RakNetConnector::getPort ( ) const
virtual

Reimplemented from Connector.

◆ isIPv4Supported()

virtual bool RakNetConnector::isIPv4Supported ( ) const
virtual

Reimplemented from Connector.

◆ isIPv6Supported()

virtual bool RakNetConnector::isIPv6Supported ( ) const
virtual

Reimplemented from Connector.

◆ getIPv4Port()

virtual ushort RakNetConnector::getIPv4Port ( ) const
virtual

Reimplemented from Connector.

◆ getIPv6Port()

virtual ushort RakNetConnector::getIPv6Port ( ) const
virtual

Reimplemented from Connector.

◆ getNetworkIdentifier()

virtual::NetworkIdentifier RakNetConnector::getNetworkIdentifier ( ) const
virtual

Implements RemoteConnector.

◆ setDisableLanSignaling()

virtual void RakNetConnector::setDisableLanSignaling ( bool )
virtual

Implements RemoteConnector.

◆ setDisableTrickleIce()

virtual void RakNetConnector::setDisableTrickleIce ( bool )
virtual

Implements RemoteConnector.

◆ _onDisable()

virtual void RakNetConnector::_onDisable ( )
virtual

◆ _onEnable()

virtual void RakNetConnector::_onEnable ( )
virtual

◆ $vftableForConnector()

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

◆ $vftableForNetworkEnableDisableListener()

MCAPI void ** RakNetConnector::$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()

MCAPI void ** RakNetConnector::$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() [1/3]

MCAPI void ** Connector::$vftable ( )
staticinherited
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() [2/3]

MCAPI void ** NetworkEnableDisableListener::$vftable ( )
staticinherited
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() [3/3]

MCAPI void ** Bedrock::EnableNonOwnerReferences::$vftable ( )
staticinherited
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: