UE3:UTVoteCollector (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 03:44, 26 July 2008 by Unknown user (talk)
UT3 Object >> Actor >> Info >> UTVoteCollector
Package:
UTGame

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

Properties

bInEndGameVote

Type: bool


bVoteDecided

Type: bool


GameInfoRef

Type: UTGame


Votes

Type: array<MapVoteInfo>


VRIClass

Type: class<UTVoteReplicationInfo>


Default value: Class'UTGame.UTVoteReplicationInfo'

VRIList

Type: array<UTVoteReplicationInfo>


WinningIndex

Type: int


Default value: -1

Default values

Subobjects

Sprite

Class: Engine.SpriteComponent

Inherits from: Info.Sprite

No new values.

Structs

MapVoteInfo

Modifiers: native

The collection of maps + votes

int MapID
An INT id that represents this map.
string Map
The Name of the map
byte NoVotes
Number of votes this map has

Default values:

Property Value
MapID -1

Functions

Native functions

GetMapIndex

native function int GetMapIndex (int MapID)


Other instance functions

AddVoteFor

function int AddVoteFor (out int CurrentVoteID)


AttachVoteReplicationInfo

function AttachVoteReplicationInfo (UTPlayerController PC)


BeginMidGameMapVote

function BeginMidGameMapVote (optional int CurWinIndex)


BroadcastVoteChange

function BroadcastVoteChange (int MapID, byte VoteCount)


CheckMapVoteCount

function bool CheckMapVoteCount (int Idx)


FindBestMap

function int FindBestMap ()


GetWinningMap

function string GetWinningMap ()


Initialize

function Initialize (array<stringMapList)


MapVoteInProgress

function bool MapVoteInProgress ()


MapVotePassed

function MapVotePassed (int WinIdx)


NotifyEndGameVote

function NotifyEndGameVote ()


NotifyPlayerExiting

function NotifyPlayerExiting (UTPlayerController Player)


NotifyPlayerJoined

function NotifyPlayerJoined (UTPlayerController Player)


RemoveVoteFor

function RemoveVoteFor (out int CurrentVoteID)


TimesUp

function TimesUp ()