PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\world\sound\PopSound Class Reference
+ Inheritance diagram for pocketmine\world\sound\PopSound:
+ Collaboration diagram for pocketmine\world\sound\PopSound:

Public Member Functions

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

Detailed Description

Definition at line 30 of file PopSound.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 31 of file PopSound.php.

Member Function Documentation

◆ encode()

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

Implements pocketmine\world\sound\Sound.

Definition at line 37 of file PopSound.php.

◆ getPitch()

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

Definition at line 33 of file PopSound.php.


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