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

Public Member Functions

 send (Connection $con)
 
 __toString ()
 

Static Public Member Functions

static read (Connection $con)
 

Detailed Description

The base class for packets.

Member Function Documentation

◆ __toString()

Phpcraft\Packet\Packet::__toString ( )
abstract

◆ read()

static Phpcraft\Packet\Packet::read ( Connection  $con)
staticabstract

◆ send()

Phpcraft\Packet\Packet::send ( Connection  $con)
abstract