PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\nbt\tag\NamedTag Class Reference
+ Inheritance diagram for pocketmine\nbt\tag\NamedTag:
+ Collaboration diagram for pocketmine\nbt\tag\NamedTag:

Public Member Functions

 __construct ($name="", $value=false)
 
 getName ()
 
 setName ($name)
 
getValue ()
 
 getType ()
 
 setValue ($value)
 
 write (NBT $nbt)
 
 read (NBT $nbt)
 
 __toString ()
 

Protected Attributes

 $name
 
 $value
 

Detailed Description

Definition at line 25 of file NamedTag.php.

Constructor & Destructor Documentation

pocketmine\nbt\tag\NamedTag::__construct (   $name = "",
  $value = false 
)
Parameters
string$name
bool | float | double | int | byte | short | array | Compound | Enum | string$value

Definition at line 33 of file NamedTag.php.


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