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

Public Member Functions

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

Static Public Member Functions

static read (ByteBufferReader $in)
 

Public Attributes

const ID = DataStoreType::UPDATE
 

Detailed Description

See also
ServerboundDataStorePacket&ClientboundDataStorePacket

Definition at line 27 of file DataStoreUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 30 of file DataStoreUpdate.php.

Member Function Documentation

◆ getData()

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

Definition at line 49 of file DataStoreUpdate.php.

◆ getName()

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

Definition at line 43 of file DataStoreUpdate.php.

◆ getPath()

pocketmine\network\mcpe\protocol\types\DataStoreUpdate::getPath ( )

Definition at line 47 of file DataStoreUpdate.php.

◆ getPathUpdateCount()

pocketmine\network\mcpe\protocol\types\DataStoreUpdate::getPathUpdateCount ( )

Definition at line 53 of file DataStoreUpdate.php.

◆ getProperty()

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

Definition at line 45 of file DataStoreUpdate.php.

◆ getTypeId()

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

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

Definition at line 39 of file DataStoreUpdate.php.

◆ getUpdateCount()

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

Definition at line 51 of file DataStoreUpdate.php.

◆ read()

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

Definition at line 55 of file DataStoreUpdate.php.

◆ write()

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

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

Definition at line 80 of file DataStoreUpdate.php.

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\DataStoreUpdate::ID = DataStoreType::UPDATE

Definition at line 28 of file DataStoreUpdate.php.


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