3#include "mc/_HeaderOutputPredefine.h" 
    6#include "mc/deps/core/utility/NonOwnerPointer.h" 
    7#include "mc/network/LocatorStateChangeRequest.h" 
    8#include "mc/network/PermissionIPv6.h" 
    9#include "mc/network/PermissionLAN.h" 
   10#include "mc/network/RakNetServerLANVisibility.h" 
   11#include "mc/network/RakPeerHelper.h" 
   12#include "mc/network/ServerConnectivityTestResult.h" 
   13#include "mc/network/ServerLocator.h" 
   14#include "mc/platform/threading/LockGuard.h" 
   15#include "mc/world/level/GameType.h" 
   24namespace RakNet { 
class RakPeerInterface; }
 
   25namespace RakNet { 
struct Packet; }
 
   26namespace RakNet { 
struct RakNetGUID; }
 
   41    enum class protocolVersion : 
int {
 
  223    virtual void startAnnouncingServer(
 
  224        ::std::string 
const&                      playerName,
 
  225        ::std::string 
const&                      worldName,
 
  230        bool                                      isJoinableThroughServerScreen,
 
  239    virtual void startServerDiscovery(
::PortPair ports) ;
 
  242    virtual void stopServerDiscovery() ;
 
  248    virtual void addCustomServer(::std::string 
const& address, 
int port) ;
 
  251    virtual ::std::vector<::PingedCompatibleServer> getServerList() const ;
 
  254    virtual 
void clearServerList() ;
 
  257    virtual 
void update() ;
 
  260    virtual 
float getPingTimeForGUID(::
std::
string const& guid) ;
 
  263    virtual 
void checkCanConnectToCustomServerAsync(
 
  264        ::
std::
string                                         hostIpAddress,
 
  266        ::
std::function<
void(::ServerConnectivityTestResult)> callback
 
  270    virtual 
void _onDisable() ;
 
  273    virtual 
void _onEnable() ;
 
  282        ::
std::vector<::
std::
string>                     overrideBroadcastAddresses,
 
  284        ::RakNetServerLANVisibility                      serverLanVisibility,
 
  285        ::PermissionLAN                                  permissionLAN,
 
  286        ::PermissionIPv6                                 permissionIPv6,
 
  287        ::Bedrock::NonOwnerPointer<::
AppPlatform> const& appPlatform,
 
  288        ::
std::function<::
std::unique_ptr<::RakNet::RakPeerInterface, 
void (*)(::RakNet::RakPeerInterface*)>()>
 
  289            createUniqueRakPeerFunc
 
  301        ::LocatorStateChangeRequest               newState,
 
  311        ::
std::
string const&    data,
 
  312        ::RakNet::
Packet const* p,
 
  313        bool                    insertAtBeginning,
 
  322    _onPongReceive(
float& latencyToSet, ::RakNet::RakNetGUID const& guid, uint const& receivedTime, 
int ipVersion);
 
  354        ::
std::vector<::
std::
string>                     overrideBroadcastAddresses,
 
  356        ::RakNetServerLANVisibility                      serverLanVisibility,
 
  357        ::PermissionLAN                                  permissionLAN,
 
  358        ::PermissionIPv6                                 permissionIPv6,
 
  359        ::Bedrock::NonOwnerPointer<::
AppPlatform> const& appPlatform,
 
  360        ::
std::function<::
std::unique_ptr<::RakNet::RakPeerInterface, 
void (*)(::RakNet::RakPeerInterface*)>()>
 
  361            createUniqueRakPeerFunc
 
  375        ::
std::
string const&                      playerName,
 
  376        ::
std::
string const&                      worldName,
 
  377        ::Bedrock::NonOwnerPointer<::
AppPlatform> appPlatform,
 
  381        bool                                      isJoinableThroughServerScreen,
 
  405        ::
std::
string                                         hostIpAddress,
 
  407        ::
std::function<
void(::ServerConnectivityTestResult)> callback
 
 
Definition AsynchronousIPResolver.h:5
Definition NonOwnerPointer.h:9
Definition RakNetConnector.h:29
Definition RakNetServerLocator.h:68
Definition RakNetServerLocator.h:46
Definition RakNetServerLocator.h:29
MCAPI void _onPingSend(::std::string const &guid, ::std::string const &addr, int ipVersion)
MCAPI void $clearServerList()
MCAPI bool _onPongReceive(float &latencyToSet, ::RakNet::RakNetGUID const &guid, uint const &receivedTime, int ipVersion)
MCAPI void _addCustomServerFromIpResolver(::AsynchronousIPResolver const &futureIP, int port)
MCAPI void _startServerDiscovery(::PortPair const &ports)
MCAPI void _setPingResponder(::RakNetServerLocator::AnnounceServerData const &serverData)
MCAPI void _stopAnnouncingServer()
MCAPI ::std::vector<::PingedCompatibleServer > $getServerList() const
MCAPI bool _handleUnconnectedPong(::std::string const &data, ::RakNet::Packet const *p, bool insertAtBeginning, uint64 readTime)
MCAPI void _updateState()
MCAPI float $getPingTimeForGUID(::std::string const &guid)
MCAPI void $stopAnnouncingServer(::Bedrock::NonOwnerPointer<::AppPlatform > appPlatform)
MCAPI void * $ctor(::RakNetConnector &rakNetConnector, ::RakPeerHelper::IPSupportInterface &ipInterface, ::std::vector<::std::string > overrideBroadcastAddresses, bool isServer, ::RakNetServerLANVisibility serverLanVisibility, ::PermissionLAN permissionLAN, ::PermissionIPv6 permissionIPv6, ::Bedrock::NonOwnerPointer<::AppPlatform > const &appPlatform, ::std::function<::std::unique_ptr<::RakNet::RakPeerInterface, void(*)(::RakNet::RakPeerInterface *)>()> createUniqueRakPeerFunc)
static MCAPI void ** $vftable()
MCAPI void _enqueueStateChangeRequest(::LocatorStateChangeRequest newState, ::RakNetServerLocator::AnnounceServerData newAnnounceData, ::PortPair newPorts)
MCAPI void $startServerDiscovery(::PortPair ports)
MCAPI::std::string _getHostGuid(::std::string const &address, int port)
MCAPI void $addCustomServer(::AsynchronousIPResolver const &futureIP, int port)
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 bool _addCustomServerV6(::AsynchronousIPResolver const &futureIP, int port)
MCAPI void _getServerOriginalAddress(::std::string &originalAddressToSet, ::std::string const &ip)
MCAPI void _startAnnouncingServer(::RakNetServerLocator::AnnounceServerData const &announceData)
MCAPI bool _updateQueuedPings()
MCAPI void _updateNetwork()
MCAPI void $stopServerDiscovery()
MCAPI bool _addCustomServerV4(::AsynchronousIPResolver const &futureIP, int port)
static MCAPI bool parseUnconnectedPongPacketData(::std::string const &data, ::std::vector<::std::string > &extraData)
MCAPI void _initializeBroadcastAddresses()
MCAPI void _stopServerDiscovery()
MCAPI void $checkCanConnectToCustomServerAsync(::std::string hostIpAddress, int port, ::std::function< void(::ServerConnectivityTestResult)> callback)
Definition RakPeerHelper.h:15
Definition ServerLocator.h:19
Definition PingedCompatibleServer.h:5
Definition RakNetServerLocator.h:82
MCAPI ~AnnounceServerData()
MCAPI void * $ctor(::RakNetServerLocator::AnnounceServerData const &announceData)
MCAPI AnnounceServerData(::RakNetServerLocator::AnnounceServerData const &announceData)
Definition RakNetServerLocator.h:122
MCAPI ~StateChangeRequestData()
Definition RakNetServerLocator.h:150
MCAPI ~SuspendStateData()