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

Public Member Functions

 __construct (private ?Time $time, private ?Color $color,)
 
 getColor ()
 
 getTime ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Detailed Description

Definition at line 21 of file CameraFadeInstruction.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\camera\CameraFadeInstruction::__construct ( private ?Time  $time,
private ?Color  $color 
)

Definition at line 23 of file CameraFadeInstruction.php.

Member Function Documentation

◆ getColor()

pocketmine\network\mcpe\protocol\types\camera\CameraFadeInstruction::getColor ( )

Definition at line 30 of file CameraFadeInstruction.php.

◆ getTime()

pocketmine\network\mcpe\protocol\types\camera\CameraFadeInstruction::getTime ( )

Definition at line 28 of file CameraFadeInstruction.php.

◆ read()

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

Definition at line 32 of file CameraFadeInstruction.php.

◆ write()

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

Definition at line 41 of file CameraFadeInstruction.php.


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