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
95 MCAPI
void $startAnnouncingServer(
96 ::std::string
const& playerName,
97 ::std::string
const& worldName,
102 bool isJoinableThroughServerScreen,
109 MCFOLD
void $startServerDiscovery(
::PortPair ports);
113 MCFOLD
void $addCustomServer(::std::string
const& address,
int port);
115 MCFOLD
void $stopServerDiscovery();
117 MCFOLD ::std::vector<::PingedCompatibleServer> $getServerList()
const;
119 MCFOLD
void $clearServerList();
121 MCFOLD
void $update();
123 MCFOLD
float $getPingTimeForGUID(::std::string
const& guid);
125 MCAPI
void $checkCanConnectToCustomServerAsync(
126 ::std::string hostIpAddress,
128 ::std::function<
void(::ServerConnectivityTestResult)> callback
135 MCAPI
static void** $vftable();