PocketMine
Task Class Reference
Inheritance diagram for Task:
CallbackTask PluginTask

Public Member Functions

 getHandler ()
 
 getTaskId ()
 
 setHandler ($taskHandler)
 
 onRun ($currentTick)
 
 onCancel ()
 

Member Function Documentation

getHandler ( )
final
Returns
TaskHandler
getTaskId ( )
final
Returns
int
onCancel ( )

Actions to execute if the Task is cancelled

onRun (   $currentTick)
abstract

Actions to execute when run

Parameters
$currentTick
Returns
void
setHandler (   $taskHandler)
final
Parameters
TaskHandler$taskHandler

The documentation for this class was generated from the following file: