API Reference
On this page
Classes | |
| struct | ConnectionCallbacks |
| struct | PingCallbackData |
| class | RakNetNetworkPeer |
Public Types | |
| enum class | State : int { Enabled = 0 , Disabled = 1 , Uninitialized = 2 } |
Public Member Functions | |
| RakNetConnector & | operator= (RakNetConnector const &) |
| RakNetConnector (RakNetConnector const &) | |
| virtual bool | host (::ConnectionDefinition const &definition, ::PrivateKeyManager const &) |
| virtual bool | connect (::Social::GameConnectionInfo const &primaryConnection, ::Social::GameConnectionInfo const &backupConnection, ::std::shared_ptr<::NetherNet::IIdentityAssertionGenerator >) |
| 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 void | setConnectedResolvedExperienceInfo (::std::optional<::Social::ResolvedExperienceInfo > const &resolvedExperienceInfo) |
| 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 | _onDisable () |
| virtual void | _onEnable () |
| MCAPI bool | getStatistics (::RakNet::RakNetStatistics &rns) |
| MCAPI bool | $host (::ConnectionDefinition const &definition, ::PrivateKeyManager const &) |
| MCAPI bool | $connect (::Social::GameConnectionInfo const &primaryConnection, ::Social::GameConnectionInfo const &backupConnection, ::std::shared_ptr<::NetherNet::IIdentityAssertionGenerator >) |
| 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 void | $setConnectedResolvedExperienceInfo (::std::optional<::Social::ResolvedExperienceInfo > const &resolvedExperienceInfo) |
| MCAPI bool | $isIPv4Supported () const |
| MCAPI bool | $isIPv6Supported () const |
| MCAPI ushort | $getIPv4Port () const |
| MCAPI ushort | $getIPv6Port () const |
| MCAPI::NetworkIdentifier | $getNetworkIdentifier () const |
| MCAPI::RakNet::RakPeerInterface * | $getPeer () |
| MCAPI::RakNet::RakPeerInterface const * | $getPeer () const |
| MCAPI::TransportLayer | $getNetworkType () const |
| MCAPI void | $setDisableLanSignaling (bool) |
| MCAPI void | $_onDisable () |
| MCAPI void | $_onEnable () |
| MCAPI void * | $ctor (::Connector::ConnectionCallbacks &callbacks, ::brstd::copyable_function< bool() const > isNetworkAllowed) |
| MCAPI void | $dtor () |
Static Public Member Functions | |
| static MCAPI void ** | $vftableForConnector () |
| static MCAPI void ** | $vftableForEnableNonOwnerReferences () |
| static MCAPI void ** | $vftableForNetworkEnableDisableListener () |
| static MCAPI void ** | $vftable () |
| static MCAPI void ** | $vftable () |
| static MCAPI void ** | $vftable () |
Public Attributes | |
| ::ll::TypedStorage< 8, 176, ::NetworkIdentifier > | mNATPunchServerId |
| ::ll::TypedStorage< 8, 752, ::Social::GameConnectionInfo > | mBackupGameConnection |
| ::ll::TypedStorage< 1, 1, bool > | mTryBackupConnection |
| ::ll::TypedStorage< 8, 16, ::std::unique_ptr<::RakNet::RakPeerInterface, void(*)(::RakNet::RakPeerInterface *)> > | mRakPeer |
| ::ll::TypedStorage< 8, 176, ::NetworkIdentifier > | mServerId |
| ::ll::TypedStorage< 8, 24, ::RakPeerHelper > | mPeerHelper |
| ::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, 752, ::Social::GameConnectionInfo > | mConnectedGameInfo |
| ::ll::TypedStorage< 8, 64, ::std::unordered_map<::NetworkIdentifier, ::std::weak_ptr<::RakNetConnector::RakNetNetworkPeer > > > | mPeers |
| ::ll::TypedStorage< 1, 1, bool > | mWasHostWhenSuspended |
| ::ll::TypedStorage< 4, 20, ::ConnectionDefinition > | mPreviousConnectionDefinition |
| ::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, 64 > | mUnk9364d1 |
| ::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > | mControlBlock |
|
virtual |
Implements RemoteConnector.
|
virtual |
Implements RemoteConnector.
|
virtual |
Implements RemoteConnector.
|
virtual |
Implements RemoteConnector.
|
virtual |
Implements RemoteConnector.
|
virtual |
Implements RemoteConnector.
|
virtual |
Implements RemoteConnector.
|
virtual |
Implements RemoteConnector.
|
virtual |
Reimplemented from Connector.
|
virtual |
Reimplemented from Connector.
|
virtual |
Reimplemented from Connector.
|
virtual |
Reimplemented from Connector.
|
virtual |
Reimplemented from Connector.
|
virtual |
Reimplemented from Connector.
|
virtual |
Implements RemoteConnector.
|
virtual |
Implements RemoteConnector.
|
virtual |
Implements NetworkEnableDisableListener.
|
virtual |
Implements NetworkEnableDisableListener.
| MCAPI bool RakNetConnector::getStatistics | ( | ::RakNet::RakNetStatistics & | rns | ) |
| MCAPI bool RakNetConnector::$host | ( | ::ConnectionDefinition const & | definition, |
| ::PrivateKeyManager const & | ) |
| MCAPI bool RakNetConnector::$connect | ( | ::Social::GameConnectionInfo const & | primaryConnection, |
| ::Social::GameConnectionInfo const & | backupConnection, | ||
| ::std::shared_ptr<::NetherNet::IIdentityAssertionGenerator > | ) |
| MCAPI void RakNetConnector::$disconnect | ( | ) |
| MCAPI void RakNetConnector::$tick | ( | ) |
| MCAPI void RakNetConnector::$runEvents | ( | ) |
| MCAPI void RakNetConnector::$closeNetworkConnection | ( | ::NetworkIdentifier const & | id | ) |
| MCAPI bool RakNetConnector::$setApplicationHandshakeCompleted | ( | ::NetworkIdentifier const & | id | ) |
| MCAPI bool RakNetConnector::$isServer | ( | ) | const |
| MCAPI::std::string RakNetConnector::$getLocalIp | ( | ) |
| MCAPI ushort RakNetConnector::$getPort | ( | ) | const |
| MCAPI::Social::GameConnectionInfo const & RakNetConnector::$getConnectedGameInfo | ( | ) | const |
| MCAPI void RakNetConnector::$setConnectedResolvedExperienceInfo | ( | ::std::optional<::Social::ResolvedExperienceInfo > const & | resolvedExperienceInfo | ) |
| MCAPI bool RakNetConnector::$isIPv4Supported | ( | ) | const |
| MCAPI bool RakNetConnector::$isIPv6Supported | ( | ) | const |
| MCAPI ushort RakNetConnector::$getIPv4Port | ( | ) | const |
| MCAPI ushort RakNetConnector::$getIPv6Port | ( | ) | const |
| MCAPI::NetworkIdentifier RakNetConnector::$getNetworkIdentifier | ( | ) | const |
| MCAPI::RakNet::RakPeerInterface * RakNetConnector::$getPeer | ( | ) |
| MCAPI::RakNet::RakPeerInterface const * RakNetConnector::$getPeer | ( | ) | const |
| MCAPI::TransportLayer RakNetConnector::$getNetworkType | ( | ) | const |
| MCAPI void RakNetConnector::$setDisableLanSignaling | ( | bool | ) |
| MCAPI void RakNetConnector::$_onDisable | ( | ) |
| MCAPI void RakNetConnector::$_onEnable | ( | ) |
|
inherited |
|
inherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |