PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\BoolGameRule Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\BoolGameRule:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\BoolGameRule:

Public Member Functions

 __construct (bool $value, bool $isPlayerModifiable)
 
 encode (ByteBufferWriter $out, bool $isStartGame)
 
 getTypeId ()
 
 getValue ()
 
 isPlayerModifiable ()
 

Static Public Member Functions

static decode (ByteBufferReader $in, bool $isPlayerModifiable)
 

Public Attributes

const ID = GameRuleType::BOOL
 

Detailed Description

Definition at line 21 of file BoolGameRule.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\BoolGameRule::__construct ( bool $value,
bool $isPlayerModifiable )

Definition at line 28 of file BoolGameRule.php.

Member Function Documentation

◆ decode()

static pocketmine\network\mcpe\protocol\types\BoolGameRule::decode ( ByteBufferReader $in,
bool $isPlayerModifiable )
static

Definition at line 41 of file BoolGameRule.php.

◆ encode()

pocketmine\network\mcpe\protocol\types\BoolGameRule::encode ( ByteBufferWriter $out,
bool $isStartGame )

Reimplemented from pocketmine\network\mcpe\protocol\types\GameRule.

Definition at line 37 of file BoolGameRule.php.

◆ getValue()

pocketmine\network\mcpe\protocol\types\BoolGameRule::getValue ( )

Definition at line 33 of file BoolGameRule.php.

◆ isPlayerModifiable()

pocketmine\network\mcpe\protocol\types\GameRule::isPlayerModifiable ( )
inherited

Definition at line 24 of file GameRule.php.

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\BoolGameRule::ID = GameRuleType::BOOL

Definition at line 24 of file BoolGameRule.php.


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