PocketMine-MP 5.16.1 git-585aee9386a787c95e73dd0a05ffca8329606b68
pocketmine\network\mcpe\protocol\types\entity\EntityLink Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\entity\EntityLink:

Public Member Functions

 __construct (public int $fromActorUniqueId, public int $toActorUniqueId, public int $type, public bool $immediate, public bool $causedByRider)

Public Attributes

const TYPE_REMOVE = 0
const TYPE_RIDER = 1

Detailed Description

Definition at line 17 of file EntityLink.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\entity\EntityLink::__construct ( public int  $fromActorUniqueId,
public int  $toActorUniqueId,
public int  $type,
public bool  $immediate,
public bool  $causedByRider 

Definition at line 23 of file EntityLink.php.

Member Data Documentation


const pocketmine\network\mcpe\protocol\types\entity\EntityLink::TYPE_PASSENGER = 2

Definition at line 21 of file EntityLink.php.


const pocketmine\network\mcpe\protocol\types\entity\EntityLink::TYPE_REMOVE = 0

Definition at line 19 of file EntityLink.php.


const pocketmine\network\mcpe\protocol\types\entity\EntityLink::TYPE_RIDER = 1

Definition at line 20 of file EntityLink.php.

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