Skip to content

MeshBeaconClient

Class in IpDrv · IpDrv.MeshBeaconClient · native

Object › MeshBeacon › MeshBeaconClient

Subclasses: H7MeshBeaconClient

Using it from Lua
h7.find_all("MeshBeaconClient")            -- live instances
h7.find_class("IpDrv.MeshBeaconClient")   -- the class
h7.hook("IpDrv.MeshBeaconClient.BeginBandwidthTest", fn)

Enums

EMeshBeaconClientState

MBCS_None = 0, MBCS_Connecting = 1, MBCS_Connected = 2, MBCS_ConnectionFailed = 3, MBCS_AwaitingResponse = 4, MBCS_Closed = 5

Structs

ClientBandwidthTestData

FieldType
TestTypeEMeshBeaconBandwidthTestType
CurrentStateEMeshBeaconBandwidthTestState
NumBytesToSendTotalint
NumBytesSentTotalint
NumBytesSentLastint
ElapsedTestTimefloat

ClientConnectionRequest

FieldType
PlayerNetIdUniqueNetId
NatTypeENatType
bCanHostVsbool
GoodHostRatiofloat
BandwidthHistoryarray<ConnectionBandwidthStats>
MinutesSinceLastTestint

Properties

NameTypeNotes
bUsingRegisteredAddrbooltransient
ClientBeaconRequestTypeEMeshBeaconPacketType
ClientBeaconStateEMeshBeaconClientState
ClientPendingRequestClientConnectionRequestconst
ConnectionRequestElapsedTimefloat
ConnectionRequestTimeoutfloatconfig
CurrentBandwidthTestClientBandwidthTestData
HostPendingRequestOnlineGameSearchResultconst
ResolverClientBeaconAddressResolver
ResolverClassclass<ClientBeaconAddressResolver>
ResolverClassNamestringconfig

Functions

NameDeclaration
BeginBandwidthTestnative function bool BeginBandwidthTest(EMeshBeaconBandwidthTestType TestType, INT TestBufferSize)
DestroyBeaconnative event DestroyBeacon()
OnConnectionRequestResultdelegate OnConnectionRequestResult(EMeshBeaconConnectionResult ConnectionResult)
OnCreateNewSessionRequestReceiveddelegate OnCreateNewSessionRequestReceived(name SessionName, class<OnlineGameSearch> SearchClass, const out array<PlayerMember> Players)
OnReceivedBandwidthTestRequestdelegate OnReceivedBandwidthTestRequest(EMeshBeaconBandwidthTestType TestType)
OnReceivedBandwidthTestResultsdelegate OnReceivedBandwidthTestResults(EMeshBeaconBandwidthTestType TestType, EMeshBeaconBandwidthTestResult TestResult, const out ConnectionBandwidthStats BandwidthStats)
OnTravelRequestReceiveddelegate OnTravelRequestReceived(name SessionName, class<OnlineGameSearch> SearchClass, const out byte PlatformSpecificInfo[80])
RequestConnectionnative function bool RequestConnection(const out OnlineGameSearchResult DesiredHost, const out ClientConnectionRequest ClientRequest, bool bRegisterSecureAddress)
SendHostNewGameSessionResponsenative function bool SendHostNewGameSessionResponse(bool bSuccess, name SessionName, class<OnlineGameSearch> SearchClass, const out byte PlatformSpecificInfo[80])

Inherited

FromMembers
MeshBeacon16 properties, 1 functions
Object13 properties, 308 functions