PocketMine-MP 5.39.3 git-400eb2dddf91a9c112aa09f3b498ffc8c85e98ed
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\ArmorSlotAndDamagePair Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\ArmorSlotAndDamagePair:

Public Member Functions

 __construct (private ArmorSlot $slot, private int $damage)
 
 getDamage ()
 
 getSlot ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

See also
PlayerArmorDamagePacket

Definition at line 25 of file ArmorSlotAndDamagePair.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\ArmorSlotAndDamagePair::__construct ( private ArmorSlot $slot,
private int $damage )

Definition at line 27 of file ArmorSlotAndDamagePair.php.

Member Function Documentation

◆ getDamage()

pocketmine\network\mcpe\protocol\types\ArmorSlotAndDamagePair::getDamage ( )

Definition at line 34 of file ArmorSlotAndDamagePair.php.

◆ getSlot()

pocketmine\network\mcpe\protocol\types\ArmorSlotAndDamagePair::getSlot ( )

Definition at line 32 of file ArmorSlotAndDamagePair.php.

◆ read()

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

Definition at line 36 of file ArmorSlotAndDamagePair.php.

◆ write()

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

Definition at line 46 of file ArmorSlotAndDamagePair.php.


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