PocketMine-MP 5.15.1 git-be6754494fdbbb9dd57c058ba0e33a4a78c4581f
pocketmine\network\mcpe\protocol\types\CacheableNbt Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\CacheableNbt:

Public Member Functions

 __construct (private Tag $nbtRoot)
 
 getEncodedNbt ()
 
 getRoot ()
 

Detailed Description

@phpstan-template TTagType of Tag

Definition at line 24 of file CacheableNbt.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\CacheableNbt::__construct ( private Tag  $nbtRoot)

@phpstan-param TTagType $nbtRoot

Definition at line 30 of file CacheableNbt.php.

Member Function Documentation

◆ getEncodedNbt()

pocketmine\network\mcpe\protocol\types\CacheableNbt::getEncodedNbt ( )

Definition at line 41 of file CacheableNbt.php.

◆ getRoot()

pocketmine\network\mcpe\protocol\types\CacheableNbt::getRoot ( )

@phpstan-return TTagType

Definition at line 37 of file CacheableNbt.php.


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