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

Public Types

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

Public Member Functions

virtual::Social::GameConnectionInfo const & getConnectionInfo () const
 
MCAPI ::std::optional<::NetworkIdentifiertryGetLocalNetworkId () const
 
MCAPI ::std::optional<::NetworkIdentifiertryGetServerId () const
 
MCFOLD void $dtor ()
 
virtual bool useIPv4Only () const
 
virtual bool useIPv6Only () const
 
virtual ushort getDefaultGamePort () const
 
virtual ushort getDefaultGamePortv6 () const
 
virtual void _onDisable ()
 
virtual void _onEnable ()
 
virtual bool onNewIncomingConnection (::NetworkIdentifier const &id, ::std::shared_ptr<::NetworkPeer > &&peer)
 
virtual bool onNewOutgoingConnection (::NetworkIdentifier const &id, ::std::shared_ptr<::NetworkPeer > &&peer)
 
virtual void onConnectionClosed (::NetworkIdentifier const &id, ::Connection::DisconnectFailReason const discoReason, ::std::string const &reasonMessage, bool skipDisconnectMessage)
 
virtual void onAllConnectionsClosed (::Connection::DisconnectFailReason, ::std::string const &, bool)
 
virtual void onAllRemoteConnectionsClosed (::Connection::DisconnectFailReason, ::std::string const &, bool)
 
virtual void onOutgoingConnectionFailed (::Connection::DisconnectFailReason discoReason, ::std::string const &reasonMessage)
 
virtual void onWebsocketRequest (::std::string const &serverAddress, ::std::string const &payload, ::std::function< void()> errorCallback)
 
MCAPI bool _isUsingNetherNetTransportLayer () const
 
MCAPI void _sendInternal (::NetworkIdentifier const &id, ::Packet const &packet, ::std::string const &data)
 
MCAPI bool _sortAndPacketizeEvents (::NetworkConnection &connection, ::std::chrono::steady_clock::time_point endTime)
 
MCAPI void disconnect ()
 
MCAPI void enableAsyncFlush (::NetworkIdentifier const &id)
 
MCAPI::NetworkPeer * getPeerForUser (::NetworkIdentifier const &id)
 
MCAPI ::Bedrock::NotNullNonOwnerPtr<::RemoteConnectorgetRemoteConnector ()
 
MCAPI bool isServer () const
 
MCAPI void runEvents (bool networkIsCritical)
 
MCAPI void send (::NetworkIdentifier const &id, ::Packet const &packet, ::SubClientId recipientSubId)
 
MCAPI void sendToMultiple (::std::vector<::NetworkIdentifierWithSubId > const &ids, ::Packet const &packet)
 
MCAPI void setDevConnectionQuality (::DevConnectionQuality quality)
 
MCAPI void update (::std::vector<::WeakEntityRef > const *userList)
 
MCAPI void * $ctor (::NetworkSystem::Dependencies &&deps)
 
MCAPI void $dtor ()
 
MCFOLD bool $useIPv4Only () const
 
MCAPI bool $useIPv6Only () const
 
MCAPI ushort $getDefaultGamePort () const
 
MCAPI ushort $getDefaultGamePortv6 () const
 
MCAPI void $_onDisable ()
 
MCAPI void $_onEnable ()
 
MCAPI bool $onNewIncomingConnection (::NetworkIdentifier const &id, ::std::shared_ptr<::NetworkPeer > &&peer)
 
MCAPI bool $onNewOutgoingConnection (::NetworkIdentifier const &id, ::std::shared_ptr<::NetworkPeer > &&peer)
 
MCAPI void $onConnectionClosed (::NetworkIdentifier const &id, ::Connection::DisconnectFailReason const discoReason, ::std::string const &reasonMessage, bool skipDisconnectMessage)
 
MCAPI void $onOutgoingConnectionFailed (::Connection::DisconnectFailReason discoReason, ::std::string const &reasonMessage)
 
MCAPI void $onWebsocketRequest (::std::string const &serverAddress, ::std::string const &payload, ::std::function< void()> errorCallback)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 
static MCAPI void ** $vftableForConnectionCallbacks ()
 
static MCAPI void ** $vftableForIPSupportInterface ()
 
static MCAPI void ** $vftableForNetworkEnableDisableListener ()
 
static MCAPI void ** $vftable ()
 
static MCAPI void ** $vftable ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 336, ::TaskGroupmTaskGroup
 
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmUserLoggingSub
 
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmUserConnectionQualitySub
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner > > mNetworkSessionOwner
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::NetworkConnection > > > mConnections
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::LocalConnector > > mLocalConnector
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::RemoteConnector > > mRemoteConnector
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ServerLocator > > mServerLocator
 
::ll::TypedStorage< 8, 80, ::std::recursive_mutex > mConnectionsMutex
 
