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

Public Member Functions

 __construct (private readonly string $value)
 
 getTypeId ()
 
 getValue ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Public Attributes

const ID = DataStoreValueType::STRING
 

Detailed Description

Definition at line 21 of file StringDataStoreValue.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\StringDataStoreValue::__construct ( private readonly string $value)

Definition at line 24 of file StringDataStoreValue.php.

Member Function Documentation

◆ getTypeId()

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

◆ getValue()

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

Definition at line 28 of file StringDataStoreValue.php.

◆ read()

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

Definition at line 38 of file StringDataStoreValue.php.

◆ write()

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

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\StringDataStoreValue::ID = DataStoreValueType::STRING

Definition at line 22 of file StringDataStoreValue.php.


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