PocketMine-MP 5.15.1 git-08c6e63aac45a450fe3b437616ee8aa2500e04e2
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: