|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Inheritance diagram for pocketmine\plugin\PluginLoader:
Collaboration diagram for pocketmine\plugin\PluginLoader:Public Member Functions | |
| canLoadPlugin (string $path) | |
| getAccessProtocol () | |
| getPluginDescription (string $path) | |
| loadPlugin (string $path, PluginDescription $description) | |
Handles different types of plugins
Definition at line 29 of file PluginLoader.php.
| pocketmine\plugin\PluginLoader::canLoadPlugin | ( | string | $path | ) |
Returns whether this PluginLoader can load the plugin in the given path.
Implemented in pocketmine\plugin\FolderPluginLoader, pocketmine\plugin\PharPluginLoader, and pocketmine\plugin\ScriptPluginLoader.
| pocketmine\plugin\PluginLoader::getAccessProtocol | ( | ) |
Returns the protocol prefix used to access files in this plugin, e.g. file://, phar://
Implemented in pocketmine\plugin\FolderPluginLoader, pocketmine\plugin\PharPluginLoader, and pocketmine\plugin\ScriptPluginLoader.
| pocketmine\plugin\PluginLoader::getPluginDescription | ( | string | $path | ) |
Gets the PluginDescription from the file
| PluginDescriptionParseException |
Implemented in pocketmine\plugin\FolderPluginLoader, pocketmine\plugin\PharPluginLoader, and pocketmine\plugin\ScriptPluginLoader.
| pocketmine\plugin\PluginLoader::loadPlugin | ( | string | $path, |
| PluginDescription | $description ) |
Loads the plugin contained in $file
Implemented in pocketmine\plugin\FolderPluginLoader, pocketmine\plugin\PharPluginLoader, and pocketmine\plugin\ScriptPluginLoader.