|
PocketMine-MP 5.37.4 git-dbb3eefc44d5dddb20f540594fbda61467f50873
|
Collaboration diagram for pocketmine\network\mcpe\protocol\serializer\CommonTypes:Static Public Member Functions | |
| static | getActorRuntimeId (ByteBufferReader $in) |
| static | getActorUniqueId (ByteBufferReader $in) |
| static | getBlockPosition (ByteBufferReader $in) |
| static | getBool (ByteBufferReader $in) |
| static | getCommandOriginData (ByteBufferReader $in) |
| static | getEntityLink (ByteBufferReader $in) |
| static | getEntityMetadata (ByteBufferReader $in) |
| static | getGameRules (ByteBufferReader $in, bool $isStartGame) |
| static | getItemStackWithoutStackId (ByteBufferReader $in) |
| static | getItemStackWrapper (ByteBufferReader $in) |
| static | getNbtCompoundRoot (ByteBufferReader $in) |
| static | getNbtRoot (ByteBufferReader $in) |
| static | getRecipeIngredient (ByteBufferReader $in) |
| static | getRotationByte (ByteBufferReader $in) |
| static | getSignedBlockPosition (ByteBufferReader $in) |
| static | getSkin (ByteBufferReader $in) |
| static | getString (ByteBufferReader $in) |
| static | getStructureEditorData (ByteBufferReader $in) |
| static | getStructureSettings (ByteBufferReader $in) |
| static | getUUID (ByteBufferReader $in) |
| static | getVector2 (ByteBufferReader $in) |
| static | getVector3 (ByteBufferReader $in) |
| static | putActorRuntimeId (ByteBufferWriter $out, int $eid) |
| static | putActorUniqueId (ByteBufferWriter $out, int $eid) |
| static | putBlockPosition (ByteBufferWriter $out, BlockPosition $blockPosition) |
| static | putBool (ByteBufferWriter $out, bool $v) |
| static | putCommandOriginData (ByteBufferWriter $out, CommandOriginData $data) |
| static | putEntityLink (ByteBufferWriter $out, EntityLink $link) |
| static | putEntityMetadata (ByteBufferWriter $out, array $metadata) |
| static | putGameRules (ByteBufferWriter $out, array $rules, bool $isStartGame) |
| static | putItemStackWithoutStackId (ByteBufferWriter $out, ItemStack $itemStack) |
| static | putItemStackWrapper (ByteBufferWriter $out, ItemStackWrapper $itemStackWrapper) |
| static | putRecipeIngredient (ByteBufferWriter $out, RecipeIngredient $ingredient) |
| static | putRotationByte (ByteBufferWriter $out, float $rotation) |
| static | putSignedBlockPosition (ByteBufferWriter $out, BlockPosition $blockPosition) |
| static | putSkin (ByteBufferWriter $out, SkinData $skin) |
| static | putString (ByteBufferWriter $out, string $v) |
| static | putStructureEditorData (ByteBufferWriter $out, StructureEditorData $structureEditorData) |
| static | putStructureSettings (ByteBufferWriter $out, StructureSettings $structureSettings) |
| static | putUUID (ByteBufferWriter $out, UuidInterface $uuid) |
| static | putVector2 (ByteBufferWriter $out, Vector2 $vector2) |
| static | putVector3 (ByteBufferWriter $out, Vector3 $vector) |
| static | putVector3Nullable (ByteBufferWriter $out, ?Vector3 $vector) |
| static | readCreativeItemNetId (ByteBufferReader $in) |
| static | readItemStackNetIdVariant (ByteBufferReader $in) |
| static | readItemStackRequestId (ByteBufferReader $in) |
| static | readLegacyItemStackRequestId (ByteBufferReader $in) |
| static | readOptional (ByteBufferReader $in, \Closure $reader) |
| static | readRecipeNetId (ByteBufferReader $in) |
| static | readServerItemStackId (ByteBufferReader $in) |
| static | writeCreativeItemNetId (ByteBufferWriter $out, int $id) |
| static | writeItemStackNetIdVariant (ByteBufferWriter $out, int $id) |
| static | writeItemStackRequestId (ByteBufferWriter $out, int $id) |
| static | writeLegacyItemStackRequestId (ByteBufferWriter $out, int $id) |
| static | writeOptional (ByteBufferWriter $out, mixed $value, \Closure $writer) |
| static | writeRecipeNetId (ByteBufferWriter $out, int $id) |
| static | writeServerItemStackId (ByteBufferWriter $out, int $id) |
Definition at line 70 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 426 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 417 of file CommonTypes.php.
|
static |
Reads a block position with unsigned Y coordinate.
| DataDecodeException |
Definition at line 439 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 87 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 612 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 592 of file CommonTypes.php.
|
static |
Decodes entity metadata from the stream.
| PacketDecodeException | |
| DataDecodeException |
Definition at line 371 of file CommonTypes.php.
|
static |
Reads gamerules
| PacketDecodeException | |
| DataDecodeException |
Definition at line 562 of file CommonTypes.php.
|
static |
| PacketDecodeException | |
| DataDecodeException |
Definition at line 296 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 310 of file CommonTypes.php.
|
static |
Definition at line 724 of file CommonTypes.php.
|
static |
| PacketDecodeException |
Definition at line 713 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 338 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 535 of file CommonTypes.php.
|
static |
Reads a block position with a signed Y coordinate.
| DataDecodeException |
Definition at line 460 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 110 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 77 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 682 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 637 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 96 of file CommonTypes.php.
|
static |
Reads a floating-point Vector2 object with coordinates rounded to 4 decimal places.
| DataDecodeException |
Definition at line 493 of file CommonTypes.php.
|
static |
Reads a floating-point Vector3 object with coordinates rounded to 4 decimal places.
| DataDecodeException |
Definition at line 481 of file CommonTypes.php.
|
static |
Definition at line 430 of file CommonTypes.php.
|
static |
Definition at line 421 of file CommonTypes.php.
|
static |
Writes a block position with unsigned Y coordinate.
Definition at line 449 of file CommonTypes.php.
|
static |
Definition at line 91 of file CommonTypes.php.
|
static |
Definition at line 626 of file CommonTypes.php.
|
static |
Definition at line 602 of file CommonTypes.php.
|
static |
Writes entity metadata to the packet buffer.
| MetadataProperty[] | $metadata |
@phpstan-param array<int, MetadataProperty> $metadata
Definition at line 407 of file CommonTypes.php.
|
static |
Writes a gamerule array
| GameRule[] | $rules | @phpstan-param array<string, GameRule> $rules |
Definition at line 581 of file CommonTypes.php.
|
static |
Definition at line 303 of file CommonTypes.php.
|
static |
Definition at line 324 of file CommonTypes.php.
|
static |
Definition at line 353 of file CommonTypes.php.
|
static |
Definition at line 539 of file CommonTypes.php.
|
static |
Writes a block position with a signed Y coordinate.
Definition at line 470 of file CommonTypes.php.
|
static |
Definition at line 188 of file CommonTypes.php.
|
static |
Definition at line 81 of file CommonTypes.php.
|
static |
Definition at line 699 of file CommonTypes.php.
|
static |
Definition at line 661 of file CommonTypes.php.
|
static |
Definition at line 103 of file CommonTypes.php.
|
static |
Writes a floating-point Vector2 object
Definition at line 529 of file CommonTypes.php.
|
static |
Writes a floating-point Vector3 object
Definition at line 520 of file CommonTypes.php.
|
static |
Writes a floating-point Vector3 object, or 3x zero if null is given.
Note: ONLY use this where it is reasonable to allow not specifying the vector. For all other purposes, use the non-nullable version.
Definition at line 507 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 742 of file CommonTypes.php.
|
static |
This is a union of ItemStackRequestId, LegacyItemStackRequestId, and ServerItemStackId, used in serverbound packets to allow the client to refer to server known items, or items which may have been modified by a previous as-yet unacknowledged request from the client.
| DataDecodeException |
Definition at line 762 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 776 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 785 of file CommonTypes.php.
|
static |
@phpstan-template T @phpstan-param \Closure(ByteBufferReader) : T $reader @phpstan-return T|null
| DataDecodeException |
Definition at line 808 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 733 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 794 of file CommonTypes.php.
|
static |
Definition at line 746 of file CommonTypes.php.
|
static |
This is a union of ItemStackRequestId, LegacyItemStackRequestId, and ServerItemStackId, used in serverbound packets to allow the client to refer to server known items, or items which may have been modified by a previous as-yet unacknowledged request from the client.
Definition at line 771 of file CommonTypes.php.
|
static |
Definition at line 780 of file CommonTypes.php.
|
static |
Definition at line 789 of file CommonTypes.php.
|
static |
@phpstan-template T @phpstan-param T|null $value @phpstan-param \Closure(ByteBufferWriter, T) : void $writer
Definition at line 820 of file CommonTypes.php.
|
static |
Definition at line 737 of file CommonTypes.php.
|
static |
Definition at line 798 of file CommonTypes.php.