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

Public Member Functions

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

Static Public Member Functions

static read (ByteBufferReader $in, string $name)
 

Public Attributes

const ID = PackSettingType::STRING
 

Detailed Description

Definition at line 21 of file StringPackSetting.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 26 of file StringPackSetting.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\StringPackSetting::getTypeId ( )

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

Definition at line 35 of file StringPackSetting.php.

◆ getValue()

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

Definition at line 31 of file StringPackSetting.php.

◆ read()

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

Definition at line 43 of file StringPackSetting.php.

◆ write()

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

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

Definition at line 39 of file StringPackSetting.php.

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\StringPackSetting::ID = PackSettingType::STRING

Definition at line 22 of file StringPackSetting.php.


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