|
PocketMine-MP 5.37.2 git-e507eb5e50da3ead3ae88ed2324df21e75820019
|
Inheritance diagram for pocketmine\plugin\ScriptPluginLoader:
Collaboration diagram for pocketmine\plugin\ScriptPluginLoader:Public Member Functions | |
| canLoadPlugin (string $path) | |
| getAccessProtocol () | |
| getPluginDescription (string $path) | |
| loadPlugin (string $path, PluginDescription $description) | |
Public Attributes | |
| const | AUTOGENERATED_NAME_PREFIX = "ScriptPlugin_" |
Definition at line 41 of file ScriptPluginLoader.php.
| pocketmine\plugin\ScriptPluginLoader::canLoadPlugin | ( | string | $path | ) |
Returns whether this PluginLoader can load the plugin in the given path.
Implements pocketmine\plugin\PluginLoader.
Definition at line 45 of file ScriptPluginLoader.php.
| pocketmine\plugin\ScriptPluginLoader::getAccessProtocol | ( | ) |
Returns the protocol prefix used to access files in this plugin, e.g. file://, phar://
Implements pocketmine\plugin\PluginLoader.
Definition at line 94 of file ScriptPluginLoader.php.
| pocketmine\plugin\ScriptPluginLoader::getPluginDescription | ( | string | $path | ) |
Gets the PluginDescription from the file
Implements pocketmine\plugin\PluginLoader.
Definition at line 59 of file ScriptPluginLoader.php.
| pocketmine\plugin\ScriptPluginLoader::loadPlugin | ( | string | $path, |
| PluginDescription | $description ) |
Loads the plugin contained in $file
Implements pocketmine\plugin\PluginLoader.
Definition at line 52 of file ScriptPluginLoader.php.
| const pocketmine\plugin\ScriptPluginLoader::AUTOGENERATED_NAME_PREFIX = "ScriptPlugin_" |
Definition at line 43 of file ScriptPluginLoader.php.