PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
Public Member Functions | |
__construct (private int $maxBits, private int $value) | |
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 () | |
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) | |
readInt (int $bits) | |
slabType (\pocketmine\block\utils\SlabType &$value) | |
straightOnlyRailShape (int &$railShape) | |
suspiciousStewType (\pocketmine\item\SuspiciousStewType &$value) | |
wallConnections (array &$connections) | |
Protected Member Functions | |
readBool () | |
Definition at line 37 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::__construct | ( | private int | $maxBits, |
private int | $value ) |
Definition at line 42 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::axis | ( | int & | $axis | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 155 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::bool | ( | bool & | $value | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 91 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::boundedInt | ( | int | $bits, |
int | $min, | ||
int | $max, | ||
int & | $value ) |
self::boundedIntAuto()
instead. Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 65 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::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 83 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::brewingStandSlots | ( | array & | $slots | ) |
BrewingStandSlot[] | $slots | @phpstan-param array<int, BrewingStandSlot> $slots |
enumSet()
instead. Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 201 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::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 223 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::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 234 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::facing | ( | int & | $facing | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 133 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::facingExcept | ( | int & | $facing, |
int | $except ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 145 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::facingFlags | ( | array & | $faces | ) |
int[] | $faces |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 108 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::getOffset | ( | ) |
Definition at line 244 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::horizontalAxis | ( | int & | $axis | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 164 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::horizontalFacing | ( | int & | $facing | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 95 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::horizontalFacingFlags | ( | array & | $faces | ) |
int[] | $faces |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 122 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::int | ( | int | $bits, |
int & | $value ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 58 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::railShape | ( | int & | $railShape | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 205 of file RuntimeDataReader.php.
|
protected |
Definition at line 87 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::readInt | ( | int | $bits | ) |
Definition at line 47 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::straightOnlyRailShape | ( | int & | $railShape | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 214 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::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 176 of file RuntimeDataReader.php.