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

XGame.CustomLadderInfo


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
//==============================================================================
// Base class for custom ladders
//
// Written by Michiel Hendriks
// (c) 2003, Epic Games, Inc. All Rights Reserved
//==============================================================================

class CustomLadderInfo extends Object abstract;

var string LadderName;
var localized array<string> EntryLabels;
var array<UT2K4MatchInfo> Matches;

/**
    called when the game was a challenge game and was not one of the default special events.
    Fill the GUIPages array with pages you want to be opened after this special event has been processed.
    Yes I know this method sucks, but it was the best I could come up with without a lot of changes in the current system.
*/
static function HandleSpecialEvent(UT2K4GameProfile GP, array<string> SpecialEvent, out array<ChallengeGame.TriString> GUIPages)
{
}

/** Handle match requirements, return false if a requirement has not been met */
static function bool HandleRequirements(UT2K4GameProfile GP, array<string> SpecialEvent, out array<ChallengeGame.TriString> GUIPages)
{
    return true;
}

/**
    will be called after the default info has been added to the history record.
    override this to change or append additional into.
*/
static function AddHistoryRecord(UT2K4GameProfile GP, int offset, GameInfo Game, PlayerReplicationInfo PRI, UT2K4MatchInfo MI)
{
}

defaultproperties
{
     LadderName="Custom Ladder"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Mon 23/10/2006 20:35:10.000 - Creation time: Wed 7/2/2007 19:16:36.218 - Created with UnCodeX