PocketMine-MP 5.17.1 git-df4ada81e5d74a14046f27cf44a37dcee69d657e
|
Public Member Functions | |
getResource (string $filename) | |
getResources () | |
Definition at line 26 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.