PocketMine-MP 5.17.1 git-df4ada81e5d74a14046f27cf44a37dcee69d657e
pocketmine\network\mcpe\protocol\types\Experiments Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\Experiments:

Public Member Functions

 __construct (private array $experiments, private bool $hasPreviouslyUsedExperiments)
 
 getExperiments ()
 
 hasPreviouslyUsedExperiments ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Detailed Description

Definition at line 20 of file Experiments.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\Experiments::__construct ( private array  $experiments,
private bool  $hasPreviouslyUsedExperiments 
)
Parameters
bool[]$experiments@phpstan-param array<string, bool> $experiments

Definition at line 25 of file Experiments.php.

Member Function Documentation

◆ getExperiments()

pocketmine\network\mcpe\protocol\types\Experiments::getExperiments ( )
Returns
bool[]

Definition at line 31 of file Experiments.php.

◆ hasPreviouslyUsedExperiments()

pocketmine\network\mcpe\protocol\types\Experiments::hasPreviouslyUsedExperiments ( )

Definition at line 33 of file Experiments.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\Experiments::read ( PacketSerializer  $in)
static

Definition at line 35 of file Experiments.php.

◆ write()

pocketmine\network\mcpe\protocol\types\Experiments::write ( PacketSerializer  $out)

Definition at line 46 of file Experiments.php.


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