Cogito, ergo sum
UE3:UTScoreboardPanel instance functions (UDK)
Object >> UIRoot >> UIScreenObject >> UIObject >> UTUI_Widget >> UTDrawPanel >> UTScoreboardPanel (instance functions) |
Contents
- 1 Instance functions
- 1.1 AutoFit
- 1.2 ChangeSelection
- 1.3 CheckSelectedPRI
- 1.4 DrawClanTag
- 1.5 DrawHighlight
- 1.6 DrawMisc
- 1.7 DrawPlayerName
- 1.8 DrawPlayerNum
- 1.9 DrawPRI
- 1.10 DrawScore
- 1.11 DrawScoreHeader
- 1.12 DrawString
- 1.13 DrawTeamScore
- 1.14 GetClanTagStr
- 1.15 GetHeaderColor
- 1.16 GetLeftMisc
- 1.17 GetMousePosition
- 1.18 GetPlayerDeaths
- 1.19 GetPlayerNameStr
- 1.20 GetPlayerScore
- 1.21 GetPRIList
- 1.22 GetRightMisc
- 1.23 GetTimeOnline
- 1.24 IsValidScoreboardPlayer
- 1.25 NotifyGameSessionEnded
- 1.26 OnNotifyResolutionChanged
- 1.27 ProcessInputKey
- 1.28 SelectUnderCursor
- 1.29 SetHeaderStrings
- 1.30 SizeFonts
- 1.31 StrLen
- 1.32 UserString
- UTScoreboardPanel instance functions in other games:
- UT3
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Instance functions[edit]
AutoFit[edit]
Figure a way to fit the data. This will probably be specific to each game type
Parameters:
- GRI - The Game ReplicationIfno
- FontIndex - The Index to use for the main text
- ClanTagFontIndex - The Index to use for the Clan Tag
- MiscFontIndex - The Index to use for the Misc tag
- FontSCale - The final font scaling factor to use if all else fails
- bPrimeList - Should only be true the first call. Will build a list of who needs to be checked.
ChangeSelection[edit]
[ InteractiveMode ]****************************
CheckSelectedPRI[edit]
DrawClanTag[edit]
Draw the player's clan tag.
DrawHighlight[edit]
Draw any highlights. These should render underneath the full width of the cell
DrawMisc[edit]
Draw any Misc data
DrawPlayerName[edit]
Draw the Player's Name
DrawPlayerNum[edit]
Draw's the player's Number (ie "1.")
DrawPRI[edit]
Draw an full cell.. Call the functions above.
DrawScore[edit]
Draw the Player's Score
DrawScoreHeader[edit]
DrawString[edit]
Our own implementation of DrawString that manages font lookup and scaling
DrawTeamScore[edit]
Default to drawing nothing
GetClanTagStr[edit]
Returns the Clan Tag in the PRI
GetHeaderColor[edit]
Get the header color
GetLeftMisc[edit]
Get the Left Misc string
GetMousePosition[edit]
GetPlayerDeaths[edit]
Returns the # of deaths as a string
GetPlayerNameStr[edit]
Returns the Player's Name
GetPlayerScore[edit]
Returns the score as a string
GetPRIList[edit]
Scan the PRIArray and get any valid PRI's for display
GetRightMisc[edit]
Get the Right Misc string
GetTimeOnline[edit]
Returns the time online as a string
IsValidScoreboardPlayer[edit]
Tests a PRI to see if we should display it on the scoreboard
Parameters:
- PRI - The PRI to test
Returns:
- TRUE if we should display it, returns FALSE if we shouldn't
NotifyGameSessionEnded[edit]
Overrides: UTUI_Widget.NotifyGameSessionEnded
OnNotifyResolutionChanged[edit]
Whenever there is a resolution change, make sure we recache the font sizes
ProcessInputKey[edit]
SelectUnderCursor[edit]
SetHeaderStrings[edit]
Sets the header strings using localized values
SizeFonts[edit]
Precache the sizing of the fonts so we don't have to constant look it up
StrLen[edit]
Our own version of StrLen that manages font lookup and scaling
UserString[edit]
Does string replace on the user string for several values