|
| __construct (private string $skinId, private string $playFabId, private string $resourcePatch, private SkinImage $skinImage, private array $animations=[], SkinImage $capeImage=null, private string $geometryData="", private string $geometryDataEngineVersion=ProtocolInfo::MINECRAFT_VERSION_NETWORK, private string $animationData="", private string $capeId="", ?string $fullSkinId=null, private string $armSize=self::ARM_SIZE_WIDE, private string $skinColor="", private array $personaPieces=[], private array $pieceTintColors=[], private bool $isVerified=true, private bool $premium=false, private bool $persona=false, private bool $personaCapeOnClassic=false, private bool $isPrimaryUser=true, private bool $override=true) |
|
| getAnimationData () |
|
| getAnimations () |
|
| getArmSize () |
|
| getCapeId () |
|
| getCapeImage () |
|
| getFullSkinId () |
|
| getGeometryData () |
|
| getGeometryDataEngineVersion () |
|
| getPersonaPieces () |
|
| getPieceTintColors () |
|
| getPlayFabId () |
|
| getResourcePatch () |
|
| getSkinColor () |
|
| getSkinId () |
|
| getSkinImage () |
|
| isOverride () |
|
| isPersona () |
|
| isPersonaCapeOnClassic () |
|
| isPremium () |
|
| isPrimaryUser () |
|
| isVerified () |
|
| setVerified (bool $verified) |
|
Definition at line 20 of file SkinData.php.
◆ __construct()
pocketmine\network\mcpe\protocol\types\skin\SkinData::__construct |
( |
private string | $skinId, |
|
|
private string | $playFabId, |
|
|
private string | $resourcePatch, |
|
|
private SkinImage | $skinImage, |
|
|
private array | $animations = [], |
|
|
SkinImage | $capeImage = null, |
|
|
private string | $geometryData = "", |
|
|
private string | $geometryDataEngineVersion = ProtocolInfo::MINECRAFT_VERSION_NETWORK, |
|
|
private string | $animationData = "", |
|
|
private string | $capeId = "", |
|
|
?string | $fullSkinId = null, |
|
|
private string | $armSize = self::ARM_SIZE_WIDE, |
|
|
private string | $skinColor = "", |
|
|
private array | $personaPieces = [], |
|
|
private array | $pieceTintColors = [], |
|
|
private bool | $isVerified = true, |
|
|
private bool | $premium = false, |
|
|
private bool | $persona = false, |
|
|
private bool | $personaCapeOnClassic = false, |
|
|
private bool | $isPrimaryUser = true, |
|
|
private bool | $override = true ) |
- Parameters
-
SkinAnimation[] | $animations | |
PersonaSkinPiece[] | $personaPieces | |
PersonaPieceTintColor[] | $pieceTintColors | |
Definition at line 33 of file SkinData.php.
◆ getAnimationData()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getAnimationData |
( |
| ) |
|
◆ getAnimations()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getAnimations |
( |
| ) |
|
◆ getArmSize()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getArmSize |
( |
| ) |
|
◆ getCapeId()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getCapeId |
( |
| ) |
|
◆ getCapeImage()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getCapeImage |
( |
| ) |
|
◆ getFullSkinId()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getFullSkinId |
( |
| ) |
|
◆ getGeometryData()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getGeometryData |
( |
| ) |
|
◆ getGeometryDataEngineVersion()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getGeometryDataEngineVersion |
( |
| ) |
|
◆ getPersonaPieces()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getPersonaPieces |
( |
| ) |
|
◆ getPieceTintColors()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getPieceTintColors |
( |
| ) |
|
- Returns
- PersonaPieceTintColor[]
Definition at line 122 of file SkinData.php.
◆ getPlayFabId()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getPlayFabId |
( |
| ) |
|
◆ getResourcePatch()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getResourcePatch |
( |
| ) |
|
◆ getSkinColor()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getSkinColor |
( |
| ) |
|
◆ getSkinId()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getSkinId |
( |
| ) |
|
◆ getSkinImage()
pocketmine\network\mcpe\protocol\types\skin\SkinData::getSkinImage |
( |
| ) |
|
◆ isOverride()
pocketmine\network\mcpe\protocol\types\skin\SkinData::isOverride |
( |
| ) |
|
◆ isPersona()
pocketmine\network\mcpe\protocol\types\skin\SkinData::isPersona |
( |
| ) |
|
◆ isPersonaCapeOnClassic()
pocketmine\network\mcpe\protocol\types\skin\SkinData::isPersonaCapeOnClassic |
( |
| ) |
|
◆ isPremium()
pocketmine\network\mcpe\protocol\types\skin\SkinData::isPremium |
( |
| ) |
|
◆ isPrimaryUser()
pocketmine\network\mcpe\protocol\types\skin\SkinData::isPrimaryUser |
( |
| ) |
|
◆ isVerified()
pocketmine\network\mcpe\protocol\types\skin\SkinData::isVerified |
( |
| ) |
|
◆ setVerified()
pocketmine\network\mcpe\protocol\types\skin\SkinData::setVerified |
( |
bool | $verified | ) |
|
◆ ARM_SIZE_SLIM
const pocketmine\network\mcpe\protocol\types\skin\SkinData::ARM_SIZE_SLIM = "slim" |
◆ ARM_SIZE_WIDE
const pocketmine\network\mcpe\protocol\types\skin\SkinData::ARM_SIZE_WIDE = "wide" |
The documentation for this class was generated from the following file: