SkinAdapter
in
Used to convert new skin data to the skin entity or old skin entity to skin data.
Table of Contents
- fromSkinData() : Skin
- Allows you to convert skin data to a skin entity.
- toSkinData() : SkinData
- Allows you to convert a skin entity to skin data.
Methods
fromSkinData()
Allows you to convert skin data to a skin entity.
public
fromSkinData(SkinData $data) : Skin
Parameters
- $data : SkinData
Tags
Return values
Skin —toSkinData()
Allows you to convert a skin entity to skin data.
public
toSkinData(Skin $skin) : SkinData
Parameters
- $skin : Skin