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

Engine.VotingReplicationInfoBase


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
//==============================================================================
//  Created on: 01/02/2004
//  Stub class for VotingReplicationInfo
//
//  Written by Ron Prestenback
//  � 2003, Epic Games, Inc. All Rights Reserved
//==============================================================================

class VotingReplicationInfoBase extends ReplicationInfo
	abstract
	notplaceable;

replication
{
	reliable if ( Role == ROLE_Authority )
		SendResponse;

	reliable if ( Role < ROLE_Authority )
		SendCommand;
		
	// functions the client calls on the server
	reliable if( Role < ROLE_Authority )
		SubmitMapVote,
		SubmitKickVote,
		SubmitAdminVote,
		SubmitTeamDamageVote,
		SubmitTournamentVote;
}

function SubmitMapVote(string map, string gametype);
function SubmitKickVote(string name);
function SubmitAdminVote(string name);
function SubmitTeamDamageVote(bool vote);
function SubmitTournamentVote(bool vote);

delegate ProcessCommand( string Command );
delegate ProcessResponse( string Response );

function SendCommand( string Cmd )
{
	ProcessCommand(Cmd);
}

simulated function SendResponse( string Response )
{
	ProcessResponse(Response);
}

simulated function bool MatchSetupLocked() { return false; }

simulated function bool MapVoteEnabled() { return false; }
simulated function bool KickVoteEnabled() { return false; }
simulated function bool AdminVoteEnabled() { return false; }
simulated function bool TeamDamageVoteEnabled() { return false; }
simulated function bool TournamentVoteEnabled() { return false; }

simulated function bool MatchSetupEnabled() { return false; }

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: ne 5.9.2004 16:01:32.000 - Creation time: st 23.5.2018 00:10:50.538 - Created with UnCodeX