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

Public Member Functions

 __construct (private string $name, private string $property, private int $updateCount, private DataStoreValue $data)
 
 getData ()
 
 getName ()
 
 getProperty ()
 
 getTypeId ()
 
 getUpdateCount ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Public Attributes

const ID = DataStoreType::CHANGE
 

Detailed Description

See also
ClientboundDataStorePacket

Definition at line 26 of file DataStoreChange.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\DataStoreChange::__construct ( private string $name,
private string $property,
private int $updateCount,
private DataStoreValue $data )

Definition at line 29 of file DataStoreChange.php.

Member Function Documentation

◆ getData()

pocketmine\network\mcpe\protocol\types\DataStoreChange::getData ( )

Definition at line 46 of file DataStoreChange.php.

◆ getName()

pocketmine\network\mcpe\protocol\types\DataStoreChange::getName ( )

Definition at line 40 of file DataStoreChange.php.

◆ getProperty()

pocketmine\network\mcpe\protocol\types\DataStoreChange::getProperty ( )

Definition at line 42 of file DataStoreChange.php.

◆ getTypeId()

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

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

Definition at line 36 of file DataStoreChange.php.

◆ getUpdateCount()

pocketmine\network\mcpe\protocol\types\DataStoreChange::getUpdateCount ( )

Definition at line 44 of file DataStoreChange.php.

◆ read()

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

Definition at line 48 of file DataStoreChange.php.

◆ write()

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

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

Definition at line 68 of file DataStoreChange.php.

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\DataStoreChange::ID = DataStoreType::CHANGE

Definition at line 27 of file DataStoreChange.php.


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