I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:MapVoteCountMultiColumnList (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

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

Contents

Package: 
xVoting

Class: xVoting.MapVoteCountMultiColumnList

Multi-Column list box used to display maps and game types.

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

[edit] Properties

[edit] PrevSortColumn

Type: int


[edit] VRI

Type: VotingReplicationInfo


[edit] Default values

Property Value
ColumnHeadingHints[0] "Game Type"
ColumnHeadingHints[1] "Map Name"
ColumnHeadingHints[2] "Number of votes registered for this map."
ColumnHeadings[0] "GameType"
ColumnHeadings[1] "MapName"
ColumnHeadings[2] "Votes"
InitColumnPerc[0] 0.3
InitColumnPerc[1] 0.4
InitColumnPerc[2] 0.3
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] Other instance functions

[edit] DrawItem

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


[edit] GetSelectedGameConfigIndex

function int GetSelectedGameConfigIndex ()


[edit] GetSelectedMapIndex

function int GetSelectedMapIndex ()


[edit] GetSelectedMapName

function string GetSelectedMapName ()


[edit] GetSortString

function string GetSortString (int i)

Overrides: GUIMultiColumnList.GetSortString


[edit] InternalOnDragDrop

function bool InternalOnDragDrop (GUIComponent Sender)

Overrides: GUIListBase.InternalOnDragDrop


[edit] LoadList

function LoadList (VotingReplicationInfo LoadVRI)


[edit] UpdatedVoteCount

function UpdatedVoteCount (int UpdatedIndex, bool bRemoved)