PocketMine-MP 5.28.3 git-94fb5d95b92604840dabb719f04327efa559cf94
Loading...
Searching...
No Matches
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: