Skip to content

MeshBeacon

Class in IpDrv · IpDrv.MeshBeacon · native, config

Object › MeshBeacon

Subclasses: MeshBeaconClient, MeshBeaconHost

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

Enums

EMeshBeaconBandwidthTestResult

MB_BandwidthTestResult_Succeeded = 0, MB_BandwidthTestResult_Timeout = 1, MB_BandwidthTestResult_Error = 2

EMeshBeaconBandwidthTestState

MB_BandwidthTestState_NotStarted = 0, MB_BandwidthTestState_RequestPending = 1, MB_BandwidthTestState_StartPending = 2, MB_BandwidthTestState_InProgress = 3, MB_BandwidthTestState_Completed = 4, MB_BandwidthTestState_Incomplete = 5, MB_BandwidthTestState_Timeout = 6, MB_BandwidthTestState_Error = 7

EMeshBeaconBandwidthTestType

MB_BandwidthTestType_Upstream = 0, MB_BandwidthTestType_Downstream = 1, MB_BandwidthTestType_RoundtripLatency = 2

EMeshBeaconConnectionResult

MB_ConnectionResult_Succeeded = 0, MB_ConnectionResult_Duplicate = 1, MB_ConnectionResult_Timeout = 2, MB_ConnectionResult_Error = 3

EMeshBeaconPacketType

MB_Packet_UnknownType = 0, MB_Packet_ClientNewConnectionRequest = 1, MB_Packet_ClientBeginBandwidthTest = 2, MB_Packet_ClientCreateNewSessionResponse = 3, MB_Packet_HostNewConnectionResponse = 4, MB_Packet_HostBandwidthTestRequest = 5, MB_Packet_HostCompletedBandwidthTest = 6, MB_Packet_HostTravelRequest = 7, MB_Packet_HostCreateNewSessionRequest = 8, MB_Packet_DummyData = 9, MB_Packet_Heartbeat = 10

Structs

ConnectionBandwidthStats

FieldType
UpstreamRateint
DownstreamRateint
RoundtripLatencyint

PlayerMember

FieldType
TeamNumint
Skillint
NetIdUniqueNetId

Properties

NameTypeNotes
BeaconNamename
bIsInTickbooltransient
bShouldTickbool
bWantsDeferredDestroybooltransient
ElapsedHeartbeatTimefloat
HeartbeatTimeoutfloatconfig
MaxBandwidthHistoryEntriesintconfig
MaxBandwidthTestBufferSizeintconfig
MaxBandwidthTestReceiveTimefloatconfig
MaxBandwidthTestSendTimefloatconfig
MeshBeaconPortintconfig
MinBandwidthTestBufferSizeintconfig
Socketpointertransient, native
SocketReceiveBufferSizeintconfig
SocketSendBufferSizeintconfig
UDP_Socketboolno declaration: type is approximate

Functions

NameDeclaration
DestroyBeaconnative event DestroyBeacon()

Default values

bShouldTick=true

Inherited

FromMembers
Object13 properties, 308 functions