28 virtual ::std::shared_ptr<::TransportEndpointCache> getTransportEndpointCache()
const;
31 virtual void startAnnouncingServer(
32 ::std::string
const& playerName,
33 ::std::string
const& worldName,
37 bool isJoinableThroughServerScreen,
44 virtual void startAnnouncingServer(
45 ::std::string
const& playerName,
46 ::std::string
const& worldName,
47 ::GameType worldGameType,
50 bool isJoinableThroughServerScreen,
58 virtual void stopAnnouncingServer() = 0;
60 virtual void startServerDiscovery(
::PortPair ports) = 0;
62 virtual void stopServerDiscovery() = 0;
66 virtual ::Bedrock::PubSub::Subscription acquireHttpProbePermission();
68 virtual ::std::vector<::PingedCompatibleServer> getServerList()
const = 0;
70 virtual void update() = 0;
72 virtual ::std::chrono::milliseconds getPingTimeForGUID(::std::string
const& guid) = 0;
74 virtual void checkCanConnectToCustomServerAsync(
75 ::std::string hostIpAddress,
77 ::std::function<
void(::ServerConnectivityTestResult)> callback
80 virtual void _onDisable() ;
82 virtual void _onEnable() ;
89 MCNAPI ::Bedrock::Threading::Async<::ServerConnectivityTestResult>
90 checkCanConnectToCustomServerAsync(::std::string
const& hostIpAddress,
int port);