Gah - a solution with more questions. – EntropicLqd

UE2:VotingHandler (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> VotingHandler
Package: 
Engine
Direct subclass:
XVotingHandler

Class: Engine.VotingHandler

Base class for the VotingHandler that handles the server side of map and kick voting.

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

Structs[edit]

AccumulationData[edit]

string Name 
int VoteCount 

KickVoteScore[edit]

int PlayerID 
int Team 
int KickVoteCount 

MapHistoryInfo[edit]

string
MapName - Used short/single character var names to keep ini file smaller
int
Play count. Number of times map has been played
int
Sequence. The order in which the map was played
string
per map game options
string
per map mutators

MapVoteGameConfig[edit]

string GameClass 
code class of game type. XGame.xDeathMatch
string Prefix 
MapName Prefix. DM, CTF, BR etc.
string Acronym 
Game Acronym (appended to map names in messages to help identify game type for map)
string GameName 
Name or Title of the game type. "DeathMatch", "Capture The Flag"
string Mutators 
Mutators to load with this gametype. "XGame.MutInstaGib,UnrealGame.MutBigHead,UnrealGame.MutLowGrav"
string Options 
Game Options

MapVoteGameConfigLite[edit]

string GameClass 
code class of game type. XGame.xDeathMatch
string Prefix 
MapName Prefix. DM, CTF, BR etc.
string GameName 
Name or Title of the game type. "DeathMatch", "Capture The Flag"

MapVoteMapList[edit]

string MapName 
int PlayCount 
int Sequence 
bool bEnabled 

MapVoteScore[edit]

int MapIndex 
int GameConfigIndex 
int VoteCount 

Functions[edit]

Static functions[edit]

FillPlayInfo[edit]

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: Info.FillPlayInfo


IsEnabled[edit]

static function bool IsEnabled ()


Instance functions[edit]

AddConfigArrayItem[edit]

function int AddConfigArrayItem (string ConfigArrayName)


DeleteConfigArrayItem[edit]

function DeleteConfigArrayItem (string ConfigArrayName, int RowIndex)


GetConfigArrayColumnTitle[edit]

function string GetConfigArrayColumnTitle (string ConfigArrayName, int ColumnIndex)


GetConfigArrayData[edit]

function string GetConfigArrayData (string ConfigArrayName, int RowIndex, int ColumnIndex)


GetConfigArrayItemCount[edit]

function int GetConfigArrayItemCount (string ConfigArrayName)


GetServerDetails[edit]

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)


HandleRestartGame[edit]

function bool HandleRestartGame ()


PlayerExit[edit]

function PlayerExit (Controller Exiting)


PlayerJoin[edit]

function PlayerJoin (PlayerController Player)


ReloadAll[edit]

function ReloadAll (optional bool bParam)


UpdateConfigArrayItem[edit]

function UpdateConfigArrayItem (string ConfigArrayName, int RowIndex, int ColumnIndex, string NewValue)