PocketMine-MP 5.19.1 git-5cc1068cd43264d3363295eb8d6901e02f467897
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: