Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

Difference between revisions of "UE3:UTUITabPage VoteTab (UT3)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (1 revision)
(updated members)
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
  
 
==Properties==
 
==Properties==
 +
====bAddMutator====
 +
'''Type:''' [[bool]]
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====bForceVote====
 +
'''Type:''' [[bool]]
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====bGameVotingInitialized====
 +
'''Type:''' [[bool]]
 +
 +
<!-- enter variable description -->
 +
 +
====bMapVotingInitialized====
 +
'''Type:''' [[bool]]
 +
 +
<!-- enter variable description -->
 +
 +
====bMutatorVotingInitialized====
 +
'''Type:''' [[bool]]
 +
 +
<!-- enter variable description -->
 +
 +
====bOldAdminStatus====
 +
'''Type:''' [[bool]]
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====bRefreshVoteLists====
 +
'''Type:''' [[bool]]
 +
 +
<!-- enter variable description -->
 +
 
====bShowingVotes====
 
====bShowingVotes====
 
'''Type:''' [[bool]]
 
'''Type:''' [[bool]]
Line 30: Line 71:
  
 
====ConText====
 
====ConText====
 +
'''Type:''' {{cl|UILabel}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====DefaultVoteCellStyle====
 +
'''Type:''' {{tl|UIStyleReference|UIRoot|structs}}
 +
 +
<!-- enter variable description -->
 +
 +
'''Default value:'''
 +
{| class="list defaults"
 +
! {{tl|UIStyleReference||UIRoot structs|Member}}
 +
! Value
 +
|-
 +
| DefaultStyleTag
 +
| 'DefaultCellStyleSelected'
 +
|-
 +
| RequiredStyleClass
 +
| [[Types#Class|Class]]'{{cl|UIStyle_Combo|Engine}}'
 +
|}
 +
 +
====DefaultVoteOverlayStyle====
 +
'''Type:''' {{tl|UIStyleReference|UIRoot|structs}}
 +
 +
<!-- enter variable description -->
 +
 +
'''Default value:'''
 +
{| class="list defaults"
 +
! {{tl|UIStyleReference||UIRoot structs|Member}}
 +
! Value
 +
|-
 +
| DefaultStyleTag
 +
| 'ListItemBackgroundSelectedStyle'
 +
|-
 +
| RequiredStyleClass
 +
| [[Types#Class|Class]]'{{cl|UIStyle_Image|Engine}}'
 +
|}
 +
 +
====GameList====
 +
'''Type:''' {{cl|UIList}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====GameListImg====
 +
'''Type:''' {{cl|UIImage}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====GameListImgBG====
 +
'''Type:''' {{cl|UIImage}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====GameListLabel====
 +
'''Type:''' {{cl|UILabel}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====GameVotesLabel====
 
'''Type:''' {{cl|UILabel}}
 
'''Type:''' {{cl|UILabel}}
  
Line 47: Line 157:
  
 
'''[[Variables#Modifiers|Modifiers]]:''' transient
 
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====LastFocusedList====
 +
'''Type:''' {{cl|UIList}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====LastPCountTimestamp====
 +
'''Type:''' [[float]]
 +
 +
<!-- enter variable description -->
 +
 +
====LastPlayerCount====
 +
'''Type:''' [[int]]
  
 
<!-- enter variable description -->
 
<!-- enter variable description -->
Line 54: Line 181:
  
 
list of local maps - used to get more friendly names when possible
 
list of local maps - used to get more friendly names when possible
 +
 +
====MapList====
 +
'''Type:''' {{cl|UIList}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====MapListImg====
 +
'''Type:''' {{cl|UIImage}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====MapListImgBG====
 +
'''Type:''' {{cl|UIImage}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====MapListLabel====
 +
'''Type:''' {{cl|UILabel}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====MapSwitchTimestamp====
 +
'''Type:''' [[float]]
 +
 +
<!-- enter variable description -->
  
 
====MapVoteInfo====
 
====MapVoteInfo====
Line 68: Line 228:
  
 
<!-- enter variable description -->
 
<!-- enter variable description -->
 +
 +
====MapVotesLabel====
 +
'''Type:''' {{cl|UILabel}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====MutatorList====
 +
'''Type:''' {{cl|UIList}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====MutatorListImg====
 +
'''Type:''' {{cl|UIImage}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====MutatorListImgBG====
 +
'''Type:''' {{cl|UIImage}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====MutatorListLabel====
 +
'''Type:''' {{cl|UILabel}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====MutatorVotesLabel====
 +
'''Type:''' {{cl|UILabel}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====MutHeaderIndicies====
 +
'''Type:''' [[int]]
 +
 +
'''[[Static arrays|Array size]]:''' 2
 +
 +
<!-- enter variable description -->
 +
 +
====StringDataStore====
 +
'''Type:''' {{cl|UTUIDataStore_2DStringList}}
 +
 +
<!-- enter variable description -->
 +
 +
====VoteMenuHintLabel====
 +
'''Type:''' {{cl|UILabel}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====WinningGameIndex====
 +
'''Type:''' [[int]]
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====WinningMapIndex====
 +
'''Type:''' [[int]]
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
<!-- enter variable description -->
 +
 +
====WinningVoteCellStyle====
 +
'''Type:''' {{tl|UIStyleReference|UIRoot|structs}}
 +
 +
<!-- enter variable description -->
 +
 +
'''Default value:'''
 +
{| class="list defaults"
 +
! {{tl|UIStyleReference||UIRoot structs|Member}}
 +
! Value
 +
|-
 +
| DefaultStyleTag
 +
| 'DefaultCellStyleHover'
 +
|-
 +
| RequiredStyleClass
 +
| [[Types#Class|Class]]'{{cl|UIStyle_Combo|Engine}}'
 +
|}
 +
 +
====WinningVoteOverlayStyle====
 +
'''Type:''' {{tl|UIStyleReference|UIRoot|structs}}
 +
 +
<!-- enter variable description -->
 +
 +
'''Default value:'''
 +
{| class="list defaults"
 +
! {{tl|UIStyleReference||UIRoot structs|Member}}
 +
! Value
 +
|-
 +
| DefaultStyleTag
 +
| 'ListItemBackgroundHoverStyle'
 +
|-
 +
| RequiredStyleClass
 +
| [[Types#Class|Class]]'{{cl|UIStyle_Image|Engine}}'
 +
|}
  
 
===Default values===
 
===Default values===
Line 75: Line 344:
 
|-
 
|-
 
| {{tl|OnTick||UTTabPage}}
 
| {{tl|OnTick||UTTabPage}}
| {{tl|TabTick}}
+
| {{tl|TabTick||UTUITabPage_VoteTab instance functions}}
 
|-
 
|-
 
| {{tl|bRequiresTick||UTTabPage}}
 
| {{tl|bRequiresTick||UTTabPage}}
Line 88: Line 357:
  
 
''No new values.''
 
''No new values.''
 +
 +
==Enums==
 +
====EVoteListState====
 +
<!-- enter enum description -->
 +
; VLS_Hidden : <!-- enter enum value description -->
 +
; VLS_Visible : <!-- enter enum value description -->
 +
; VLS_Disabled : <!-- enter enum value description -->
  
 
==Functions==
 
==Functions==
Line 99: Line 375:
  
 
===Other instance functions===
 
===Other instance functions===
====BeginVoting====
+
See {{cl|UTUITabPage_VoteTab instance functions}}.
{{code|function '''BeginVoting''' ({{cl|UTVoteReplicationInfo}}&nbsp;'''VoteRI''')}}
+
 
+
<!-- enter function description -->
+
 
+
====CheckGameStatus====
+
{{code|function '''CheckGameStatus''' ()}}
+
 
+
<!-- enter function description -->
+
 
+
====DrawVote====
+
{{code|function [[bool]]&nbsp;'''DrawVote''' ({{cl|UTSimpleList}}&nbsp;'''SimpleList''', [[int]]&nbsp;'''ItemIndex''', [[float]]&nbsp;'''XPos''', out&nbsp;[[float]]&nbsp;'''YPos''')}}
+
 
+
<!-- enter function description -->
+
 
+
====DrawVotePostSelectionBar====
+
{{code|function [[bool]]&nbsp;'''DrawVotePostSelectionBar''' ({{cl|UTSimpleList}}&nbsp;'''SimpleList''', [[float]]&nbsp;'''YPos''', [[float]]&nbsp;'''Width''', [[float]]&nbsp;'''Height''')}}
+
 
+
<!-- enter function description -->
+
 
+
====FindWinningMap====
+
{{code|function '''FindWinningMap''' ()}}
+
 
+
<!-- enter function description -->
+
 
+
====GetMapFriendlyName====
+
{{code|function [[string]]&nbsp;'''GetMapFriendlyName''' ([[string]]&nbsp;'''Map''')}}
+
 
+
<!-- enter function description -->
+
 
+
====GetVoteRI====
+
{{code|function {{cl|UTVoteReplicationInfo}}&nbsp;'''GetVoteRI''' ()}}
+
 
+
<!-- enter function description -->
+
 
+
====RecordVote====
+
{{code|function '''RecordVote''' ({{cl|UTSimpleList}}&nbsp;'''SourceList''', [[int]]&nbsp;'''SelectedIndex''', [[int]]&nbsp;'''PlayerIndex''')}}
+
 
+
<!-- enter function description -->
+
 
+
====TabTick====
+
{{code|function '''TabTick''' ([[float]]&nbsp;'''DeltaTime''')}}
+
 
+
This tab is being ticked
+
 
+
====TrimGameType====
+
{{code|function [[string]]&nbsp;'''TrimGameType''' ([[string]]&nbsp;'''Map''')}}
+
 
+
OBSOLETE - used GetMapFriendlyName
+

Latest revision as of 06:44, 16 August 2009

UT3 Object >> UIRoot >> UIScreenObject >> UIObject >> UIContainer >> UITabPage >> UTTabPage >> UTTabPage_MidGame >> UTUITabPage_VoteTab
Package: 
UTGame
Implemented interfaces
UIDataStoreSubscriber

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Properties[edit]

bAddMutator[edit]

Type: bool

Modifiers: transient


bForceVote[edit]

Type: bool

Modifiers: transient


bGameVotingInitialized[edit]

Type: bool


bMapVotingInitialized[edit]

Type: bool


bMutatorVotingInitialized[edit]

Type: bool


bOldAdminStatus[edit]

Type: bool

Modifiers: transient


bRefreshVoteLists[edit]

Type: bool


bShowingVotes[edit]

Type: bool

Modifiers: transient


ConsoleTextCnt[edit]

Type: int

Modifiers: transient


ConText[edit]

Type: UILabel

Modifiers: transient


DefaultVoteCellStyle[edit]

Type: UIRoot.UIStyleReference


Default value:

Member Value
DefaultStyleTag 'DefaultCellStyleSelected'
RequiredStyleClass Class'Engine.UIStyle_Combo'

DefaultVoteOverlayStyle[edit]

Type: UIRoot.UIStyleReference


Default value:

Member Value
DefaultStyleTag 'ListItemBackgroundSelectedStyle'
RequiredStyleClass Class'Engine.UIStyle_Image'

GameList[edit]

Type: UIList

Modifiers: transient


GameListImg[edit]

Type: UIImage

Modifiers: transient


GameListImgBG[edit]

Type: UIImage

Modifiers: transient


GameListLabel[edit]

Type: UILabel

Modifiers: transient


GameVotesLabel[edit]

Type: UILabel

Modifiers: transient


LastBestVoteCount[edit]

Type: int

Modifiers: transient


LastBestVoteIndex[edit]

Type: int

Modifiers: transient


LastFocusedList[edit]

Type: UIList

Modifiers: transient


LastPCountTimestamp[edit]

Type: float


LastPlayerCount[edit]

Type: int


LocalMapList[edit]

Type: array<UTUIDataProvider_MapInfo>

list of local maps - used to get more friendly names when possible

MapList[edit]

Type: UIList

Modifiers: transient


MapListImg[edit]

Type: UIImage

Modifiers: transient


MapListImgBG[edit]

Type: UIImage

Modifiers: transient


MapListLabel[edit]

Type: UILabel

Modifiers: transient


MapSwitchTimestamp[edit]

Type: float


MapVoteInfo[edit]

Type: UILabel

Modifiers: transient


MapVoteList[edit]

Type: UTSimpleList

Modifiers: transient


MapVotesLabel[edit]

Type: UILabel

Modifiers: transient


MutatorList[edit]

Type: UIList

Modifiers: transient


MutatorListImg[edit]

Type: UIImage

Modifiers: transient


MutatorListImgBG[edit]

Type: UIImage

Modifiers: transient


MutatorListLabel[edit]

Type: UILabel

Modifiers: transient


MutatorVotesLabel[edit]

Type: UILabel

Modifiers: transient


MutHeaderIndicies[edit]

Type: int

Array size: 2


StringDataStore[edit]

Type: UTUIDataStore_2DStringList


VoteMenuHintLabel[edit]

Type: UILabel

Modifiers: transient


WinningGameIndex[edit]

Type: int

Modifiers: transient


WinningMapIndex[edit]

Type: int

Modifiers: transient


WinningVoteCellStyle[edit]

Type: UIRoot.UIStyleReference


Default value:

Member Value
DefaultStyleTag 'DefaultCellStyleHover'
RequiredStyleClass Class'Engine.UIStyle_Combo'

WinningVoteOverlayStyle[edit]

Type: UIRoot.UIStyleReference


Default value:

Member Value
DefaultStyleTag 'ListItemBackgroundHoverStyle'
RequiredStyleClass Class'Engine.UIStyle_Image'

Default values[edit]

Property Value
OnTick TabTick
bRequiresTick True

Subobjects[edit]

WidgetEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UTTabPage_MidGame.WidgetEventComponent

No new values.

Enums[edit]

EVoteListState[edit]

VLS_Hidden 
VLS_Visible 
VLS_Disabled 

Functions[edit]

Events[edit]

PostInitialize[edit]

event PostInitialize ()

Overrides: UIScreenObject.PostInitialize

Called after this screen object's children have been initialized

Other instance functions[edit]

See UTUITabPage_VoteTab instance functions.