PocketMine-MP 5.39.4 git-fc9be17cf51063d4d1d23df927963d00a2f03f09
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 (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 23 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 28 of file Experiments.php.

Member Function Documentation

◆ getExperiments()

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

Definition at line 34 of file Experiments.php.

◆ hasPreviouslyUsedExperiments()

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

Definition at line 36 of file Experiments.php.

◆ read()

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

Definition at line 38 of file Experiments.php.

◆ write()

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

Definition at line 49 of file Experiments.php.


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