xVoting.xVotingHandler
- Extends
- VotingHandler
- Modifiers
- config
Core.Object
|
+-- Engine.Actor
|
+-- Engine.Info
|
+-- Engine.VotingHandler
|
+-- xVoting.xVotingHandler
Functions Summary |
| bool | AcceptPlayInfoProperty (string PropertyName))
|
| int | AddConfigArrayItem (string ConfigArrayName))
|
| | AddMap (string MapName, string Mutators, string GameOptions))
|
| | AddMapVoteReplicationInfo (PlayerController Player))
|
| | CloseAllVoteWindows ()))
|
| MatchConfig | CreateMatchProfile ()))
|
| | DeleteConfigArrayItem (string ConfigArrayName, int RowIndex))
|
| | FillPlayInfo (PlayInfo PlayInfo))
|
| int | GetAccVote (PlayerController Player))
|
| string | GetConfigArrayColumnTitle (string ConfigArrayName, int ColumnIndex))
|
| string | GetConfigArrayData (string ConfigArrayName, int RowIndex, int ColumnIndex))
|
| int | GetConfigArrayItemCount (string ConfigArrayName))
|
| | GetDefaultMap (out int mapidx, out int gameidx))
|
| string | GetDescriptionText (string PropName))
|
| MapVoteGameConfigLite | GetGameConfig (int p_GameConfigIndex))
|
| MapVoteMapList | GetMapList (int p_MapIndex))
|
| int | GetMVRIIndex (PlayerController Player))
|
| float | GetPlayerScore (PlayerController Player))
|
| | GetServerDetails (out GameInfo.ServerResponseLine ServerState ))
|
| bool | HandleRestartGame ()))
|
| bool | IsEnabled ()))
|
| bool | IsValidVote (int MapIndex, int GameIndex))
|
| | KickPlayer (int PlayerIndex))
|
| | LoadMapList ()))
|
| bool | MatchSetupLogin (string UserID, string Password, Actor Requestor, out int SecLevel))
|
| | MatchSetupLogout (Actor Requestor))
|
| | OpenAllVoteWindows ()))
|
| | PlayerExit (Controller Exiting))
|
| | PlayerJoin (PlayerController Player))
|
| | PostBeginPlay ()))
|
| | PropagateValue (VotingReplicationInfo Sender, string Type, string SettingName, string NewValue ))
|
| | ReloadAll (optional bool bParam ))
|
| | ReloadMatchConfig (bool bRefreshMaps, bool bRefreshMuts, optional PlayerController Caller ))
|
| | SaveAccVotes (int WinningMapIndex, int WinningGameIndex))
|
| string | SetupGameMap (MapVoteMapList MapInfo, int GameIndex, MapHistoryInfo MapHistoryInfo))
|
| | SubmitKickVote (int PlayerID, Actor Voter))
|
| | SubmitMapVote (int MapIndex, int GameIndex, Actor Voter))
|
| | TallyKickVotes ()))
|
| | TallyVotes (bool bForceMapSwitch))
|
| | timer ()))
|
| | UpdateConfigArrayItem (string ConfigArrayName, int RowIndex, int ColumnIndex, string NewValue))
|
| | UpdateKickVoteCount (int PlayerID, int VoteCountDelta))
|
| | UpdateVoteCount (int MapIndex, int GameIndex, int VoteCount))
|
Inherited Functions from Engine.VotingHandler |
AddConfigArrayItem, DeleteConfigArrayItem, FillPlayInfo, GetConfigArrayColumnTitle, GetConfigArrayData, GetConfigArrayItemCount, GetServerDetails, HandleRestartGame, IsEnabled, PlayerExit, PlayerJoin, ReloadAll, UpdateConfigArrayItem |
const KICKVOTEALLOWED = True;
const MAPVOTEALLOWED = True;
const MATCHSETUPALLOWED = False;
var bool bAutoDetectMode;
var bool bLevelSwitchPending;
var bool bMidGameVote;
var string GameConfigPage;
var localized string lmsgAdminMapChange;
var localized string lmsgAnonymousKickVote;
lmsgGameConfigColumnTitle[6] Source code
var localized string lmsgGameConfigColumnTitle[6];
var localized string lmsgInvalidPassword;
var localized string lmsgKickVote;
var localized string lmsgKickVoteAdmin;
var localized string lmsgMapVotedFor;
lmsgMapVotedForWithCount Source code
var localized string lmsgMapVotedForWithCount;
var localized string lmsgMapWon;
lmsgMatchSetupPermission Source code
var localized string lmsgMatchSetupPermission;
var localized string lmsgMidGameVote;
lmsgSpectatorsCantVote Source code
var localized string lmsgSpectatorsCantVote;
var int MapCount;
var string MapListConfigPage;
var localized string PropDescription[17];
var localized string PropsDisplayText[17];
var int ScoreBoardTime;
var string ServerTravelString;
var int ServerTravelTime;
var string TextMessage;
var int TimeLeft;
xVotingHandler
bDefaultToCurrentGameType Source code
AcceptPlayInfoProperty Source code
static event bool AcceptPlayInfoProperty ( string PropertyName) )
function int AddConfigArrayItem ( string ConfigArrayName) )
function AddMap ( string MapName, string Mutators, string GameOptions) )
AddMapVoteReplicationInfo Source code
function CloseAllVoteWindows ( ) )
function DeleteConfigArrayItem ( string ConfigArrayName, int RowIndex) )
GetConfigArrayColumnTitle Source code
function string GetConfigArrayColumnTitle ( string ConfigArrayName, int ColumnIndex) )
function string GetConfigArrayData ( string ConfigArrayName, int RowIndex, int ColumnIndex) )
GetConfigArrayItemCount Source code
function int GetConfigArrayItemCount ( string ConfigArrayName) )
function GetDefaultMap ( out int mapidx, out int gameidx) )
static event string GetDescriptionText ( string PropName) )
function bool HandleRestartGame ( ) )
static function bool IsEnabled ( ) )
function bool IsValidVote ( int MapIndex, int GameIndex) )
function KickPlayer ( int PlayerIndex) )
function LoadMapList ( ) )
function
bool MatchSetupLogin (
string UserID,
string Password,
Actor Requestor, out
int SecLevel) )
function MatchSetupLogout (
Actor Requestor) )
function OpenAllVoteWindows ( ) )
function PostBeginPlay ( ) )
function PropagateValue (
VotingReplicationInfo Sender,
string Type,
string SettingName,
string NewValue ) )
function ReloadAll ( optional bool bParam ) )
function ReloadMatchConfig (
bool bRefreshMaps,
bool bRefreshMuts, optional
PlayerController Caller ) )
function SaveAccVotes ( int WinningMapIndex, int WinningGameIndex) )
function SubmitKickVote (
int PlayerID,
Actor Voter) )
function SubmitMapVote (
int MapIndex,
int GameIndex,
Actor Voter) )
function TallyKickVotes ( ) )
function TallyVotes ( bool bForceMapSwitch) )
event timer ( ) )
function UpdateConfigArrayItem ( string ConfigArrayName, int RowIndex, int ColumnIndex, string NewValue) )
function UpdateKickVoteCount ( int PlayerID, int VoteCountDelta) )
function UpdateVoteCount ( int MapIndex, int GameIndex, int VoteCount) )
defaultproperties
{
VoteTimeLimit=70
ScoreBoardDelay=5
bAutoOpen=True
MidGameVotePercent=50
MinMapCount=2
MapVoteHistoryType="xVoting.MapVoteHistory_INI"
RepeatLimit=4
bDefaultToCurrentGameType=True
KickPercent=51
bAnonymousKicking=True
MapListLoaderType="xVoting.DefaultMapListLoader"
ServerNumber=1
GameConfigPage="xVoting.MapVoteGameConfigPage"
MapListConfigPage="xVoting.MapVoteMapListConfigPage"
lmsgInvalidPassword="The password entered is invalid !"
lmsgMatchSetupPermission="Sorry, you do not have permission to use Match Setup !"
lmsgKickVote="%playername1% placed a kick vote against %playername2%"
lmsgAnonymousKickVote="A kick vote has been placed against %playername%"
lmsgKickVoteAdmin="%playername% attempted to submit a kick vote against the server administrator !"
lmsgMapWon="%mapname% has won !"
lmsgMidGameVote="Mid-Game Map Voting has been initiated !!!!"
lmsgSpectatorsCantVote="Sorry, Spectators can not vote."
lmsgMapVotedFor="%playername% has voted for %mapname%"
lmsgMapVotedForWithCount="%playername% has placed %votecount% votes for %mapname%"
PropsDisplayText(0)="Enable Map Voting"
PropsDisplayText(1)="Auto Open GUI"
PropsDisplayText(2)="ScoreBoard Delay"
PropsDisplayText(3)="Score Mode"
PropsDisplayText(4)="Accumulation Mode"
PropsDisplayText(5)="Elimination Mode"
PropsDisplayText(6)="Minimum Maps"
PropsDisplayText(7)="Repeat Limit"
PropsDisplayText(8)="Voting Time Limit"
PropsDisplayText(9)="Mid-Game Vote Percent"
PropsDisplayText(10)="Default Current GameType"
PropsDisplayText(11)="Enable Kick Voting"
PropsDisplayText(12)="Kick Vote Percent"
PropsDisplayText(13)="Anonymous Kick Voting"
PropsDisplayText(14)="Allow Match Setup"
PropsDisplayText(15)="Game Configuration"
PropsDisplayText(16)="Map List Configuration"
PropDescription(0)="If enabled players can vote for maps."
PropDescription(1)="If enabled the Map voting interface will automatically open at the end of each game."
PropDescription(2)="Sets the number of seconds to delay after the end of each game before opening the voting interface."
PropDescription(3)="If enabled, each player gets his or her score worth of votes."
PropDescription(4)="If enabled, each player will accumulate votes each game until they win."
PropDescription(5)="If enabled, available maps are disabled as they are played until there are X maps left."
PropDescription(6)="The number of enabled maps that remain in the map list (in Elimination mode) before the map list is reset."
PropDescription(7)="Number of previously played maps that should not be votable."
PropDescription(8)="Limits how much time (in seconds) to allow for voting."
PropDescription(9)="Percentage of players that must vote to trigger a Mid-Game vote."
PropDescription(10)="If enabled, and there are no players on the server then the server will stay on the current game type."
PropDescription(11)="If enable players can vote to kick other players."
PropDescription(12)="The percentage of players that must vote against an individual player to have them kicked from the server."
PropDescription(13)="If enabled players can place Kick votes without anyone knowing who placed the vote."
PropDescription(14)="Enables match setup on the server - valid admin username & password is required in order to use this feature"
PropDescription(15)="Opens the map voting game configuration screen"
PropDescription(16)="Opens the map voting list configuration screen"
lmsgAdminMapChange="Admin has forced map switch to %mapname%"
lmsgGameConfigColumnTitle(0)="GameType"
lmsgGameConfigColumnTitle(1)="MapPrefixes"
lmsgGameConfigColumnTitle(2)="Abbreviation"
lmsgGameConfigColumnTitle(3)="Name"
lmsgGameConfigColumnTitle(4)="Mutators"
lmsgGameConfigColumnTitle(5)="Options"
}
|
Creation time: sk 18-3-2018 09:50:00.714 - Created with
UnCodeX