3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/network/ServerConnectivityTestResult.h"
8#include "mc/network/ServerLocator.h"
9#include "mc/world/level/GameType.h"
27 virtual void startAnnouncingServer(
28 ::std::string
const& playerName,
29 ::std::string
const& worldName,
34 bool isJoinableThroughServerScreen,
43 virtual void startServerDiscovery(
::PortPair ports) ;
49 virtual void addCustomServer(::std::string
const& address,
int port) ;
52 virtual void stopServerDiscovery() ;
55 virtual ::std::vector<::PingedCompatibleServer> getServerList()
const ;
58 virtual void clearServerList() ;
61 virtual void update() ;
64 virtual float getPingTimeForGUID(::std::string
const& guid) ;
67 virtual void checkCanConnectToCustomServerAsync(
68 ::std::string hostIpAddress,
70 ::std::function<
void(::ServerConnectivityTestResult)> callback
90 ::std::string
const& playerName,
91 ::std::string
const& worldName,
96 bool isJoinableThroughServerScreen,
120 ::std::string hostIpAddress,
122 ::std::function<
void(::ServerConnectivityTestResult)> callback
Definition AsynchronousIPResolver.h:5
Definition NonOwnerPointer.h:9
Definition ServerLocator.h:19
Definition StubServerLocator.h:19
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 $addCustomServer(::std::string const &address, int port)
static MCAPI void ** $vftable()
MCAPI void $checkCanConnectToCustomServerAsync(::std::string hostIpAddress, int port, ::std::function< void(::ServerConnectivityTestResult)> callback)
MCAPI void $addCustomServer(::AsynchronousIPResolver const &futureIP, int port)
MCAPI void $startServerDiscovery(::PortPair ports)
MCAPI ::std::vector<::PingedCompatibleServer > $getServerList() const
MCAPI StubServerLocator()
MCAPI void $stopAnnouncingServer(::Bedrock::NonOwnerPointer<::AppPlatform > appPlatform)
MCAPI float $getPingTimeForGUID(::std::string const &guid)
MCAPI void $clearServerList()
MCAPI void $stopServerDiscovery()
Definition PingedCompatibleServer.h:5