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

UTDom.DomPlayerController

Modifiers
config ( Dom )

Used to save the players preffered team for use with the TeamPicker (UIDomPlayerConfigScene) Writen by Brian 'Snake' Alexander. Copyright(c) 2010 All Rights Reserved.

UTDom.DomPlayerController

Variables Summary
boolbHasSavedTeam
byteSavedTeamID

Functions Summary
functionbyte GetSavedTeamID (byte MaxTeamID))
functionbool HasSavedTeam ()))
functionbyte IsValidDOMTeamID (byte MyTeamID, byte MaxTeams))
function SetSavedTeamID (byte NewSavedTeamID))


Variables Detail

bHasSavedTeam Source code

var config bool bHasSavedTeam;

SavedTeamID Source code

var config byte SavedTeamID;


Functions Detail

GetSavedTeamID Source code

reliable client function byte GetSavedTeamID ( byte MaxTeamID) )
Returns a valid SavedTeamID value
@param MaxTeamID The highest TeamID in the current game.Expecting a number between 1 and 3.

HasSavedTeam Source code

reliable client function bool HasSavedTeam ( ) )
returns the players bHasSavedTeam value

IsValidDOMTeamID Source code

static function byte IsValidDOMTeamID ( byte MyTeamID, byte MaxTeams) )
validates the input for a value between 0-3 otherwise default to 0
@param MyTeamID The value to validate
@param MaxTeams The number of teams in the current game

SetSavedTeamID Source code

reliable client function SetSavedTeamID ( byte NewSavedTeamID) )
Saves a valid SavedTeamID value
@param NewSavedTeamID The highest TeamID in the current game.Expecting a number between 1 and 3.


Defaultproperties

defaultproperties
{
   SavedTeamID=0

   bHasSavedTeam=True

}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 23/12/2011 20:31:25.705 - Created with UnCodeX