I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:UIAction_JoinOnlineGame (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> SequenceObject >> SequenceOp >> SequenceAction >> UIAction >> UIAction_JoinOnlineGame
Package: 
Engine

This action joins an online game based upon the search object that is bound to the UI list

Properties

bIsDone

Type: bool

Whether the latent action is done

bResult

Type: bool

Whether there was an error or not

CachedWorldInfo

Type: WorldInfo

Temporary var for accessing actor functions

PendingGameJoin

Type: OnlineGameSearch.OnlineGameSearchResult

Holds the game we are currently trying to join

Default values

Property Value
bAutoActivateOutputLinks False
bAutoTargetOwner True
bLatentExecution True
ObjCategory "Online"
ObjName "Join Online Game"
OutputLinks[0]
Member Value
LinkDesc "Failure"
OutputLinks[1]
Member Value
LinkDesc "Success"

Functions

Events

JoinOnlineGame

event JoinOnlineGame (byte ControllerId, OnlineGameSearch.OnlineGameSearchResult GameToJoin, WorldInfo InWorldInfo)

Performs the join process by kicking off the async join for the specified game

Parameters:

  • ControllerId - the player joining
  • GameToJoin - the search results for the server to join
  • WorldInfo - the world info in case an actor is needed for iteration

Other instance functions

BuildJoinURL

function string BuildJoinURL (string ResolvedConnectionURL)

Builds the string needed to join a game from the resolved connection: "open 172.168.0.1"

NOTE: Overload this method to modify the URL before exec-ing it

Parameters:

  • ResolvedConnectionURL - the platform specific URL information

Returns:

the final URL to use to open the map

OnJoinGameComplete

function OnJoinGameComplete (bool bWasSuccessful)

Handles the notification that the join completed. If successful, the session is joined, otherwise an error is shown

Parameters:

  • bWasSuccessful - whether the async task succeeded or not