PocketMine
|
Public Member Functions | |
__construct ($timingName, Task $task, $taskId, $delay=-1, $period=-1) | |
isCancelled () | |
getNextRun () | |
setNextRun ($ticks) | |
getTaskId () | |
getTask () | |
getDelay () | |
isDelayed () | |
isRepeating () | |
getPeriod () | |
cancel () | |
remove () | |
run ($currentTick) | |
getTaskName () | |
Data Fields | |
$timings | |
$timingName = null | |
Protected Attributes | |
$task | |
$taskId | |
$delay | |
$period | |
$nextRun | |
$cancelled = false | |
__construct | ( | $timingName, | |
Task | $task, | ||
$taskId, | |||
$delay = -1 , |
|||
$period = -1 |
|||
) |
string | $timingName | |
Task | $task | |
int | $taskId | |
int | $delay | |
int | $period |
cancel | ( | ) |
WARNING: Do not use this, it's only for internal use. Changes to this function won't be recorded on the version.
getDelay | ( | ) |
getNextRun | ( | ) |
getPeriod | ( | ) |
getTask | ( | ) |
getTaskId | ( | ) |
getTaskName | ( | ) |
isCancelled | ( | ) |
isDelayed | ( | ) |
isRepeating | ( | ) |
run | ( | $currentTick | ) |
int | $currentTick |
setNextRun | ( | $ticks | ) |
int | $ticks |