Skip to content

PartyBeacon

Class in IpDrv · IpDrv.PartyBeacon · native, config

Object › PartyBeacon

Subclasses: PartyBeaconClient, PartyBeaconHost

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

Enums

EPartyReservationResult

PRR_GeneralError = 0, PRR_PartyLimitReached = 1, PRR_IncorrectPlayerCount = 2, PRR_RequestTimedOut = 3, PRR_ReservationDuplicate = 4, PRR_ReservationNotFound = 5, PRR_ReservationAccepted = 6, PRR_ReservationDenied = 7

EReservationPacketType

RPT_UnknownPacketType = 0, RPT_ClientReservationRequest = 1, RPT_ClientReservationUpdateRequest = 2, RPT_ClientCancellationRequest = 3, RPT_HostReservationResponse = 4, RPT_HostReservationCountUpdate = 5, RPT_HostTravelRequest = 6, RPT_HostIsReady = 7, RPT_HostHasCancelled = 8, RPT_Heartbeat = 9

Structs

PartyReservation

FieldType
TeamNumint
PartyLeaderUniqueNetId
PartyMembersarray<PlayerReservation>

PlayerReservation

FieldType
NetIdUniqueNetId
Skillint
XpLevelint
Mudouble
Sigmadouble
ElapsedSessionTimefloat

Properties

NameTypeNotes
BeaconNamename
bIsInTickbool
bShouldTickbool
bWantsDeferredDestroybool
ElapsedHeartbeatTimefloat
HeartbeatTimeoutfloatconfig
PartyBeaconPortintconfig
Socketpointertransient, native

Functions

NameDeclaration
DestroyBeaconnative event DestroyBeacon()
OnDestroyCompletedelegate OnDestroyComplete()

Default values

bShouldTick=true

Inherited

FromMembers
Object13 properties, 308 functions