PocketMine-MP 5.33.2 git-09cc76ae2b49f1fe3ab0253e6e987fb82bd0a08f
|
Public Member Functions | |
getResource (string $filename) | |
getResources () | |
Definition at line 29 of file ResourceProvider.php.
pocketmine\plugin\ResourceProvider::getResource | ( | string | $filename | ) |
Gets an embedded resource on the plugin file. WARNING: You must close the resource given using fclose()
Implemented in pocketmine\plugin\DiskResourceProvider.
pocketmine\plugin\ResourceProvider::getResources | ( | ) |
Returns all the resources packaged with the plugin in the form ["path/in/resources" => SplFileInfo]
Implemented in pocketmine\plugin\DiskResourceProvider.