|
PocketMine-MP 5.39.1 git-1be3f83620f013523bb4d35535c6c0f842b54a6a
|
Inheritance diagram for pocketmine\entity\effect\VanillaEffectsInputs:
Collaboration diagram for pocketmine\entity\effect\VanillaEffectsInputs:Public Member Functions | |
| getAllDeclarations () | |
| getAllValues () | |
| getTargetClassDocComment () | |
| getTargetClassName () | |
Static Public Member Functions | |
| static | preprocessMember (object $member) |
Protected Member Functions | |
| registerDelayed (string $name, \Closure $valueFactory) | |
| registerValue (string $name, mixed $value) | |
| setup () | |
Definition at line 34 of file VanillaEffectsInputs.php.
|
finalinherited |
Definition at line 179 of file RegistrySource.php.
|
finalinherited |
Definition at line 165 of file RegistrySource.php.
| pocketmine\entity\effect\VanillaEffectsInputs::getTargetClassDocComment | ( | ) |
Returns information to be prepended to the doc comment on the generated class. Do not include any PHPDoc formatting (e.g. comment tags) in here.
Reimplemented from pocketmine\utils\RegistrySource.
Definition at line 40 of file VanillaEffectsInputs.php.
| pocketmine\entity\effect\VanillaEffectsInputs::getTargetClassName | ( | ) |
Returns the short name (without namespace) of the class to be generated. The generated class will have the same namespace as your source class.
Reimplemented from pocketmine\utils\RegistrySource.
Definition at line 36 of file VanillaEffectsInputs.php.
|
staticinherited |
Override this if you need to, for example, clone a registry member before returning it to the caller
@phpstan-template TParam of object
@phpstan-param TParam $member @phpstan-return TParam
Definition at line 119 of file RegistrySource.php.
|
finalprotectedinherited |
Adds a value using a callback, which will be invoked when the registry is first accessed at runtime. The type of the generated registry function will be the same as that of the provided closure.
Use this if the value's initialization depends on generated registry code (i.e. it accesses another registry member, either in this registry or another).
Note: A return type MUST be set on the provided closure, or an error will be thrown.
@phpstan-param \Closure(string $name) : TMember $valueFactory
Definition at line 151 of file RegistrySource.php.
|
finalprotectedinherited |
Adds a plain value to the registry source. You can use this if the value does not depend on any other generated registry code. The type of the generated registry function will be inferred from the value provided.
@phpstan-param TMember $value @phpstan-return TMember
Definition at line 131 of file RegistrySource.php.
|
protected |
Implement this to add members to the registry.
Reimplemented from pocketmine\utils\RegistrySource.
Definition at line 44 of file VanillaEffectsInputs.php.