PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
pocketmine\network\mcpe\convert\SkinAdapter Interface Reference
+ Inheritance diagram for pocketmine\network\mcpe\convert\SkinAdapter:
+ Collaboration diagram for pocketmine\network\mcpe\convert\SkinAdapter:

Public Member Functions

 fromSkinData (SkinData $data)
 
 toSkinData (Skin $skin)
 

Detailed Description

Used to convert new skin data to the skin entity or old skin entity to skin data.

Definition at line 33 of file SkinAdapter.php.

Member Function Documentation

◆ fromSkinData()

pocketmine\network\mcpe\convert\SkinAdapter::fromSkinData ( SkinData $data)

Allows you to convert skin data to a skin entity.

Exceptions
InvalidSkinException

Implemented in pocketmine\network\mcpe\convert\LegacySkinAdapter.

◆ toSkinData()

pocketmine\network\mcpe\convert\SkinAdapter::toSkinData ( Skin $skin)

Allows you to convert a skin entity to skin data.

Implemented in pocketmine\network\mcpe\convert\LegacySkinAdapter.


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