Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
UE2:XVotingHandler (UT2004)
Object >> Actor >> Info >> VotingHandler >> XVotingHandler |
Contents
- 1 Constants
- 2 Properties
- 2.1 Property group 'xVotingHandler'
- 2.1.1 AccInfo
- 2.1.2 bAccumulationMode
- 2.1.3 bAnonymousKicking
- 2.1.4 bAutoOpen
- 2.1.5 bDefaultToCurrentGameType
- 2.1.6 bEliminationMode
- 2.1.7 bKickVote
- 2.1.8 bMapVote
- 2.1.9 bMatchSetup
- 2.1.10 bScoreMode
- 2.1.11 CurrentGameConfig
- 2.1.12 DefaultGameConfig
- 2.1.13 GameConfig
- 2.1.14 KickPercent
- 2.1.15 MapListLoaderType
- 2.1.16 MapVoteHistoryType
- 2.1.17 MidGameVotePercent
- 2.1.18 MinMapCount
- 2.1.19 RepeatLimit
- 2.1.20 ScoreBoardDelay
- 2.1.21 ServerNumber
- 2.1.22 VoteTimeLimit
- 2.2 Internal variables
- 2.2.1 bAutoDetectMode
- 2.2.2 bLevelSwitchPending
- 2.2.3 bMidGameVote
- 2.2.4 GameConfigPage
- 2.2.5 History
- 2.2.6 KickVoteCount
- 2.2.7 lmsgAdminMapChange
- 2.2.8 lmsgAnonymousKickVote
- 2.2.9 lmsgGameConfigColumnTitle
- 2.2.10 lmsgInvalidPassword
- 2.2.11 lmsgKickVote
- 2.2.12 lmsgKickVoteAdmin
- 2.2.13 lmsgMapVotedFor
- 2.2.14 lmsgMapVotedForWithCount
- 2.2.15 lmsgMapWon
- 2.2.16 lmsgMatchSetupPermission
- 2.2.17 lmsgMidGameVote
- 2.2.18 lmsgSpectatorsCantVote
- 2.2.19 MapCount
- 2.2.20 MapList
- 2.2.21 MapListConfigPage
- 2.2.22 MapVoteCount
- 2.2.23 MapVoteHistoryClass
- 2.2.24 MatchProfile
- 2.2.25 MVRI
- 2.2.26 PropDescription
- 2.2.27 PropsDisplayText
- 2.2.28 ScoreBoardTime
- 2.2.29 ServerTravelString
- 2.2.30 ServerTravelTime
- 2.2.31 TextMessage
- 2.2.32 TimeLeft
- 2.1 Property group 'xVotingHandler'
- 3 Functions
- Package:
- xVoting
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Class: xVoting.xVotingHandler
xVotingHandler handles the server side of map voting, kick voting, and match setup.
Written by Bruce Bickar (c) 2003, Epic Games, Inc. All Rights Reserved
Constants[edit]
MAPVOTEALLOWED[edit]
Value: True
KICKVOTEALLOWED[edit]
Value: True
MATCHSETUPALLOWED[edit]
Value: False
Properties[edit]
Property group 'xVotingHandler'[edit]
AccInfo[edit]
Type: array<VotingHandler.AccumulationData>
Modifiers: config
used to save player's unused votes between maps when in Accumulation mode
bAccumulationMode[edit]
Type: bool
Modifiers: config
bAnonymousKicking[edit]
Type: bool
Modifiers: config
Default value: True
bAutoOpen[edit]
Type: bool
Modifiers: config
Default value: True
bDefaultToCurrentGameType[edit]
Type: bool
Modifiers: config
Default value: True
bEliminationMode[edit]
Type: bool
Modifiers: config
bKickVote[edit]
Type: bool
Modifiers: config
bMapVote[edit]
Type: bool
Modifiers: config
bMatchSetup[edit]
Type: bool
Modifiers: config
bScoreMode[edit]
Type: bool
Modifiers: config
CurrentGameConfig[edit]
Type: int
Modifiers: config
DefaultGameConfig[edit]
Type: int
Modifiers: config
GameConfig[edit]
Type: array<VotingHandler.MapVoteGameConfig>
Modifiers: config
KickPercent[edit]
Type: int
Modifiers: config
Default value: 51
MapListLoaderType[edit]
Type: string
Modifiers: config
Default value: "xVoting.DefaultMapListLoader"
MapVoteHistoryType[edit]
Type: string
Modifiers: config
Default value: "xVoting.MapVoteHistory_INI"
MidGameVotePercent[edit]
Type: int
Modifiers: config
Default value: 50
MinMapCount[edit]
Type: int
Modifiers: config
Default value: 2
RepeatLimit[edit]
Type: int
Modifiers: config
Default value: 4
ScoreBoardDelay[edit]
Type: int
Modifiers: config
Default value: 5
ServerNumber[edit]
Type: int
Modifiers: config
Default value: 1
VoteTimeLimit[edit]
Type: int
Modifiers: config
Default value: 70
Internal variables[edit]
bAutoDetectMode[edit]
Type: bool
bLevelSwitchPending[edit]
Type: bool
bMidGameVote[edit]
Type: bool
GameConfigPage[edit]
Type: string
Default value: "xVoting.MapVoteGameConfigPage"
History[edit]
Type: MapVoteHistory
KickVoteCount[edit]
Type: array<VotingHandler.KickVoteScore>
lmsgAdminMapChange[edit]
Type: string
Modifiers: localized
Default value: "Admin has forced map switch to %mapname%"
lmsgAnonymousKickVote[edit]
Type: string
Modifiers: localized
Default value: "A kick vote has been placed against %playername%"
lmsgGameConfigColumnTitle[edit]
Type: string
Array size: 6
Modifiers: localized
Default value, index 0: "GameType"
Default value, index 1: "MapPrefixes"
Default value, index 2: "Abbreviation"
Default value, index 3: "Name"
Default value, index 4: "Mutators"
Default value, index 5: "Options"
lmsgInvalidPassword[edit]
Type: string
Modifiers: localized
Default value: "The password entered is invalid !"
lmsgKickVote[edit]
Type: string
Modifiers: localized
Default value: "%playername1% placed a kick vote against %playername2%"
lmsgKickVoteAdmin[edit]
Type: string
Modifiers: localized
Default value: "%playername% attempted to submit a kick vote against the server administrator !"
lmsgMapVotedFor[edit]
Type: string
Modifiers: localized
Default value: "%playername% has voted for %mapname%"
lmsgMapVotedForWithCount[edit]
Type: string
Modifiers: localized
Default value: "%playername% has placed %votecount% votes for %mapname%"
lmsgMapWon[edit]
Type: string
Modifiers: localized
Default value: "%mapname% has won !"
lmsgMatchSetupPermission[edit]
Type: string
Modifiers: localized
Default value: "Sorry, you do not have permission to use Match Setup !"
lmsgMidGameVote[edit]
Type: string
Modifiers: localized
Default value: "Mid-Game Map Voting has been initiated !!!!"
lmsgSpectatorsCantVote[edit]
Type: string
Modifiers: localized
Default value: "Sorry, Spectators can not vote."
MapCount[edit]
Type: int
number of maps
MapList[edit]
Type: array<VotingHandler.MapVoteMapList>
MapListConfigPage[edit]
Type: string
Default value: "xVoting.MapVoteMapListConfigPage"
MapVoteCount[edit]
Type: array<VotingHandler.MapVoteScore>
MapVoteHistoryClass[edit]
Type: class<MapVoteHistory>
MatchProfile[edit]
Type: MatchConfig
MVRI[edit]
Type: array<VotingReplicationInfo>
used to communicated between players and server
PropDescription[edit]
Type: string
Array size: 17
Modifiers: localized
Default value, index 0: "If enabled players can vote for maps."
Default value, index 1: "If enabled the Map voting interface will automatically open at the end of each game."
Default value, index 10: "If enabled, and there are no players on the server then the server will stay on the current game type."
Default value, index 11: "If enable players can vote to kick other players."
Default value, index 12: "The percentage of players that must vote against an individual player to have them kicked from the server."
Default value, index 13: "If enabled players can place Kick votes without anyone knowing who placed the vote."
Default value, index 14: "Enables match setup on the server - valid admin username & password is required in order to use this feature"
Default value, index 15: "Opens the map voting game configuration screen"
Default value, index 16: "Opens the map voting list configuration screen"
Default value, index 17: "Sets the number of seconds to delay after the end of each game before opening the voting interface."
Default value, index 18: "If enabled, each player gets his or her score worth of votes."
Default value, index 19: "If enabled, each player will accumulate votes each game until they win."
Default value, index 20: "If enabled, available maps are disabled as they are played until there are X maps left."
Default value, index 21: "The number of enabled maps that remain in the map list (in Elimination mode) before the map list is reset."
Default value, index 22: "Number of previously played maps that should not be votable."
Default value, index 23: "Limits how much time (in seconds) to allow for voting."
Default value, index 24: "Percentage of players that must vote to trigger a Mid-Game vote."
PropsDisplayText[edit]
Type: string
Array size: 17
Modifiers: localized
Default value, index 0: "Enable Map Voting"
Default value, index 1: "Auto Open GUI"
Default value, index 10: "Default Current GameType"
Default value, index 11: "Enable Kick Voting"
Default value, index 12: "Kick Vote Percent"
Default value, index 13: "Anonymous Kick Voting"
Default value, index 14: "Allow Match Setup"
Default value, index 15: "Game Configuration"
Default value, index 16: "Map List Configuration"
Default value, index 17: "ScoreBoard Delay"
Default value, index 18: "Score Mode"
Default value, index 19: "Accumulation Mode"
Default value, index 20: "Elimination Mode"
Default value, index 21: "Minimum Maps"
Default value, index 22: "Repeat Limit"
Default value, index 23: "Voting Time Limit"
Default value, index 24: "Mid-Game Vote Percent"
ScoreBoardTime[edit]
Type: int
ServerTravelString[edit]
Type: string
ServerTravelTime[edit]
Type: int
TextMessage[edit]
Type: string
TimeLeft[edit]
Type: int
Functions[edit]
Static events[edit]
AcceptPlayInfoProperty[edit]
Overrides: Info.AcceptPlayInfoProperty
GetDescriptionText[edit]
Overrides: Info.GetDescriptionText
Other static functions[edit]
FillPlayInfo[edit]
Overrides: VotingHandler.FillPlayInfo
IsEnabled[edit]
Overrides: VotingHandler.IsEnabled
Events[edit]
PostBeginPlay[edit]
Overrides: Actor.PostBeginPlay
timer[edit]
Overrides: Actor.Timer