Loading [MathJax]/extensions/tex2jax.js
PocketMine-MP 5.25.3 git-afc4a3c7f18d42b41cbfde84ab6a2e4dd7c03045
All Classes Namespaces Functions Variables Enumerations Enumerator Pages
pocketmine\entity\AttributeFactory Class Reference
+ Collaboration diagram for pocketmine\entity\AttributeFactory:

Public Member Functions

 get (string $id)
 
 mustGet (string $id)
 
 register (string $id, float $minValue, float $maxValue, float $defaultValue, bool $shouldSend=true)
 

Detailed Description

Definition at line 28 of file AttributeFactory.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\entity\AttributeFactory::__construct ( )

Definition at line 34 of file AttributeFactory.php.

Member Function Documentation

◆ get()

pocketmine\entity\AttributeFactory::get ( string $id)

Definition at line 54 of file AttributeFactory.php.

◆ mustGet()

pocketmine\entity\AttributeFactory::mustGet ( string $id)

Definition at line 58 of file AttributeFactory.php.

◆ register()

pocketmine\entity\AttributeFactory::register ( string $id,
float $minValue,
float $maxValue,
float $defaultValue,
bool $shouldSend = true )
Exceptions

InvalidArgumentException

Definition at line 69 of file AttributeFactory.php.


The documentation for this class was generated from the following file: