Table of Contents
-
ID
= \pocketmine\network\mcpe\protocol\types\GameRuleType::INT
-
$playerModifiable
: bool
-
$value
: int
-
__construct()
: mixed
-
decode()
: self
-
encode()
: void
-
getTypeId()
: int
-
getValue()
: int
-
isPlayerModifiable()
: bool
ID
public
mixed
ID
= \pocketmine\network\mcpe\protocol\types\GameRuleType::INT
$playerModifiable
private
bool
$playerModifiable
$value
private
int
$value
__construct()
public
__construct(int $value, bool $isPlayerModifiable) : mixed
Parameters
-
$value
: int
-
-
$isPlayerModifiable
: bool
-
Return values
mixed
—
decode()
public
static decode(PacketSerializer $in, bool $isPlayerModifiable) : self
Parameters
-
$in
: PacketSerializer
-
-
$isPlayerModifiable
: bool
-
Return values
self
—
encode()
public
encode(PacketSerializer $out) : void
Parameters
-
$out
: PacketSerializer
-
Return values
void
—
getTypeId()
public
abstract getTypeId() : int
Return values
int
—
getValue()
public
getValue() : int
Return values
int
—
isPlayerModifiable()
public
isPlayerModifiable() : bool
Return values
bool
—