PocketMine-MP 5.18.1 git-9381fc4172e5dce4cada1cb356050c8a2ab57b94
pocketmine\network\mcpe\protocol\types\skin\SkinAnimation Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\skin\SkinAnimation:

Public Member Functions

 __construct (private SkinImage $image, private int $type, private float $frames, private int $expressionType)
 
 getExpressionType ()
 
 getFrames ()
 
 getImage ()
 
 getType ()
 

Public Attributes

const EXPRESSION_BLINKING = 1
 
const EXPRESSION_LINEAR = 0
 
const TYPE_BODY_32 = 2
 
const TYPE_BODY_64 = 3
 
const TYPE_HEAD = 1
 

Detailed Description

Definition at line 17 of file SkinAnimation.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\skin\SkinAnimation::__construct ( private SkinImage  $image,
private int  $type,
private float  $frames,
private int  $expressionType 
)

Definition at line 26 of file SkinAnimation.php.

Member Function Documentation

◆ getExpressionType()

pocketmine\network\mcpe\protocol\types\skin\SkinAnimation::getExpressionType ( )

Definition at line 54 of file SkinAnimation.php.

◆ getFrames()

pocketmine\network\mcpe\protocol\types\skin\SkinAnimation::getFrames ( )

The total amount of frames in an animation.

Definition at line 50 of file SkinAnimation.php.

◆ getImage()

pocketmine\network\mcpe\protocol\types\skin\SkinAnimation::getImage ( )

Image of the animation.

Definition at line 36 of file SkinAnimation.php.

◆ getType()

pocketmine\network\mcpe\protocol\types\skin\SkinAnimation::getType ( )

The type of animation you are applying.

Definition at line 43 of file SkinAnimation.php.

Member Data Documentation

◆ EXPRESSION_BLINKING

const pocketmine\network\mcpe\protocol\types\skin\SkinAnimation::EXPRESSION_BLINKING = 1

Definition at line 24 of file SkinAnimation.php.

◆ EXPRESSION_LINEAR

const pocketmine\network\mcpe\protocol\types\skin\SkinAnimation::EXPRESSION_LINEAR = 0

Definition at line 23 of file SkinAnimation.php.

◆ TYPE_BODY_32

const pocketmine\network\mcpe\protocol\types\skin\SkinAnimation::TYPE_BODY_32 = 2

Definition at line 20 of file SkinAnimation.php.

◆ TYPE_BODY_64

const pocketmine\network\mcpe\protocol\types\skin\SkinAnimation::TYPE_BODY_64 = 3

Definition at line 21 of file SkinAnimation.php.

◆ TYPE_HEAD

const pocketmine\network\mcpe\protocol\types\skin\SkinAnimation::TYPE_HEAD = 1

Definition at line 19 of file SkinAnimation.php.


The documentation for this class was generated from the following file: