Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

xVoting.VotingPage


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
//====================================================================
//  xVoting.VotingPage
//  Voting page is the base for MapVoting and KickVoting pages.
//
//  Written by Bruce Bickar
//  (c) 2003, Epic Games, Inc.  All Rights Reserved
// ====================================================================

class VotingPage extends LargeWindow DependsOn(VotingHandler);

var automated MapVoteFooter f_Chat;
var() editconst noexport VotingReplicationInfo MVRI;

//------------------------------------------------------------------------------------------------
function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
	local PlayerController PC;

	Super.Initcomponent(MyController, MyOwner);

	PC = PlayerOwner();
	MVRI = VotingReplicationInfo(PC.VoteReplicationInfo);

	// Turn pause off if currently paused (stops replication)
	if(PlayerOwner() != None && PlayerOwner().Level.Pauser != None)
		PlayerOwner().SetPause(false);
}
//------------------------------------------------------------------------------------------------
function Free()
{
	MVRI = None;
    Super.Free();
}
//------------------------------------------------------------------------------------------------
defaultproperties
{
	Background=None

	bAcceptsInput=false
	bPauseIfPossible=false

    WinLeft=0.1
    WinTop=0.1
    WinWidth=0.8
    WinHeight=0.8

	Begin Object Class=MapVoteFooter Name=MatchSetupFooter
		WinWidth=0.962109
		WinHeight=0.291406
		WinLeft=0.019921
		WinTop=0.686457
		TabOrder=10
		RenderWeight=0.5
		bBoundToParent=True
		bScaleToParent=True
	End Object
	f_Chat=MatchSetupFooter

	bRenderWorld=true
    bRequire640x480=false
    bAllowedAsLast=true
	bMoveAllowed=False
	//bPersistent=True     -- Note: this causes problems because free is called when closed
}


Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Di 5.9.2006 22:36:30.000 - Creation time: Do 14.8.2014 09:58:55.088 - Created with UnCodeX