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

Public Member Functions

 __construct (float $value, bool $isPlayerModifiable)
 
 encode (PacketSerializer $out)
 
 getTypeId ()
 
 getValue ()
 
 isPlayerModifiable ()
 

Static Public Member Functions

static decode (PacketSerializer $in, bool $isPlayerModifiable)
 

Public Attributes

const ID = GameRuleType::FLOAT
 

Detailed Description

Definition at line 19 of file FloatGameRule.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\FloatGameRule::__construct ( float  $value,
bool  $isPlayerModifiable 
)

Definition at line 26 of file FloatGameRule.php.

Member Function Documentation

◆ decode()

static pocketmine\network\mcpe\protocol\types\FloatGameRule::decode ( PacketSerializer  $in,
bool  $isPlayerModifiable 
)
static

Definition at line 39 of file FloatGameRule.php.

◆ encode()

pocketmine\network\mcpe\protocol\types\FloatGameRule::encode ( PacketSerializer  $out)

Reimplemented from pocketmine\network\mcpe\protocol\types\GameRule.

Definition at line 35 of file FloatGameRule.php.

◆ getValue()

pocketmine\network\mcpe\protocol\types\FloatGameRule::getValue ( )

Definition at line 31 of file FloatGameRule.php.

◆ isPlayerModifiable()

pocketmine\network\mcpe\protocol\types\GameRule::isPlayerModifiable ( )
inherited

Definition at line 24 of file GameRule.php.

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\FloatGameRule::ID = GameRuleType::FLOAT

Definition at line 22 of file FloatGameRule.php.


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