Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

IpDrv.PartyBeaconClient

Extends
PartyBeacon
Modifiers
native

This class is used to connect to a network beacon in order to request a reservation for their party with that host

Core.Object
|   
+-- IpDrv.PartyBeacon
   |   
   +-- IpDrv.PartyBeaconClient

Constants Summary
Inherited Contants from Core.Object
AspectRatio16x9, AspectRatio4x3, AspectRatio5x4, DegToRad, DegToUnrRot, INDEX_NONE, InvAspectRatio16x9, InvAspectRatio4x3, InvAspectRatio5x4, MaxInt, Pi, RadToDeg, RadToUnrRot, UnrRotToDeg, UnrRotToRad

Variables Summary
EPartyBeaconClientRequestClientBeaconRequestType
EPartyBeaconClientStateClientBeaconState
OnlineGameSearchResultHostPendingRequest
PartyReservationPendingRequest
floatReservationRequestElapsedTime
floatReservationRequestTimeout
ClientBeaconAddressResolverResolver
class<ClientBeaconAddressResolver>ResolverClass
stringResolverClassName
Inherited Variables from IpDrv.PartyBeacon
BeaconName, bIsInTick, bShouldTick, bWantsDeferredDestroy, ElapsedHeartbeatTime, HeartbeatTimeout, PartyBeaconPort, Socket
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
EPartyBeaconClientRequest
PBClientRequest_NewReservation, PBClientRequest_UpdateReservation
EPartyBeaconClientState
PBCS_None, PBCS_Connecting, PBCS_Connected, PBCS_ConnectionFailed, PBCS_AwaitingResponse, PBCS_Closed
Inherited Enumerations from IpDrv.PartyBeacon
EPartyReservationResult, EReservationPacketType
Inherited Enumerations from Core.Object
AlphaBlendType, EAspectRatioAxisConstraint, EAutomatedRunResult, EAxis, EDebugBreakType, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
Inherited Structures from IpDrv.PartyBeacon
PartyReservation, PlayerReservation
Inherited Structures from Core.Object
Array_Mirror, BitArray_Mirror, BoneAtom, Box, BoxSphereBounds, Color, Cylinder, double, FColorVertexBuffer_Mirror, Guid, IndirectArray_Mirror, InlinePointerArray_Mirror, InterpCurveFloat, InterpCurveLinearColor, InterpCurvePointFloat, InterpCurvePointLinearColor, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, OctreeElementId, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, RenderCommandFence_Mirror, Rotator, Set_Mirror, SHVector, SHVectorRGB, SparseArray_Mirror, TAlphaBlend, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Delegates Summary
delegate OnHostHasCancelled ()
delegate OnHostIsReady ()
delegate OnReservationCountUpdated (int ReservationRemaining)
delegate OnReservationRequestComplete (EPartyReservationResult ReservationResult)
delegate OnTravelRequestReceived (name SessionName, lass<OnlineGameSearch> SearchClass, yte PlatformSpecificInfo[80])
Inherited Delegates from IpDrv.PartyBeacon
OnDestroyComplete

Functions Summary
functionbool CancelReservation (UniqueNetId CancellingPartyLeader)
event DestroyBeacon ()
functionbool RequestReservation (const out OnlineGameSearchResult DesiredHost, niqueNetId RequestingPartyLeader, onst out array<PlayerReservation> Players)
functionbool RequestReservationUpdate (const out OnlineGameSearchResult DesiredHost, niqueNetId RequestingPartyLeader, onst out array<PlayerReservation> PlayersToAdd)
Inherited Functions from IpDrv.PartyBeacon
DestroyBeacon
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, Atan2, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClampRotAxisFromBase, ClampRotAxisFromRange, ClassIsChildOf, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, DebugBreak, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, EvalInterpCurveFloat, EvalInterpCurveVector, EvalInterpCurveVector2D, Exp, FCeil, FClamp, FCubicInterp, FFloor, FindDeltaAngle, FindObject, FInterpConstantTo, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, float, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetBuildChangelistNumber, GetDotDistance, GetEngineVersion, GetEnum, GetFuncName, GetHeadingAngle, GetMappedRangeValue, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetRightMost, GetRotatorAxis, GetScriptTrace, GetStateName, GetSystemTime, GetUnAxes, GotoState, InCylinder, InStr, InverseTransformNormal, InverseTransformVector, IsA, IsChildState, IsInState, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, LerpColor, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, MakeRotationMatrix, MakeRotationTranslationMatrix, MakeRotator, MatrixGetAxis, MatrixGetOrigin, MatrixGetRotator, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, NoZDot, OrthoRotation, ParseLocalizedPropertyPath, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointDistToSegment, PointProjectToPlane, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, RTransform, SaveConfig, SClampRotAxis, ScriptTrace, SetUTracing, Sin, Split, SplitString, Sqrt, Square, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformNormal, TransformVector, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VRandCone, VRandCone2, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Variables Detail

