PocketMine-MP 5.19.1 git-5cc1068cd43264d3363295eb8d6901e02f467897
|
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.