PocketMine-MP 5.41.1 git-dec84fe67dc3319e33f5066e5d03b16f00f2ff4c
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\Enchant Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\Enchant:

Public Member Functions

 __construct (private int $id, private int $level)
 
 getId ()
 
 getLevel ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 21 of file Enchant.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\Enchant::__construct ( private int $id,
private int $level )

Definition at line 22 of file Enchant.php.

Member Function Documentation

◆ getId()

pocketmine\network\mcpe\protocol\types\Enchant::getId ( )

Definition at line 27 of file Enchant.php.

◆ getLevel()

pocketmine\network\mcpe\protocol\types\Enchant::getLevel ( )

Definition at line 29 of file Enchant.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\Enchant::read ( ByteBufferReader $in)
static

Definition at line 31 of file Enchant.php.

◆ write()

pocketmine\network\mcpe\protocol\types\Enchant::write ( ByteBufferWriter $out)

Definition at line 37 of file Enchant.php.


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