::ll::TypedStorage< 8, 8, uint64 > mCurrentConnection
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > > mReceiveTask
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mReceiveTaskGroup
 
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::IPacketObserver > > mPacketObserver
 
::ll::TypedStorage< 8, 8, ::Scheduler & > mMainThread
 
::ll::TypedStorage< 8, 32, ::std::string > mReceiveBuffer
 
::ll::TypedStorage< 8, 32, ::std::string > mSendBuffer
 
::ll::TypedStorage< 8, 80, ::BinaryStreammSendStream
 
::ll::TypedStorage< 8, 32, ::std::unique_ptr<::NetworkSystem::IncomingPacketQueue >[4]> mIncomingPackets
 
::ll::TypedStorage< 1, 1, bool > mUseIPv6Only
 
::ll::TypedStorage< 2, 2, ushort > mDefaultGamePort
 
::ll::TypedStorage< 2, 2, ushort > mDefaultGamePortv6
 
::ll::TypedStorage< 1, 1, bool > mIsLanDiscoveryEnabled
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::NetworkStatistics > > mNetworkStatistics
 
::ll::TypedStorage< 1, 1, bool > mEnablePacketRateLimiting
 
::ll::TypedStorage< 1, 1, bool > mWebsocketsEnabled
 
::ll::TypedStorage< 4, 24, ::NetworkSettingOptionsmNetworkSettingOptions
 
::ll::TypedStorage< 1, 1, bool > mRawRecordingEnabled
 
::ll::UntypedStorage< 4, 4 > mUnkaf3b65
 
::ll::UntypedStorage< 8, 24 > mUnk1d223d
 

Member Function Documentation

◆ getConnectionInfo()

virtual::Social::GameConnectionInfo const & ClientNetworkSystem::getConnectionInfo ( ) const
virtual

◆ tryGetLocalNetworkId()

MCAPI ::std::optional<::NetworkIdentifier > ClientNetworkSystem::tryGetLocalNetworkId ( ) 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.

◆ tryGetServerId()

MCAPI ::std::optional<::NetworkIdentifier > ClientNetworkSystem::tryGetServerId ( ) 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.

◆ $vftable() [1/4]

static 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.

◆ useIPv4Only()

virtual bool NetworkSystem::useIPv4Only ( ) const
virtualinherited

◆ useIPv6Only()

virtual bool NetworkSystem::useIPv6Only ( ) const
virtualinherited

◆ getDefaultGamePort()

virtual ushort NetworkSystem::getDefaultGamePort ( ) const
virtualinherited

◆ getDefaultGamePortv6()

virtual ushort NetworkSystem::getDefaultGamePortv6 ( ) const
virtualinherited

◆ _onDisable()

virtual void NetworkSystem::_onDisable ( )
virtualinherited

◆ _onEnable()

virtual void NetworkSystem::_onEnable ( )
virtualinherited

◆ onNewIncomingConnection()

virtual bool NetworkSystem::onNewIncomingConnection ( ::NetworkIdentifier const & id,
::std::shared_ptr<::NetworkPeer > && peer )
virtualinherited

◆ onNewOutgoingConnection()

virtual bool NetworkSystem::onNewOutgoingConnection ( ::NetworkIdentifier const & id,
::std::shared_ptr<::NetworkPeer > && peer )
virtualinherited

◆ onConnectionClosed()

virtual void NetworkSystem::onConnectionClosed ( ::NetworkIdentifier const & id,
::Connection::DisconnectFailReason const discoReason,
::std::string const & reasonMessage,
bool skipDisconnectMessage )
virtualinherited

◆ onAllConnectionsClosed()

virtual void NetworkSystem::onAllConnectionsClosed ( ::Connection::DisconnectFailReason ,
::std::string const & ,
bool  )
virtualinherited

◆ onAllRemoteConnectionsClosed()

virtual void NetworkSystem::onAllRemoteConnectionsClosed ( ::Connection::DisconnectFailReason ,
::std::string const & ,
bool  )
virtualinherited

◆ onOutgoingConnectionFailed()

virtual void NetworkSystem::onOutgoingConnectionFailed ( ::Connection::DisconnectFailReason discoReason,
::std::string const & reasonMessage )
virtualinherited

◆ onWebsocketRequest()

virtual void NetworkSystem::onWebsocketRequest ( ::std::string const & serverAddress,
::std::string const & payload,
::std::function< void()> errorCallback )
virtualinherited

◆ $vftableForConnectionCallbacks()

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

◆ $vftableForIPSupportInterface()

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

◆ $vftableForNetworkEnableDisableListener()

static MCAPI void ** NetworkSystem::$vftableForNetworkEnableDisableListener ( )
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/4]

static MCAPI void ** RakNetConnector::ConnectionCallbacks::$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/4]

static MCAPI void ** RakPeerHelper::IPSupportInterface::$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() [4/4]

static 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.

The documentation for this class was generated from the following file: