Phpcraft
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Phpcraft\Packet\DeclareCommands\Node Class Reference
Inheritance diagram for Phpcraft\Packet\DeclareCommands\Node:
Inheritance graph
[legend]

Public Member Functions

 write (Connection $con, array &$stack)
 
 __toString ()
 

Static Public Member Functions

static read (Connection $con)
 

Public Attributes

const TYPE_ID = 3
 
 $children = []
 
 $executable = false
 
 $redirect_to
 

Member Function Documentation

◆ __toString()

Phpcraft\Packet\DeclareCommands\Node::__toString ( )
abstract

◆ read()

static Phpcraft\Packet\DeclareCommands\Node::read ( Connection  $con)
static
Parameters
Connection$con
Returns
Node
Exceptions
IOException

◆ write()

Phpcraft\Packet\DeclareCommands\Node::write ( Connection  $con,
array &  $stack 
)
Parameters
Connection$con
array$stack
Returns
Connection

Member Data Documentation

◆ $children

array< Node|int > Phpcraft\Packet\DeclareCommands\Node::$children = []

◆ $executable

bool Phpcraft\Packet\DeclareCommands\Node::$executable = false

◆ $redirect_to

Node int null Phpcraft\Packet\DeclareCommands\Node::$redirect_to

◆ TYPE_ID

const Phpcraft\Packet\DeclareCommands\Node::TYPE_ID = 3