Interfaces, Classes, Traits and Enums
- MetadataProperty
Table of Contents
-
ID
= \pocketmine\network\mcpe\protocol\types\entity\EntityMetadataTypes::INT
-
$value
: int
-
__construct()
: mixed
-
buildFromFlags()
: self
-
equals()
: bool
-
getTypeId()
: int
-
getValue()
: int
-
read()
: self
-
write()
: void
-
max()
: int
-
min()
: int
ID
public
mixed
ID
= \pocketmine\network\mcpe\protocol\types\entity\EntityMetadataTypes::INT
$value
private
int
$value
__construct()
public
__construct(int $value) : mixed
Parameters
-
$value
: int
-
Return values
mixed
—
buildFromFlags()
public
static buildFromFlags(array<string|int, bool> $flags) : self
Parameters
-
$flags
: array<string|int, bool>
-
-
phpstan-param
-
Return values
self
—
equals()
public
equals(MetadataProperty $other) : bool
Parameters
-
$other
: MetadataProperty
-
Return values
bool
—
getTypeId()
public
getTypeId() : int
Return values
int
—
getValue()
public
getValue() : int
Return values
int
—
read()
public
static read(PacketSerializer $in) : self
Parameters
-
$in
: PacketSerializer
-
Return values
self
—
write()
public
write(PacketSerializer $out) : void
Parameters
-
$out
: PacketSerializer
-
Return values
void
—
max()
protected
max() : int
Return values
int
—
min()
protected
min() : int
Return values
int
—