PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
pocketmine\world\sound\LaunchSound Class Reference
+ Inheritance diagram for pocketmine\world\sound\LaunchSound:
+ Collaboration diagram for pocketmine\world\sound\LaunchSound:

Public Member Functions

 __construct (private float $pitch=0)
 
 encode (Vector3 $pos)
 
 getPitch ()
 

Detailed Description

Definition at line 30 of file LaunchSound.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\sound\LaunchSound::__construct ( private float $pitch = 0)

Definition at line 31 of file LaunchSound.php.

Member Function Documentation

◆ encode()

pocketmine\world\sound\LaunchSound::encode ( Vector3 $pos)
Returns
ClientboundPacket[]

Implements pocketmine\world\sound\Sound.

Definition at line 37 of file LaunchSound.php.

◆ getPitch()

pocketmine\world\sound\LaunchSound::getPitch ( )

Definition at line 33 of file LaunchSound.php.


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