LeviLamina
Loading...
Searching...
No Matches
RakNetServerLocator Class Reference
+ Inheritance diagram for RakNetServerLocator:

Classes

struct  AnnounceServerData
 
class  NatHolePuncherFunctor
 
class  PingRateRecorder
 
struct  StateChangeRequestData
 
struct  SuspendStateData
 

Public Types

enum class  protocolVersion : int { Ipv4 = 4 , Ipv6 = 6 }
 
enum class  State : int { Enabled = 0 , Disabled = 1 , Uninitialized = 2 }
 

Public Member Functions

RakNetServerLocatoroperator= (RakNetServerLocator const &)
 
 RakNetServerLocator (RakNetServerLocator const &)
 
virtual 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)
 
virtual void stopAnnouncingServer (::Bedrock::NonOwnerPointer<::AppPlatform > appPlatform)
 
virtual void startServerDiscovery (::PortPair ports)
 
virtual void stopServerDiscovery ()
 
virtual void addCustomServer (::AsynchronousIPResolver const &futureIP, int port)
 
virtual void addCustomServer (::std::string const &address, int port)
 
virtual ::std::vector<::PingedCompatibleServergetServerList () const
 
virtual void clearServerList ()
 
virtual void update ()
 
virtual float getPingTimeForGUID (::std::string const &guid)
 
virtual void checkCanConnectToCustomServerAsync (::std::string hostIpAddress, int port, ::std::function< void(::ServerConnectivityTestResult)> callback)
 
virtual void _onDisable ()
 
virtual void _onEnable ()
 
MCAPI RakNetServerLocator (::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)
 
MCAPI void _activate ()
 
MCAPI void _addCustomServerFromIpResolver (::AsynchronousIPResolver const &futureIP, int port)
 
MCAPI bool _addCustomServerV4 (::AsynchronousIPResolver const &futureIP, int port)
 
MCAPI bool _addCustomServerV6 (::AsynchronousIPResolver const &futureIP, int port)
 
MCAPI void _enqueueStateChangeRequest (::LocatorStateChangeRequest newState, ::RakNetServerLocator::AnnounceServerData newAnnounceData, ::PortPair newPorts)
 
MCAPI::std::string _getHostGuid (::std::string const &address, int port)
 
MCAPI void _getServerOriginalAddress (::std::string &originalAddressToSet, ::std::string const &ip)
 
MCAPI bool _handleUnconnectedPong (::std::string const &data, ::RakNet::Packet const *p, bool readTime, uint64 insertAtBeginning)
 
MCAPI void _initializeBroadcastAddresses ()
 
MCAPI void _onPingSend (::std::string const &guid, ::std::string const &ipVersion, int addr)
 
MCAPI bool _onPongReceive (float &latencyToSet, ::RakNet::RakNetGUID const &guid, uint const &receivedTime, int ipVersion)
 
MCAPI void _setPingResponder (::RakNetServerLocator::AnnounceServerData const &serverData)
 
MCAPI void _startAnnouncingServer (::RakNetServerLocator::AnnounceServerData const &announceData)
 
MCAPI void _startServerDiscovery (::PortPair const &ports)
 
MCAPI void _stopAnnouncingServer ()
 
MCAPI void _stopServerDiscovery ()
 
MCAPI void _updateNetwork ()
 
MCAPI bool _updateQueuedPings ()
 
MCAPI void _updateState ()
 
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)
 
MCAPI void $dtor ()
 
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 $stopAnnouncingServer (::Bedrock::NonOwnerPointer<::AppPlatform > appPlatform)
 
MCAPI void $startServerDiscovery (::PortPair ports)
 
MCAPI void $stopServerDiscovery ()
 
MCAPI void $addCustomServer (::AsynchronousIPResolver const &futureIP, int port)
 
MCAPI void $addCustomServer (::std::string const &address, int port)
 
MCAPI ::std::vector<::PingedCompatibleServer$getServerList () const
 
MCAPI void $clearServerList ()
 
MCAPI void $update ()
 
MCAPI float $getPingTimeForGUID (::std::string const &guid)
 
MCAPI void $checkCanConnectToCustomServerAsync (::std::string hostIpAddress, int port, ::std::function< void(::ServerConnectivityTestResult)> callback)
 
MCAPI void $_onDisable ()
 
MCAPI void $_onEnable ()
 

Static Public Member Functions

