\MCTeamCurrentVote

Current Vote Model Class

Summary

Methods
Properties
Constants
__construct()
votePositive()
voteNegative()
getVoteCount()
$voteCommand
$expireTime
$positiveVotes
$neededRatio
$neededPlayerRatio
$voter
$map
$player
$function
$stopCallback
VOTE_FOR_ACTION
VOTE_AGAINST_ACTION
No protected methods found
No protected properties found
N/A
No private methods found
$playersVoted
N/A

Constants

VOTE_FOR_ACTION

VOTE_FOR_ACTION

VOTE_AGAINST_ACTION

VOTE_AGAINST_ACTION

Properties

$voteCommand

$voteCommand : 

Type

$expireTime

$expireTime : 

Type

$positiveVotes

$positiveVotes : 

Type

$neededRatio

$neededRatio : 

Type

$neededPlayerRatio

$neededPlayerRatio : 

Type

$voter

$voter : 

Type

$map

$map : 

Type

$player

$player : 

Type

$function

$function : 

Type

$stopCallback

$stopCallback : 

Type

$playersVoted

$playersVoted : 

Type

Methods

votePositive()

votePositive(string  $login) 

Handle a positive Vote

Parameters

string $login

voteNegative()

voteNegative(string  $login) 

Handle a negative Vote

Parameters

string $login

getVoteCount()

getVoteCount() : integer

Get the Number of Votes

Returns

integer