I don't need to test my programs. I have an error-correcting modem.

UE2:UT2K4LadderInfo (UT2004)

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

Single Player Ladder Info

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

Properties[edit]

See UT2K4LadderInfo properties.

Static functions[edit]

GetAltLevel[edit]

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[edit]

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

return a random or selected challenge game

GetCurrentMatchInfo[edit]

static function MatchInfo GetCurrentMatchInfo (GameProfile G)

Overrides: LadderInfo.GetCurrentMatchInfo


GetLadderDescription[edit]

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


GetMatchDescription[edit]

static function string GetMatchDescription (GameProfile G)

Overrides: LadderInfo.GetMatchDescription

Return the friendly name of the current match's gametype

GetMatchInfo[edit]

static function MatchInfo GetMatchInfo (int ladder, int rung)

Overrides: LadderInfo.GetMatchInfo

for backward compatibility

GetRandomLadder[edit]

static function int GetRandomLadder (optional bool bIncludeChamp)

return the id of a random ladder

GetUT2K4MatchInfo[edit]

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[edit]

static function bool HasAltLevel (int ladder, int rung)

check if there is an alternative level

LengthOfLadder[edit]

static function int LengthOfLadder (int ladder)

Overrides: LadderInfo.LengthOfLadder

Get the number of matches in a ladder

MakeURLFoMatchInfo[edit]

static function string MakeURLFoMatchInfo (MatchInfo M, GameProfile G)

create a URL for the selected MatchInfo

MakeURLFor[edit]

static function string MakeURLFor (GameProfile G)

Overrides: LadderInfo.MakeURLFor

create a URL for a selected profile

UpdateLadders[edit]

static function string UpdateLadders (GameProfile G, int CurrentLadder)

Overrides: LadderInfo.UpdateLadders

Update the ladder