| 
    PocketMine-MP 5.37.1 git-cef37e7835c666594588f957a47b27d521c6a58e
    
   | 
 
 Inheritance diagram for pocketmine\data\runtime\RuntimeDataWriter:
 Collaboration diagram for pocketmine\data\runtime\RuntimeDataWriter:Public Member Functions | |
| __construct (private int $maxBits) | |
| axis (int &$axis) | |
| bellAttachmentType (\pocketmine\block\utils\BellAttachmentType &$value) | |
| bool (bool &$value) | |
| boundedInt (int $bits, int $min, int $max, int &$value) | |
| boundedIntAuto (int $min, int $max, int &$value) | |
| brewingStandSlots (array &$slots) | |
| copperOxidation (\pocketmine\block\utils\CopperOxidation &$value) | |
| coralType (\pocketmine\block\utils\CoralType &$value) | |
| dirtType (\pocketmine\block\utils\DirtType &$value) | |
| dripleafState (\pocketmine\block\utils\DripleafState &$value) | |
| dyeColor (\pocketmine\block\utils\DyeColor &$value) | |
| enum (\UnitEnum &$case) | |
| enumSet (array &$set, array $allCases) | |
| facing (int &$facing) | |
| facingExcept (int &$facing, int $except) | |
| facingFlags (array &$faces) | |
| froglightType (\pocketmine\block\utils\FroglightType &$value) | |
| getOffset () | |
| getValue () | |
| horizontalAxis (int &$axis) | |
| horizontalFacing (int &$facing) | |
| horizontalFacingFlags (array &$faces) | |
| int (int $bits, int &$value) | |
| leverFacing (\pocketmine\block\utils\LeverFacing &$value) | |
| medicineType (\pocketmine\item\MedicineType &$value) | |
| mobHeadType (\pocketmine\block\utils\MobHeadType &$value) | |
| mushroomBlockType (\pocketmine\block\utils\MushroomBlockType &$value) | |
| potionType (\pocketmine\item\PotionType &$value) | |
| railShape (int &$railShape) | |
| slabType (\pocketmine\block\utils\SlabType &$value) | |
| straightOnlyRailShape (int &$railShape) | |
| suspiciousStewType (\pocketmine\item\SuspiciousStewType &$value) | |
| wallConnections (array &$connections) | |
| writeInt (int $bits, int $value) | |
Protected Member Functions | |
| writeBool (bool $value) | |
Definition at line 34 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::__construct | ( | private int | $maxBits | ) | 
Definition at line 40 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::axis | ( | int & | $axis | ) | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 138 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::bool | ( | bool & | $value | ) | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 88 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::boundedInt | ( | int | $bits, | 
| int | $min, | ||
| int | $max, | ||
| int & | $value ) | 
self::boundedIntAuto() instead. Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 63 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::boundedIntAuto | ( | int | $min, | 
| int | $max, | ||
| int & | $value ) | 
Same as boundedInt() but automatically calculates the required number of bits from the range. The range bounds must be constant.
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 80 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::brewingStandSlots | ( | array & | $slots | ) | 
| BrewingStandSlot[] | $slots | @phpstan-param array<int, BrewingStandSlot> $slots | 
enumSet() instead. Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 179 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::enum | ( | \UnitEnum & | $case | ) | 
@phpstan-template T of \UnitEnum @phpstan-param T &$case @phpstan-param-out T $case
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 191 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::enumSet | ( | array & | $set, | 
| array | $allCases ) | 
| \UnitEnum[] | &$set | |
| \UnitEnum[] | $allCases | 
@phpstan-template T of \UnitEnum @phpstan-param array<int, T> &$set @phpstan-param array<int, T> $allCases
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 196 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::facing | ( | int & | $facing | ) | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 122 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::facingExcept | ( | int & | $facing, | 
| int | $except ) | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 134 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::facingFlags | ( | array & | $faces | ) | 
| int[] | $faces | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 105 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::getOffset | ( | ) | 
Definition at line 204 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::getValue | ( | ) | 
Definition at line 202 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::horizontalAxis | ( | int & | $axis | ) | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 147 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::horizontalFacing | ( | int & | $facing | ) | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 92 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::horizontalFacingFlags | ( | array & | $faces | ) | 
| int[] | $faces | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 115 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::int | ( | int | $bits, | 
| int & | $value ) | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 56 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::railShape | ( | int & | $railShape | ) | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 183 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::straightOnlyRailShape | ( | int & | $railShape | ) | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 187 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::wallConnections | ( | array & | $connections | ) | 
| WallConnectionType[] | $connections | @phpstan-param array<Facing::NORTH|Facing::EAST|Facing::SOUTH|Facing::WEST, WallConnectionType> $connections | 
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 159 of file RuntimeDataWriter.php.
      
  | 
  protected | 
Definition at line 84 of file RuntimeDataWriter.php.
| pocketmine\data\runtime\RuntimeDataWriter::writeInt | ( | int | $bits, | 
| int | $value ) | 
Definition at line 44 of file RuntimeDataWriter.php.