PHP Class pocketmine\nbt\tag\CompoundTag

Inheritance: extends NamedTag, implements ArrayAccess
显示文件 Open project: iTXTech/Genisys Class Usage Examples

Public Methods

Method Description
__construct ( string $name = "", NamedTag[] $value = [] )
__toString ( )
getCount ( )
getType ( )
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
read ( NBT $nbt )
write ( NBT $nbt )

Method Details

__construct() public method

public __construct ( string $name = "", NamedTag[] $value = [] )
$name string
$value NamedTag[]

__toString() public method

public __toString ( )

getCount() public method

public getCount ( )

getType() public method

public getType ( )

offsetExists() public method

public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )

read() public method

public read ( NBT $nbt )
$nbt pocketmine\nbt\NBT

write() public method

public write ( NBT $nbt )
$nbt pocketmine\nbt\NBT