PocketMine-MP 5.23.3 git-976fc63567edab7a6fb6aeae739f43cf9fe57de4
|
Public Member Functions | |
__construct (private int $maxBits, private int $value) | |
axis (int &$axis) | |
bool (bool &$value) | |
boundedIntAuto (int $min, int $max, int &$value) | |
enum (\UnitEnum &$case) | |
enumSet (array &$set, array $allCases) | |
facing (int &$facing) | |
facingExcept (int &$facing, int $except) | |
facingFlags (array &$faces) | |
getOffset () | |
horizontalAxis (int &$axis) | |
horizontalFacing (int &$facing) | |
horizontalFacingFlags (array &$faces) | |
int (int $bits, int &$value) | |
railShape (int &$railShape) | |
readInt (int $bits) | |
straightOnlyRailShape (int &$railShape) | |
wallConnections (array &$connections) | |
Protected Member Functions | |
readBool () | |
Definition at line 36 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::__construct | ( | private int | $maxBits, |
private int | $value ) |
Definition at line 39 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::axis | ( | int & | $axis | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 140 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::bool | ( | bool & | $value | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 76 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 68 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 198 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 209 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::facing | ( | int & | $facing | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 118 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::facingExcept | ( | int & | $facing, |
int | $except ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 130 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::facingFlags | ( | array & | $faces | ) |
int[] | $faces |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 93 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::getOffset | ( | ) |
Definition at line 219 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::horizontalAxis | ( | int & | $axis | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 149 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::horizontalFacing | ( | int & | $facing | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 80 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::horizontalFacingFlags | ( | array & | $faces | ) |
int[] | $faces |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 107 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::int | ( | int | $bits, |
int & | $value ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 55 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::railShape | ( | int & | $railShape | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 180 of file RuntimeDataReader.php.
|
protected |
Definition at line 72 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::readInt | ( | int | $bits | ) |
Definition at line 44 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::straightOnlyRailShape | ( | int & | $railShape | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 189 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 161 of file RuntimeDataReader.php.