mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-25 04:44:03 +00:00
Generate param docs for constructor
This commit is contained in:
parent
5cb0eafcb2
commit
0917b67573
@ -48,7 +48,20 @@ class SkinData{
|
|||||||
/** @var string */
|
/** @var string */
|
||||||
private $capeId;
|
private $capeId;
|
||||||
|
|
||||||
public function __construct(string $skinId, string $resourcePatch, SkinImage $skinImage, array $animations = [], SkinImage $capeImage = null, string $geometryData = "", string $animationData = "", bool $premium = false, bool $persona = false, bool $personaCapeOnClassic = false, string $capeId = ""){
|
/**
|
||||||
|
* @param string $skinId
|
||||||
|
* @param string $resourcePatch
|
||||||
|
* @param SkinImage $skinImage
|
||||||
|
* @param SkinAnimation[] $animations
|
||||||
|
* @param SkinImage|null $capeImage
|
||||||
|
* @param string $geometryData
|
||||||
|
* @param string $animationData
|
||||||
|
* @param bool $premium
|
||||||
|
* @param bool $persona
|
||||||
|
* @param bool $personaCapeOnClassic
|
||||||
|
* @param string $capeId
|
||||||
|
*/
|
||||||
|
public function __construct(string $skinId, string $resourcePatch, SkinImage $skinImage, array $animations = [], SkinImage $capeImage = null, string $geometryData = "", string $animationData = "", bool $premium = false, bool $persona = false, bool $personaCapeOnClassic = false, string $capeId = ""){
|
||||||
$this->skinId = $skinId;
|
$this->skinId = $skinId;
|
||||||
$this->resourcePatch = $resourcePatch;
|
$this->resourcePatch = $resourcePatch;
|
||||||
$this->skinImage = $skinImage;
|
$this->skinImage = $skinImage;
|
||||||
@ -138,5 +151,5 @@ class SkinData{
|
|||||||
public function getCapeId() : string{
|
public function getCapeId() : string{
|
||||||
return $this->capeId;
|
return $this->capeId;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user