Phpcraft
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Phpcraft\NBT\AbstractListTag Class Reference
Inheritance diagram for Phpcraft\NBT\AbstractListTag:
Inheritance graph
[legend]
Collaboration diagram for Phpcraft\NBT\AbstractListTag:
Collaboration graph
[legend]

Public Member Functions

 current ()
 
 next ()
 
 key ()
 
 valid ()
 
 rewind ()
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 count ()
 
- Public Member Functions inherited from Phpcraft\NBT\NBT
 write (Connection $con, bool $inList=false)
 
 copy ()
 
 __toString ()
 
 toSNBT (bool $fancy=false, bool $inList=false)
 

Public Attributes

 $children
 
- Public Attributes inherited from Phpcraft\NBT\NBT
const ORD = null
 
 $name
 

Protected Member Functions

 gmpListToSNBT (bool $fancy, bool $inList, string $type_char)
 
- Protected Member Functions inherited from Phpcraft\NBT\NBT
 _write (Connection $con)
 

Additional Inherited Members

- Static Public Member Functions inherited from Phpcraft\NBT\NBT
static fromString (string $nbt)
 
static fromSNBT (string $snbt, bool $inList=false)
 
static stringFromSNBT (string $snbt)
 
static isValidBareString (string $string)
 
static stringToSNBT (string $string)
 
- Static Protected Member Functions inherited from Phpcraft\NBT\NBT
static parseSNBTArray (string $snbt, bool $list)
 
static indentString (string $string)
 

Member Function Documentation

◆ count()

Phpcraft\NBT\AbstractListTag::count ( )

◆ current()

Phpcraft\NBT\AbstractListTag::current ( )

◆ gmpListToSNBT()

Phpcraft\NBT\AbstractListTag::gmpListToSNBT ( bool  $fancy,
bool  $inList,
string  $type_char 
)
protected
Parameters
bool$fancy
bool$inList
string$type_char
Returns
string

◆ key()

Phpcraft\NBT\AbstractListTag::key ( )

◆ next()

Phpcraft\NBT\AbstractListTag::next ( )

◆ offsetExists()

Phpcraft\NBT\AbstractListTag::offsetExists (   $offset)

◆ offsetGet()

Phpcraft\NBT\AbstractListTag::offsetGet (   $offset)

◆ offsetSet()

Phpcraft\NBT\AbstractListTag::offsetSet (   $offset,
  $value 
)

◆ offsetUnset()

Phpcraft\NBT\AbstractListTag::offsetUnset (   $offset)

◆ rewind()

Phpcraft\NBT\AbstractListTag::rewind ( )

◆ valid()

Phpcraft\NBT\AbstractListTag::valid ( )

Member Data Documentation

◆ $children

array Phpcraft\NBT\AbstractListTag::$children

The children of the list.