Gah - a solution with more questions. – EntropicLqd

UE2:KickVoteMultiColumnList (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIListBase >> GUIVertList >> GUIMultiColumnList >> KickVoteMultiColumnList

Contents

Package: 
xVoting

Class: xVoting.KickVoteMultiColumnList

Multi-Column list box used to display players.

Written by Bruce Bickar (c) 2003, Epic Games, Inc. All Rights Reserved

[edit] Properties

[edit] KickVoteData

Type: array<VotingHandler.KickVoteScore>


[edit] PlayerName

Type: array<string>


[edit] PrevSortColumn

Type: int


[edit] VRI

Type: VotingReplicationInfo


[edit] Default values

Property Value
ColumnHeadingHints[0] "Player Name"
ColumnHeadingHints[1] "Player's Team"
ColumnHeadingHints[2] "Player's ID number"
ColumnHeadingHints[3] "Number of kick votes registered against this player."
ColumnHeadings[0] "Player Name"
ColumnHeadings[1] "Team"
ColumnHeadings[2] "ID"
ColumnHeadings[3] "Votes"
InitColumnPerc[0] 0.55
InitColumnPerc[1] 0.15
InitColumnPerc[2] 0.15
InitColumnPerc[3] 0.15
SelectedStyleName "BrowserListSelection"
SortColumn 2
SortDescending True
StyleName "ServerBrowserGrid"

[edit] Functions

[edit] Events

[edit] Free

event Free ()

Overrides: GUIComponent.Free


[edit] OnSortChanged

event OnSortChanged ()

Overrides: GUIMultiColumnList.OnSortChanged


[edit] timer

event timer ()

Overrides: GUIComponent.Timer


[edit] Other instance functions

[edit] Clear

function Clear ()

Overrides: GUIMultiColumnList.Clear


[edit] DrawItem

function DrawItem (Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending)


[edit] GetSelectedPlayerID

function int GetSelectedPlayerID ()


[edit] GetSelectedPlayerName

function string GetSelectedPlayerName ()


[edit] GetSelectedTeam

function int GetSelectedTeam ()


[edit] GetSortString

function string GetSortString (int i)

Overrides: GUIMultiColumnList.GetSortString


[edit] LoadPlayerList

function LoadPlayerList (VotingReplicationInfo LoadVRI)


[edit] UpdatedVoteCount

function UpdatedVoteCount (int PlayerID, int VoteCount)