mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
LevelProvider: Add documentation for doGarbageCollection() and close()
This commit is contained in:
parent
872df446bd
commit
8064152777
@ -151,8 +151,14 @@ interface LevelProvider{
|
||||
*/
|
||||
public function setDifficulty(int $difficulty);
|
||||
|
||||
/**
|
||||
* Performs garbage collection in the level provider, such as cleaning up regions in Region-based worlds.
|
||||
*/
|
||||
public function doGarbageCollection();
|
||||
|
||||
/**
|
||||
* Performs cleanups necessary when the level provider is closed and no longer needed.
|
||||
*/
|
||||
public function close();
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user