mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 08:39:53 +00:00
Added variables for getSkin's animation for easier readability
This commit is contained in:
parent
1c67f094e3
commit
5bcbef90ea
@ -84,7 +84,11 @@ class NetworkBinaryStream extends BinaryStream{
|
|||||||
$animationCount = $this->getLInt();
|
$animationCount = $this->getLInt();
|
||||||
$animations = [];
|
$animations = [];
|
||||||
for($i = 0; $i < $animationCount; ++$i){
|
for($i = 0; $i < $animationCount; ++$i){
|
||||||
$animations[] = new SkinAnimation($this->getSkinImage(), $this->getLInt(), $this->getLFloat());
|
$animations[] = new SkinAnimation(
|
||||||
|
$skinImage = $this->getSkinImage(),
|
||||||
|
$animationType = $this->getLInt(),
|
||||||
|
$animationFrames = $this->getLFloat()
|
||||||
|
);
|
||||||
}
|
}
|
||||||
$capeData = $this->getSkinImage();
|
$capeData = $this->getSkinImage();
|
||||||
$geometryData = $this->getString();
|
$geometryData = $this->getString();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user