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

Public Member Functions

 __construct (string $name, bool $value)
 
 getName ()
 
 getTypeId ()
 
 getValue ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in, string $name)
 

Public Attributes

const ID = PackSettingType::BOOL
 

Detailed Description

Definition at line 21 of file BoolPackSetting.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\BoolPackSetting::__construct ( string $name,
bool $value )

Definition at line 26 of file BoolPackSetting.php.

Member Function Documentation

◆ getName()

pocketmine\network\mcpe\protocol\types\PackSetting::getName ( )
inherited

Definition at line 24 of file PackSetting.php.

◆ getTypeId()

pocketmine\network\mcpe\protocol\types\BoolPackSetting::getTypeId ( )

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

Definition at line 35 of file BoolPackSetting.php.

◆ getValue()

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

Definition at line 31 of file BoolPackSetting.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\BoolPackSetting::read ( ByteBufferReader $in,
string $name )
static

Definition at line 43 of file BoolPackSetting.php.

◆ write()

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

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

Definition at line 39 of file BoolPackSetting.php.

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\BoolPackSetting::ID = PackSettingType::BOOL

Definition at line 22 of file BoolPackSetting.php.


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