PocketMine-MP 5.27.2 git-1ea5c060fdd23023857cdc7f874a6562d117a72d
|
Public Member Functions | |
__construct (private string $generatorClass, private \Closure $presetValidator) | |
getGeneratorClass () | |
validateGeneratorOptions (string $generatorOptions) | |
Definition at line 26 of file GeneratorManagerEntry.php.
pocketmine\world\generator\GeneratorManagerEntry::__construct | ( | private string | $generatorClass, |
private \Closure | $presetValidator ) |
@phpstan-param class-string<Generator> $generatorClass @phpstan-param \Closure(string) : ?InvalidGeneratorOptionsException $presetValidator
Definition at line 32 of file GeneratorManagerEntry.php.
pocketmine\world\generator\GeneratorManagerEntry::getGeneratorClass | ( | ) |
@phpstan-return class-string<Generator>
Definition at line 38 of file GeneratorManagerEntry.php.
pocketmine\world\generator\GeneratorManagerEntry::validateGeneratorOptions | ( | string | $generatorOptions | ) |
InvalidGeneratorOptionsException |
Definition at line 43 of file GeneratorManagerEntry.php.