mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 17:59:41 +00:00
Change get and put SkinImage visibility to private
This commit is contained in:
parent
99d350914e
commit
1c67f094e3
@ -120,14 +120,14 @@ class NetworkBinaryStream extends BinaryStream{
|
|||||||
$this->putString(""); //fullskinId
|
$this->putString(""); //fullskinId
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSkinImage() : SkinImage{
|
private function getSkinImage() : SkinImage{
|
||||||
$width = $this->getLInt();
|
$width = $this->getLInt();
|
||||||
$height = $this->getLInt();
|
$height = $this->getLInt();
|
||||||
$data = $this->getString();
|
$data = $this->getString();
|
||||||
return new SkinImage($height, $width, $data);
|
return new SkinImage($height, $width, $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function putSkinImage(SkinImage $image) : void{
|
private function putSkinImage(SkinImage $image) : void{
|
||||||
$this->putLInt($image->getWidth());
|
$this->putLInt($image->getWidth());
|
||||||
$this->putLInt($image->getHeight());
|
$this->putLInt($image->getHeight());
|
||||||
$this->putString($image->getData());
|
$this->putString($image->getData());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user