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

Classes

struct  ServerData
 

Public Types

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

Public Member Functions

NetherNetServerLocatoroperator= (NetherNetServerLocator const &)
 
 NetherNetServerLocator (NetherNetServerLocator const &)
 
virtual void startAnnouncingServer (::std::string const &playerName, ::std::string const &worldName, ::Bedrock::NonOwnerPointer<::AppPlatform > appPlatform, ::GameType gameType, int numPlayers, int maxNumPlayers, bool isJoinableThroughServerScreen, bool isEditorWorld, bool isHardcore)
 
virtual void stopAnnouncingServer (::Bedrock::NonOwnerPointer<::AppPlatform > appPlatform)
 
virtual void startServerDiscovery (::PortPair ports)
 
virtual void stopServerDiscovery ()
 
virtual ::std::vector<::PingedCompatibleServergetServerList () const
 
virtual void clearServerList ()
 
virtual void update ()
 
MCAPI void _cacheDiscoveryResponseData (::NetherNetServerLocator::ServerData const &serverData)
 
MCAPI void _onDiscoveryResponse (uint64 networkID, ::gsl::span< char const > responseData)
 
MCAPI void _setIsAnnouncing (bool isAnnouncing)
 
MCAPI void setNetherNetConnector (::Bedrock::NonOwnerPointer<::NetherNetConnector > &&connector)
 
MCAPI void $dtor ()
 
MCAPI void $startAnnouncingServer (::std::string const &playerName, ::std::string const &worldName, ::Bedrock::NonOwnerPointer<::AppPlatform > appPlatform, ::GameType gameType, int numPlayers, int maxNumPlayers, bool isJoinableThroughServerScreen, bool isEditorWorld, bool isHardcore)
 
MCAPI void $stopAnnouncingServer (::Bedrock::NonOwnerPointer<::AppPlatform > appPlatform)
 
MCAPI void $startServerDiscovery (::PortPair ports)
 
MCAPI void $stopServerDiscovery ()
 
MCAPI ::std::vector<::PingedCompatibleServer$getServerList () const
 
MCAPI void $clearServerList ()
 
MCAPI void $update ()
 
virtual void addCustomServer (::AsynchronousIPResolver const &futureIP, int port)
 
virtual void addCustomServer (::std::string const &address, int port)
 
virtual float getPingTimeForGUID (::std::string const &guid)
 
virtual void checkCanConnectToCustomServerAsync (::std::string hostIpAddress, int port, ::std::function< void(::ServerConnectivityTestResult)> callback)
 
MCAPI void * $ctor ()
 
MCFOLD void $addCustomServer (::AsynchronousIPResolver const &futureIP, int port)
 
MCFOLD void $addCustomServer (::std::string const &address, int port)
 
MCFOLD float $getPingTimeForGUID (::std::string const &guid)
 
MCAPI void $checkCanConnectToCustomServerAsync (::std::string hostIpAddress, int port, ::std::function< void(::ServerConnectivityTestResult)> callback)
 
virtual void _onDisable ()
 
virtual void _onEnable ()
 
MCFOLD void $_onDisable ()
 
MCFOLD void $_onEnable ()
 

Static Public Member Functions

static MCAPI ::PingedCompatibleServer _transformFrom (uint64 networkID, ::NetherNetServerLocator::ServerData &&serverData)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 24 > mUnk6f15a6
 
::ll::UntypedStorage< 8, 24 > mUnk7a26b6
 
::ll::UntypedStorage< 8, 32 > mUnkcf0391
 
::ll::UntypedStorage< 1, 1 > mUnkfee0d4
 
::ll::UntypedStorage< 1, 1 > mUnk646852
 
::ll::UntypedStorage< 8, 80 > mUnk1547c8
 
::ll::UntypedStorage< 4, 4 > mUnkaf3b65
 
::ll::UntypedStorage< 8, 24 > mUnk1d223d
 

Member Function Documentation

◆ startAnnouncingServer()

virtual void NetherNetServerLocator::startAnnouncingServer ( ::std::string const & playerName,
::std::string const & worldName,
::Bedrock::NonOwnerPointer<::AppPlatform > appPlatform,
::GameType gameType,
int numPlayers,
int maxNumPlayers,
bool isJoinableThroughServerScreen,
bool isEditorWorld,
bool isHardcore )
virtual

Reimplemented from StubServerLocator.

◆ stopAnnouncingServer()

virtual void NetherNetServerLocator::stopAnnouncingServer ( ::Bedrock::NonOwnerPointer<::AppPlatform > appPlatform)
virtual

Reimplemented from StubServerLocator.

◆ startServerDiscovery()

virtual void NetherNetServerLocator::startServerDiscovery ( ::PortPair ports)
virtual

Reimplemented from StubServerLocator.

◆ stopServerDiscovery()

virtual void NetherNetServerLocator::stopServerDiscovery ( )
virtual

Reimplemented from StubServerLocator.

◆ getServerList()

virtual ::std::vector<::PingedCompatibleServer > NetherNetServerLocator::getServerList ( ) const
virtual

Implements ServerLocator.

◆ clearServerList()

virtual void NetherNetServerLocator::clearServerList ( )
virtual

Reimplemented from StubServerLocator.

◆ update()

virtual void NetherNetServerLocator::update ( )
virtual

Reimplemented from StubServerLocator.

◆ addCustomServer() [1/2]

virtual void StubServerLocator::addCustomServer ( ::AsynchronousIPResolver const & futureIP,
int port )
virtualinherited

Implements ServerLocator.

◆ addCustomServer() [2/2]

virtual void StubServerLocator::addCustomServer ( ::std::string const & address,
int port )
virtualinherited

Implements ServerLocator.

◆ getPingTimeForGUID()

virtual float StubServerLocator::getPingTimeForGUID ( ::std::string const & guid)
virtualinherited

Implements ServerLocator.

◆ checkCanConnectToCustomServerAsync()

virtual void StubServerLocator::checkCanConnectToCustomServerAsync ( ::std::string hostIpAddress,
int port,
::std::function< void(::ServerConnectivityTestResult)> callback )
virtualinherited

Implements ServerLocator.

◆ _onDisable()

virtual void ServerLocator::_onDisable ( )
virtualinherited

◆ _onEnable()

virtual void ServerLocator::_onEnable ( )
virtualinherited

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