PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\IntGameRule Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\IntGameRule:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\IntGameRule:

Public Member Functions

 __construct (int $value, bool $isPlayerModifiable)
 
 encode (ByteBufferWriter $out, bool $isStartGame)
 
 getTypeId ()
 
 getValue ()
 
 isPlayerModifiable ()
 

Static Public Member Functions

static decode (ByteBufferReader $in, bool $isPlayerModifiable, bool $isStartGame)
 

Public Attributes

const ID = GameRuleType::INT
 

Detailed Description

Definition at line 22 of file IntGameRule.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\IntGameRule::__construct ( int $value,
bool $isPlayerModifiable )

Definition at line 29 of file IntGameRule.php.

Member Function Documentation

◆ decode()

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

Definition at line 46 of file IntGameRule.php.

◆ encode()

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

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

Definition at line 38 of file IntGameRule.php.

◆ getValue()

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

Definition at line 34 of file IntGameRule.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\IntGameRule::ID = GameRuleType::INT

Definition at line 25 of file IntGameRule.php.


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