PocketMine-MP 5.27.1 git-9af3cde03fabbe4129c79e46dc87ffa0fff446e6
|
Public Member Functions | |
fromSkinData (SkinData $data) | |
toSkinData (Skin $skin) | |
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.
pocketmine\network\mcpe\convert\SkinAdapter::fromSkinData | ( | SkinData | $data | ) |
Allows you to convert skin data to a skin entity.
InvalidSkinException |
Implemented in pocketmine\network\mcpe\convert\LegacySkinAdapter.
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.