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"
25 virtual void startAnnouncingServer(
26 ::std::string
const& playerName,
27 ::std::string
const& worldName,
32 bool isJoinableThroughServerScreen,
39 virtual void startServerDiscovery(
::PortPair ports) ;
43 virtual void addCustomServer(::std::string
const& address,
int port) ;
45 virtual void stopServerDiscovery() ;
47 virtual ::std::vector<::PingedCompatibleServer> getServerList()
const ;
49 virtual void clearServerList() ;
51 virtual void update() ;
53 virtual float getPingTimeForGUID(::std::string
const& guid) ;
55 virtual void checkCanConnectToCustomServerAsync(
56 ::std::string hostIpAddress,
58 ::std::function<
void(::ServerConnectivityTestResult)> callback
78 ::std::string
const& playerName,
79 ::std::string
const& worldName,
84 bool isJoinableThroughServerScreen,
108 ::std::string hostIpAddress,
110 ::std::function<
void(::ServerConnectivityTestResult)> callback
Definition AsynchronousIPResolver.h:5
Definition NonOwnerPointer.h:9
Definition ServerLocator.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