PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
|
Public Member Functions | |
__construct (private int $maxBits, private int $value) | |
axis (int &$axis) | |
bool (bool &$value) | |
boundedInt (int $bits, int $min, int $max, int &$value) | |
boundedIntAuto (int $min, int $max, int &$value) | |
brewingStandSlots (array &$slots) | |
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 37 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::__construct | ( | private int | $maxBits, |
private int | $value ) |
Definition at line 40 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::axis | ( | int & | $axis | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 153 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::bool | ( | bool & | $value | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 89 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 63 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 81 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 199 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 221 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 232 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::facing | ( | int & | $facing | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 131 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::facingExcept | ( | int & | $facing, |
int | $except ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 143 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::facingFlags | ( | array & | $faces | ) |
int[] | $faces |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 106 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::getOffset | ( | ) |
Definition at line 242 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::horizontalAxis | ( | int & | $axis | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 162 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::horizontalFacing | ( | int & | $facing | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 93 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::horizontalFacingFlags | ( | array & | $faces | ) |
int[] | $faces |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 120 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::int | ( | int | $bits, |
int & | $value ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 56 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::railShape | ( | int & | $railShape | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 203 of file RuntimeDataReader.php.
|
protected |
Definition at line 85 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::readInt | ( | int | $bits | ) |
Definition at line 45 of file RuntimeDataReader.php.
pocketmine\data\runtime\RuntimeDataReader::straightOnlyRailShape | ( | int & | $railShape | ) |
Implements pocketmine\data\runtime\RuntimeDataDescriber.
Definition at line 212 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 174 of file RuntimeDataReader.php.