PocketMine-MP 5.17.1 git-df4ada81e5d74a14046f27cf44a37dcee69d657e
pocketmine\network\mcpe\protocol\types\camera\CameraSetInstructionEase Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\camera\CameraSetInstructionEase:

Public Member Functions

 __construct (private int $type, private float $duration)
 
 getDuration ()
 
 getType ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Detailed Description

Definition at line 19 of file CameraSetInstructionEase.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstructionEase::__construct ( private int  $type,
private float  $duration 
)
See also
CameraSetInstructionEaseType

Definition at line 24 of file CameraSetInstructionEase.php.

Member Function Documentation

◆ getDuration()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstructionEase::getDuration ( )

Definition at line 34 of file CameraSetInstructionEase.php.

◆ getType()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstructionEase::getType ( )
See also
CameraSetInstructionEaseType

Definition at line 32 of file CameraSetInstructionEase.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\camera\CameraSetInstructionEase::read ( PacketSerializer  $in)
static

Definition at line 36 of file CameraSetInstructionEase.php.

◆ write()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstructionEase::write ( PacketSerializer  $out)

Definition at line 42 of file CameraSetInstructionEase.php.


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