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"
28 virtual ~StubServerLocator() ;
30 virtual void startAnnouncingServer(
31 ::std::string
const& playerName,
32 ::std::string
const& worldName,
33 ::GameType worldGameType,
36 bool isJoinableThroughServerScreen,
42 virtual void stopAnnouncingServer() ;
44 virtual void startServerDiscovery(
::PortPair ports) ;
48 virtual void addCustomServer(::std::string
const& address,
int port) ;
50 virtual void stopServerDiscovery() ;
52 virtual ::std::vector<::PingedCompatibleServer> getServerList()
const ;
54 virtual void clearServerList() ;
56 virtual void update() ;
58 virtual float getPingTimeForGUID(::std::string
const& guid) ;
61 virtual void checkCanConnectToCustomServerAsync(
62 ::std::string hostIpAddress,
64 ::std::function<
void(::ServerConnectivityTestResult)>
67 virtual void checkCanConnectToCustomServerAsync(
68 ::std::string hostIpAddress,
70 ::std::function<
void(::ServerConnectivityTestResult)> callback
98 ::std::string
const& playerName,
99 ::std::string
const& worldName,
100 ::GameType worldGameType,
103 bool isJoinableThroughServerScreen,
128 ::std::string hostIpAddress,
130 ::std::function<
void(::ServerConnectivityTestResult)>
Definition AsynchronousIPResolver.h:8
Definition NonOwnerPointer.h:9
Definition ServerLocator.h:19
MCAPI void $stopAnnouncingServer()
MCAPI StubServerLocator(::Bedrock::NonOwnerPointer<::AppPlatform > const &appPlatform)
MCAPI void * $ctor(::Bedrock::NonOwnerPointer<::AppPlatform > const &appPlatform)
MCAPI void $addCustomServer(::std::string const &address, int port)
static MCAPI void ** $vftable()
MCAPI void $checkCanConnectToCustomServerAsync(::std::string hostIpAddress, int callback, ::std::function< void(::ServerConnectivityTestResult)>)
MCAPI void $addCustomServer(::AsynchronousIPResolver const &futureIP, int port)
MCAPI void $startServerDiscovery(::PortPair ports)
MCAPI ::std::vector<::PingedCompatibleServer > $getServerList() const
MCAPI void $startAnnouncingServer(::std::string const &playerName, ::std::string const &worldName, ::GameType worldGameType, int numPlayers, int maxNumPlayers, bool isJoinableThroughServerScreen, bool isEditorWorld, bool isHardcore, ::ServerSupportedAuthenticationTypes supportedAuth)
MCAPI float $getPingTimeForGUID(::std::string const &guid)
MCAPI void $clearServerList()
MCAPI void $stopServerDiscovery()
Definition PingedCompatibleServer.h:5
Definition ServerSupportedAuthenticationTypes.h:5