Class PluginCallbackTask
Simple plugin callbacks.
Allows the creation of simple callbacks with extra data The last parameter in the callback will be the "currentTicks"
Simply put, just do: new PluginCallbackTask($plugin,[$obj,"method"],[$args])
Pass it to the scheduler and off you go...
- pocketmine\scheduler\PluginTask
-
aliuly\common\PluginCallbackTask
public
|
|
public
callable
|
|
public
|
protected
callable
|
$callable
|
|
protected
array
|
$args
|