mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Added PhpDoc for packet field types and changed float x,y,z to Vector3
This commit is contained in:
@ -39,10 +39,15 @@ class SetTitlePacket extends DataPacket{
|
||||
const TYPE_SET_ACTIONBAR_MESSAGE = 4;
|
||||
const TYPE_SET_ANIMATION_TIMES = 5;
|
||||
|
||||
/** @var int */
|
||||
public $type;
|
||||
/** @var string */
|
||||
public $text = "";
|
||||
/** @var int */
|
||||
public $fadeInTime = 0;
|
||||
/** @var int */
|
||||
public $stayTime = 0;
|
||||
/** @var int */
|
||||
public $fadeOutTime = 0;
|
||||
|
||||
protected function decodePayload(){
|
||||
|
Reference in New Issue
Block a user