PocketMine-MP 5.15.1 git-fb9a74e8799c71ed8292cfa53abe7a4c9204629d
pocketmine\network\mcpe\protocol\types\entity\PropertySyncData Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\entity\PropertySyncData:

Public Member Functions

 __construct (private array $intProperties, private array $floatProperties,)
 
 getFloatProperties ()
 
 getIntProperties ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Detailed Description

Definition at line 20 of file PropertySyncData.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\entity\PropertySyncData::__construct ( private array  $intProperties,
private array  $floatProperties 
)
Parameters
int[]$intProperties
float[]$floatProperties@phpstan-param array<int, int> $intProperties @phpstan-param array<int, float> $floatProperties

Definition at line 27 of file PropertySyncData.php.

Member Function Documentation

◆ getFloatProperties()

pocketmine\network\mcpe\protocol\types\entity\PropertySyncData::getFloatProperties ( )
Returns
float[] @phpstan-return array<int, float>

Definition at line 44 of file PropertySyncData.php.

◆ getIntProperties()

pocketmine\network\mcpe\protocol\types\entity\PropertySyncData::getIntProperties ( )
Returns
int[] @phpstan-return array<int, int>

Definition at line 36 of file PropertySyncData.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\entity\PropertySyncData::read ( PacketSerializer  $in)
static

Definition at line 48 of file PropertySyncData.php.

◆ write()

pocketmine\network\mcpe\protocol\types\entity\PropertySyncData::write ( PacketSerializer  $out)

Definition at line 62 of file PropertySyncData.php.


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