PocketMine-MP 5.15.1 git-ed158f8a1b0cfe334ac5f45febc0f633602014f2
pocketmine\world\sound\XpLevelUpSound Class Reference
+ Inheritance diagram for pocketmine\world\sound\XpLevelUpSound:
+ Collaboration diagram for pocketmine\world\sound\XpLevelUpSound:

Public Member Functions

 __construct (private int $xpLevel)
 
 encode (Vector3 $pos)
 
 getXpLevel ()
 

Detailed Description

Definition at line 32 of file XpLevelUpSound.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\sound\XpLevelUpSound::__construct ( private int  $xpLevel)

Definition at line 33 of file XpLevelUpSound.php.

Member Function Documentation

◆ encode()

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

Implements pocketmine\world\sound\Sound.

Definition at line 39 of file XpLevelUpSound.php.

◆ getXpLevel()

pocketmine\world\sound\XpLevelUpSound::getXpLevel ( )

Definition at line 35 of file XpLevelUpSound.php.


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