ClientBeaconRequestType Source code

var EPartyBeaconClientRequest ClientBeaconRequestType;
The pending request to be sent

ClientBeaconState Source code

var EPartyBeaconClientState ClientBeaconState;
The state of the client beacon

HostPendingRequest Source code

var const OnlineGameSearchResult HostPendingRequest;
Holds a reference to the data that is used to reach the potential host

PendingRequest Source code

var PartyReservation PendingRequest;
The request to send once the socket is established

ReservationRequestElapsedTime Source code

var float ReservationRequestElapsedTime;
Used to track how long we've been waiting for a response

ReservationRequestTimeout Source code

var config float ReservationRequestTimeout;
Indicates how long the client should wait for a response before timing out and trying a new server

Resolver Source code

var ClientBeaconAddressResolver Resolver;
Platform specific address resolver for this beacon. Instantiated using the ResolverClass type.

ResolverClass Source code

var class<ClientBeaconAddressResolver> ResolverClass;
Class to use for address resolving and registering

ResolverClassName Source code

var config string ResolverClassName;
Name of the class to use for address resolving and registering


Enumerations Detail

EPartyBeaconClientRequest Source code

enum EPartyBeaconClientRequest
{
PBClientRequest_NewReservation, PBClientRequest_UpdateReservation
};
Determine the pending request to be sent to the host

EPartyBeaconClientState Source code

enum EPartyBeaconClientState
{
PBCS_None, PBCS_Connecting, PBCS_Connected, PBCS_ConnectionFailed, PBCS_AwaitingResponse, PBCS_Closed
};
Used to drive the client state machine


Delegates Detail

OnHostHasCancelled Source code

delegate OnHostHasCancelled ( )
Called by the beacon when the host sends the "cancellation" packet, so the client can return to finding a new host

OnHostIsReady Source code

delegate OnHostIsReady ( )
Called by the beacon when the host sends the "ready" packet, so the client can connect to the host to start the match

OnReservationCountUpdated Source code

delegate OnReservationCountUpdated ( int ReservationRemaining )
Called by the beacon when the host sends a reservation count update packet so that any UI can be updated
@param ReservationRemaining the number of reservations that are still available

OnReservationRequestComplete Source code

delegate OnReservationRequestComplete ( EPartyReservationResult ReservationResult )
Called by the beacon when a reservation request has been responded to by the destination host
@param ReservationResult whether there was space allocated for the party or not

OnTravelRequestReceived Source code

delegate OnTravelRequestReceived ( name SessionName,class<OnlineGameSearch> SearchClass,byte PlatformSpecificInfo[80] )
Called by the beacon when the host sends a request for all clients to travel to the destination included in the packet
@param SessionName the name of the session to register
@param SearchClass the search that should be populated with the session
@param PlatformSpecificInfo the binary data to place in the platform specific areas


Functions Detail

CancelReservation Source code

native function bool CancelReservation ( UniqueNetId CancellingPartyLeader )
Sends a cancellation message to the remote host so that it knows there is more space available
@param CancellingPartyLeader the leader of this party that wants to cancel
@return true if the request able to be sent, false if it failed to send

DestroyBeacon Source code

native event DestroyBeacon ( )
Stops listening for requests/responses and releases any allocated memory

RequestReservation Source code

native function bool RequestReservation ( const out OnlineGameSearchResult DesiredHost,UniqueNetId RequestingPartyLeader,const out array<PlayerReservation> Players )
Sends a request to the remote host to allow the specified members to reserve space in the host's session. Note this request is async and the results will be sent via the delegate
@param DesiredHost the server that the connection will be made to
@param RequestingPartyLeader the leader of this party that will be joining
@param Players the list of players that want to reserve space
@return true if the request able to be sent, false if it failed to send

RequestReservationUpdate Source code

native function bool RequestReservationUpdate ( const out OnlineGameSearchResult DesiredHost,UniqueNetId RequestingPartyLeader,const out array<PlayerReservation> PlayersToAdd )
Sends a request to the remote host to update an existing reservation for the specified party leader. Any new players not already in the party leader's reservation will be added to that reservation on the host. Host sends a EPartyReservationResult back.
@param DesiredHost the server that the connection will be made to
@param RequestingPartyLeader party leader that will be updating his existing reservation
@param PlayersToAdd the list of players that want to reserve space in an existing reservation
@return true if the request able to be sent, false if it failed to send



Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:54.722 - Created with UnCodeX