\MCTeamVoteCommand

Summary

Methods
Properties
Constants
__construct()
getStopCallback()
setStopCallback()
$index
$name
$neededRatio
$idBased
$startText
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$stopCallback
N/A

Properties

$index

$index : 

Type

$name

$name : 

Type

$neededRatio

$neededRatio : 

Type

$idBased

$idBased : 

Type

$startText

$startText : 

Type

$stopCallback

$stopCallback : 

Type

Methods

__construct()

__construct(integer  $index, string  $name, boolean  $idBased, float  $neededRatio) 

Construct a new Vote Command

Parameters

integer $index
string $name
boolean $idBased
float $neededRatio

getStopCallback()

getStopCallback() : string

Gets the Stop Callback

Returns

string

setStopCallback()

setStopCallback(  $stopCallback) 

Defines a Stop Callback

Parameters

$stopCallback