UE2:UT2K4LadderInfo (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
UT2004 Object >> LadderInfo >> UT2K4LadderInfo
Package:
XGame

Single Player Ladder Info

Written by Michiel Hendriks (c) 2003, 2004, Epic Games, Inc. All Rights Reserved

Properties

See UT2K4LadderInfo properties.

Static functions

GetAltLevel

static function byte GetAltLevel (int ladder, int rung, int path, int selected)

get the ID of the alternative level match priority has no relevance here

GetChallengeGame

static function class<ChallengeGameGetChallengeGame (optional string ClassName, optional UT2K4GameProfile GP)

return a random or selected challenge game

GetCurrentMatchInfo

static function MatchInfo GetCurrentMatchInfo (GameProfile G)

Overrides: LadderInfo.GetCurrentMatchInfo


GetLadderDescription

static function string GetLadderDescription (int LadderId, optional int MatchId)


GetMatchDescription

static function string GetMatchDescription (GameProfile G)

Overrides: LadderInfo.GetMatchDescription

Return the friendly name of the current match's gametype

GetMatchInfo

static function MatchInfo GetMatchInfo (int ladder, int rung)

Overrides: LadderInfo.GetMatchInfo

for backward compatibility

GetRandomLadder

static function int GetRandomLadder (optional bool bIncludeChamp)

return the id of a random ladder

GetUT2K4MatchInfo

static function UT2K4MatchInfo GetUT2K4MatchInfo (int ladder, int rung, optional int path, optional bool bSelect)

Retreives the match info and fills in the alternative map path is used as a constant random to define the path, should be a very large number if bSelect then path is the position in the AltLevels array to use

HasAltLevel

static function bool HasAltLevel (int ladder, int rung)

check if there is an alternative level

LengthOfLadder

static function int LengthOfLadder (int ladder)

Overrides: LadderInfo.LengthOfLadder

Get the number of matches in a ladder

MakeURLFoMatchInfo

static function string MakeURLFoMatchInfo (MatchInfo M, GameProfile G)

create a URL for the selected MatchInfo

MakeURLFor

static function string MakeURLFor (GameProfile G)

Overrides: LadderInfo.MakeURLFor

create a URL for a selected profile

UpdateLadders

static function string UpdateLadders (GameProfile G, int CurrentLadder)

Overrides: LadderInfo.UpdateLadders

Update the ladder