PHP Class pocketmine\scheduler\CallbackTask

If you want to do a task in a Plugin, consider extending PluginTask to your needs
Deprecation: Do NOT use this anymore, it was deprecated a long time ago at PocketMine and will be removed at some stage in the future.
Inheritance: extends Task
Afficher le fichier Open project: iTXTech/Genisys

Protected Properties

Свойство Type Description
$args array
$callable callable

Méthodes publiques

Méthode Description
__construct ( callable $callable, array $args = [] )
getCallable ( ) : callable
onRun ( $currentTicks )

Method Details

__construct() public méthode

public __construct ( callable $callable, array $args = [] )
$callable callable
$args array

getCallable() public méthode

public getCallable ( ) : callable
Résultat callable

onRun() public méthode

public onRun ( $currentTicks )

Property Details

$args protected_oe property

protected array $args
Résultat array

$callable protected_oe property

protected callable $callable
Résultat callable