static MCAPI bool parseUnconnectedPongPacketData (::std::string const &data, ::std::vector<::std::string > &extraData)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 64 > mUnk89c4ef
 
::ll::UntypedStorage< 8, 64 > mUnkf49aaa
 
::ll::UntypedStorage< 8, 64 > mUnk51cf3f
 
::ll::UntypedStorage< 8, 8 > mUnk2218c2
 
::ll::UntypedStorage< 8, 16 > mUnk5f4202
 
::ll::UntypedStorage< 8, 24 > mUnkd55261
 
::ll::UntypedStorage< 8, 64 > mUnk2876ef
 
::ll::UntypedStorage< 8, 24 > mUnkaa5135
 
::ll::UntypedStorage< 1, 1 > mUnkfa3d98
 
::ll::UntypedStorage< 4, 4 > mUnk7ebf28
 
::ll::UntypedStorage< 4, 8 > mUnkc145b0
 
::ll::UntypedStorage< 4, 4 > mUnk3962a5
 
::ll::UntypedStorage< 4, 4 > mUnk3d87f2
 
::ll::UntypedStorage< 8, 24 > mUnk5bfbd1
 
::ll::UntypedStorage< 8, 24 > mUnk73f382
 
::ll::UntypedStorage< 8, 40 > mUnk5a36d6
 
::ll::UntypedStorage< 1, 1 > mUnk2c445a
 
::ll::UntypedStorage< 8, 64 > mUnkc78041
 
::ll::UntypedStorage< 8, 32 > mUnkf39ac9
 
::ll::UntypedStorage< 4, 4 > mUnk8bcebb
 
::ll::UntypedStorage< 8, 80 > mUnkd855a4
 
::ll::UntypedStorage< 8, 80 > mUnk518100
 
::ll::UntypedStorage< 4, 4 > mUnk5542ff
 
::ll::UntypedStorage< 4, 4 > mUnkf403ed
 
::ll::UntypedStorage< 8, 96 > mUnk8970d6
 
::ll::UntypedStorage< 4, 4 > mUnk8d92b1
 
::ll::UntypedStorage< 8, 40 > mUnk2f8047
 
::ll::UntypedStorage< 4, 4 > mUnkaf3b65
 
::ll::UntypedStorage< 8, 24 > mUnk1d223d
 

Member Function Documentation

◆ startAnnouncingServer()

virtual void RakNetServerLocator::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 )
virtual

Implements ServerLocator.

◆ stopAnnouncingServer()

virtual void RakNetServerLocator::stopAnnouncingServer ( ::Bedrock::NonOwnerPointer<::AppPlatform > appPlatform)
virtual

Implements ServerLocator.

◆ startServerDiscovery()

virtual void RakNetServerLocator::startServerDiscovery ( ::PortPair ports)
virtual

Implements ServerLocator.

◆ stopServerDiscovery()

virtual void RakNetServerLocator::stopServerDiscovery ( )
virtual

Implements ServerLocator.

◆ addCustomServer() [1/2]

virtual void RakNetServerLocator::addCustomServer ( ::AsynchronousIPResolver const & futureIP,
int port )
virtual

Implements ServerLocator.

◆ addCustomServer() [2/2]

virtual void RakNetServerLocator::addCustomServer ( ::std::string const & address,
int port )
virtual

Implements ServerLocator.

◆ getServerList()

virtual ::std::vector<::PingedCompatibleServer > RakNetServerLocator::getServerList ( ) const
virtual

Implements ServerLocator.

◆ clearServerList()

virtual void RakNetServerLocator::clearServerList ( )
virtual

Implements ServerLocator.

◆ update()

virtual void RakNetServerLocator::update ( )
virtual

Implements ServerLocator.

◆ getPingTimeForGUID()

virtual float RakNetServerLocator::getPingTimeForGUID ( ::std::string const & guid)
virtual

Implements ServerLocator.

◆ checkCanConnectToCustomServerAsync()

virtual void RakNetServerLocator::checkCanConnectToCustomServerAsync ( ::std::string hostIpAddress,
int port,
::std::function< void(::ServerConnectivityTestResult)> callback )
virtual

Implements ServerLocator.

◆ _onDisable()

virtual void RakNetServerLocator::_onDisable ( )
virtual

Reimplemented from ServerLocator.

◆ _onEnable()

virtual void RakNetServerLocator::_onEnable ( )
virtual

Reimplemented from ServerLocator.


The documentation for this class was generated from the following file: