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

GUI2K4.SPHighScore

Extends
SPHighScoreBase

Core.Object
|   
+-- GUI2K4.SPHighScoreBase
   |   
   +-- GUI2K4.SPHighScore

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
stringCheaterName
intMaxEntries
stringPlayerIDHash
array<HighScoreEntry>Scores
Inherited Variables from GUI2K4.SPHighScoreBase
UnlockedChars
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
HighScoreEntry
Name, Balance, Matches, Wins, Difficulty, bDrone
Inherited Structures from Core.Object
BoundingVolume, Box, Color, CompressedPosition, Coords, FloatBox, Guid, IntBox, InterpCurve, InterpCurvePoint, Matrix, Plane, Quat, Range, RangeVector, Rotator, Scale, TMultiMap, Vector

Delegates Summary
delegate CharUnlocked (string CharName)

Functions Summary
functionint AddHighScore (UT2K4GameProfile GP)
functionint CalcScore (HighScoreEntry entry)
functionstring StoredPlayerID ()
function UnlockChar (string char, optional string PlayerHash)
Inherited Functions from GUI2K4.SPHighScoreBase
StoredPlayerID, UnlockChar
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

CheaterName Source code

var localized string CheaterName;

MaxEntries Source code

var int MaxEntries;

PlayerIDHash Source code

var protected string PlayerIDHash;
To prevent cheating

Scores Source code

var array<HighScoreEntry> Scores;
sorted list


Structures Detail

HighScoreEntry Source code

struct HighScoreEntry
{
var int Balance;
var bool bDrone;
var float Difficulty;
var int Matches;
var string Name;
var int Wins;
};



Delegates Detail

CharUnlocked Source code

delegate CharUnlocked ( string CharName )


Functions Detail

AddHighScore Source code

function int AddHighScore ( UT2K4GameProfile GP )
return's true when added

CalcScore Source code

static function int CalcScore ( HighScoreEntry entry )

StoredPlayerID Source code

function string StoredPlayerID ( )

UnlockChar Source code

function UnlockChar ( string char, optional string PlayerHash )


Defaultproperties

defaultproperties
{
     Scores(0)=(Name="Xan Kriegor",Balance=5000,Matches=40,Wins=40,Difficulty=2.000000,bDrone=True)
     Scores(1)=(Name="Clan Lord",Balance=4900,Matches=45,Wins=41,Difficulty=2.000000,bDrone=True)
     Scores(2)=(Name="Malcolm",Balance=4800,Matches=50,Wins=42,Difficulty=2.000000,bDrone=True)
     Scores(3)=(Name="Dominator",Balance=4700,Matches=55,Wins=43,Difficulty=2.000000,bDrone=True)
     Scores(4)=(Name="Enigma",Balance=4600,Matches=60,Wins=44,Difficulty=2.000000,bDrone=True)
     Scores(5)=(Name="Jakob",Balance=4500,Matches=65,Wins=45,Difficulty=2.000000,bDrone=True)
     Scores(6)=(Name="Cyclops",Balance=4400,Matches=70,Wins=46,Difficulty=2.000000,bDrone=True)
     Scores(7)=(Name="Drekorig",Balance=4300,Matches=75,Wins=47,Difficulty=2.000000,bDrone=True)
     Scores(8)=(Name="Aryss",Balance=4200,Matches=80,Wins=48,Difficulty=2.000000,bDrone=True)
     Scores(9)=(Name="Axon",Balance=4100,Matches=85,Wins=49,Difficulty=2.000000,bDrone=True)
     Scores(10)=(Name="Skakruk",Balance=4000,Matches=90,Wins=50,Difficulty=2.000000,bDrone=True)
     Scores(11)=(Name="Tamika",Balance=3900,Matches=95,Wins=51,Difficulty=2.000000,bDrone=True)
     Scores(12)=(Name="Cathode",Balance=3800,Matches=100,Wins=52,Difficulty=2.000000,bDrone=True)
     Scores(13)=(Name="Guardian",Balance=3700,Matches=105,Wins=53,Difficulty=2.000000,bDrone=True)
     Scores(14)=(Name="Othello",Balance=3600,Matches=110,Wins=54,Difficulty=2.000000,bDrone=True)
     Scores(15)=(Name="Kraagesh",Balance=3500,Matches=115,Wins=55,Difficulty=2.000000,bDrone=True)
     Scores(16)=(Name="Azure",Balance=3400,Matches=120,Wins=56,Difficulty=2.000000,bDrone=True)
     Scores(17)=(Name="Mr.Crow",Balance=3300,Matches=125,Wins=57,Difficulty=2.000000,bDrone=True)
     Scores(18)=(Name="Gaargod",Balance=3200,Matches=130,Wins=58,Difficulty=2.000000,bDrone=True)
     Scores(19)=(Name="Annika",Balance=3100,Matches=135,Wins=59,Difficulty=2.000000,bDrone=True)
     Scores(20)=(Name="Greith",Balance=3000,Matches=140,Wins=60,Difficulty=2.000000,bDrone=True)
     Scores(21)=(Name="Gkublok",Balance=2900,Matches=145,Wins=61,Difficulty=2.000000,bDrone=True)
     Scores(22)=(Name="Zarina",Balance=2800,Matches=150,Wins=62,Difficulty=2.000000,bDrone=True)
     Scores(23)=(Name="Gorge",Balance=2700,Matches=155,Wins=63,Difficulty=2.000000,bDrone=True)
     Scores(24)=(Name="Perdition",Balance=2600,Matches=160,Wins=64,Difficulty=2.000000,bDrone=True)
     MaxEntries=25
     CheaterName="*** CHEATER ***"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Mo 16.4.2007 11:20:30.796 - Created with UnCodeX