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

XGame.ChallengeGame

Extends
Object
Modifiers
abstract

Core.Object
|   
+-- XGame.ChallengeGame

Direct Known Subclasses:

BloodRites, ManoEMano

Constants Summary
Inherited Contants from Core.Object
MaxInt, Pi, RF_NotForClient, RF_NotForEdit, RF_NotForServer, RF_Public, RF_Standalone, RF_Transactional, RF_Transient

Variables Summary
stringChallengeDescription
stringChallengeMenu
stringChallengeName
stringmsgFor
stringmsgGotChallenged
stringmsgWeChallenged
Inherited Variables from Core.Object
Class, Name, ObjectFlags, ObjectInternal[7], Outer

Enumerations Summary
Inherited Enumerations from Core.Object
EAxis, ECamOrientation, EDetailMode, EDrawPivot, ESheerAxis

Structures Summary
TriString
GUIPage, Param1, Param2
Inherited Structures from Core.Object
BoundingVolume, Box, Color, CompressedPosition, Coords, FloatBox, Guid, IntBox, InterpCurve, InterpCurvePoint, Matrix, Plane, Quat, Range, RangeVector, Rotator, Scale, TMultiMap, Vector

Functions Summary
function AddHistoryRecord (UT2K4GameProfile GP, int offset, GameInfo Game, PlayerReplicationInfo PRI, UT2K4MatchInfo MI))
functionbool canChallenge (optional UT2K4GameProfile GP))
functionbool HandleRequirements (UT2K4GameProfile GP, array<string> SpecialEvent, out array<TriString> GUIPages))
function HandleSpecialEvent (UT2K4GameProfile GP, array<string> SpecialEvent, out array<TriString> GUIPages))
functionbool injureTeamMate (UT2K4GameProfile GP))
functionbool payTeamMates (UT2K4GameProfile GP))
function PostRegisterGame (UT2K4GameProfile GP, GameInfo currentGame, PlayerReplicationInfo PRI))
function PreRegisterGame (UT2K4GameProfile GP, GameInfo currentGame, PlayerReplicationInfo PRI))
function StartChallenge (UT2K4GameProfile GP, LevelInfo myLevel))
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, AllObjects, Asc, Asin, Atan, BeginState, Caps, Ceil, Chr, Clamp, ClassIsChildOf, ClearConfig, ClockwiseFrom, Cos, Created, Cross, Disable, Divide, Dot, DynamicLoadObject, EatStr, Enable, EndState, Eval, Exp, FClamp, FindObject, FMax, FMin, FRand, GetAxes, GetEnum, GetItemName, GetPerObjectNames, GetPropertyText, GetReferencers, GetStateName, GetUnAxes, GotoState, InStr, InterpCurveEval, InterpCurveGetInputDomain, InterpCurveGetOutputRange, Invert, IsA, IsInState, IsOnConsole, IsSoaking, Left, Len, Lerp, Localize, Locs, Log, Loge, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, OrthoRotation, PlatformIs64Bit, PlatformIsMacOS, PlatformIsUnix, PlatformIsWindows, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, Repl, ReplaceText, ResetConfig, Right, RotRand, Round, SaveConfig, SetPropertyText, Sin, Smerp, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, StopWatch, StrCmp, Tan, VRand, VSize, Warn, ^, ^^, |, ||, ~, ~=


Variables Detail

ChallengeDescription Source code

var localized string ChallengeDescription;
description of the challenge

ChallengeMenu Source code

var string ChallengeMenu;
the challenge configuration menu

ChallengeName Source code

var localized string ChallengeName;
name of this challenge

msgFor Source code

var localized string msgFor;

msgGotChallenged Source code

var localized string msgGotChallenged;

msgWeChallenged Source code

var localized string msgWeChallenged;


Structures Detail

TriString Source code

struct TriString
{
var string GUIPage;
var string Param1;
var string Param2;
};



Functions Detail

AddHistoryRecord Source code

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

canChallenge Source code

static function bool canChallenge ( optional UT2K4GameProfile GP) )
Return true when this challenge game can be used to challenge the player

HandleRequirements Source code

static function bool HandleRequirements ( UT2K4GameProfile GP, array<string> SpecialEvent, out array<TriString> GUIPages) )
Handle match requirements, return false if a requirement has not been met

HandleSpecialEvent Source code

static function HandleSpecialEvent ( UT2K4GameProfile GP, array<string> SpecialEvent, out array<TriString> GUIPages) )
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.

injureTeamMate Source code

static function bool injureTeamMate ( UT2K4GameProfile GP) )
Return true when a team mate _may_ be injured, this does not mean a team mate will be injured. By default only challenged that where initiated by the player may have a team mate injured.

payTeamMates Source code

static function bool payTeamMates ( UT2K4GameProfile GP) )
return true when the team mates should be payed

PostRegisterGame Source code

static function PostRegisterGame ( UT2K4GameProfile GP, GameInfo currentGame, PlayerReplicationInfo PRI) )
called from GameProfile.RegisterGame() after everything is processed

PreRegisterGame Source code

static function PreRegisterGame ( UT2K4GameProfile GP, GameInfo currentGame, PlayerReplicationInfo PRI) )
called from GameProfile.RegisterGame() before anything is processed

StartChallenge Source code

static function StartChallenge ( UT2K4GameProfile GP, LevelInfo myLevel) )
start this challenge


Defaultproperties

defaultproperties
{
     msgGotChallenged="We got challenged"
     msgWeChallenged="We challenged"
     msgFor="for"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 09:49:35.987 - Created with UnCodeX