PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
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.