Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
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
AutoFit
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
[ InteractiveMode ]****************************
CheckSelectedPRI
DrawClanTag
Draw the player's clan tag.
DrawHighlight
Draw any highlights. These should render underneath the full width of the cell
DrawMisc
Draw any Misc data
DrawPlayerName
Draw the Player's Name
DrawPlayerNum
Draw's the player's Number (ie "1.")
DrawPRI
Draw an full cell.. Call the functions above.
DrawScore
Draw the Player's Score
DrawScoreHeader
DrawString
Our own implementation of DrawString that manages font lookup and scaling
DrawTeamScore
Default to drawing nothing
GetClanTagStr
Returns the Clan Tag in the PRI
GetHeaderColor
Get the header color
GetLeftMisc
Get the Left Misc string
GetMousePosition
GetPlayerDeaths
Returns the # of deaths as a string
GetPlayerNameStr
Returns the Player's Name
GetPlayerScore
Returns the score as a string
GetPRIList
Scan the PRIArray and get any valid PRI's for display
GetRightMisc
Get the Right Misc string
GetTimeOnline
Returns the time online as a string
IsValidScoreboardPlayer
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
Overrides: UTUI_Widget.NotifyGameSessionEnded
OnNotifyResolutionChanged
Whenever there is a resolution change, make sure we recache the font sizes
ProcessInputKey
SelectUnderCursor
SetHeaderStrings
Sets the header strings using localized values
SizeFonts
Precache the sizing of the fonts so we don't have to constant look it up
StrLen
Our own version of StrLen that manages font lookup and scaling
UserString
Does string replace on the user string for several values