PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
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 (ByteBufferWriter $out, bool $isStartGame)
 
 getTypeId ()
 
 getValue ()
 
 isPlayerModifiable ()
 

Static Public Member Functions

static decode (ByteBufferReader $in, bool $isPlayerModifiable)
 

Public Attributes

const ID = GameRuleType::FLOAT
 

Detailed Description

Definition at line 21 of file FloatGameRule.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 28 of file FloatGameRule.php.

Member Function Documentation

◆ decode()

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

Definition at line 41 of file FloatGameRule.php.

◆ encode()

pocketmine\network\mcpe\protocol\types\FloatGameRule::encode ( ByteBufferWriter $out,
bool $isStartGame )

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

Definition at line 37 of file FloatGameRule.php.

◆ getValue()

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

Definition at line 33 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 24 of file FloatGameRule.php.


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