PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\network\protocol\SetTimePacket Class Reference
+ Inheritance diagram for pocketmine\network\protocol\SetTimePacket:
+ Collaboration diagram for pocketmine\network\protocol\SetTimePacket:

Public Member Functions

 pid ()
 
 decode ()
 
 encode ()
 
 setBuffer ($buffer="")
 
 getBuffer ()
 
 clean ()
 

Public Attributes

 $time
 
 $started = true
 
 $buffer = ""
 
 $isEncoded = false
 

Static Public Attributes

static $pool = []
 
static $next = 0
 

Protected Member Functions

 reset ()
 
 get ($len)
 
 put ($str)
 
 getLong ()
 
 putLong ($v)
 
 getInt ()
 
 putInt ($v)
 
 getShort ($signed=true)
 
 putShort ($v)
 
 getFloat ()
 
 putFloat ($v)
 
 getTriad ()
 
 putTriad ($v)
 
 getLTriad ()
 
 putLTriad ($v)
 
 getByte ()
 
 putByte ($v)
 
 getDataArray ($len=10)
 
 putDataArray (array $data=[])
 
 getSlot ()
 
 putSlot (Item $item)
 
 getString ()
 
 putString ($v)
 
 feof ()
 

Detailed Description

Definition at line 29 of file SetTimePacket.php.


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