|
PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
|
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 | 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 | 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 69 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 425 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 416 of file CommonTypes.php.
|
static |
Reads a block position
| DataDecodeException |
Definition at line 438 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 86 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 590 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 570 of file CommonTypes.php.
|
static |
Decodes entity metadata from the stream.
| PacketDecodeException | |
| DataDecodeException |
Definition at line 370 of file CommonTypes.php.
|
static |
Reads gamerules
| PacketDecodeException | |
| DataDecodeException |
Definition at line 540 of file CommonTypes.php.
|
static |
| PacketDecodeException | |
| DataDecodeException |
Definition at line 295 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 309 of file CommonTypes.php.
|
static |
Definition at line 696 of file CommonTypes.php.
|
static |
| PacketDecodeException |
Definition at line 685 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 337 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 513 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 109 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 76 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 654 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 609 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 95 of file CommonTypes.php.
|
static |
Reads a floating-point Vector2 object with coordinates rounded to 4 decimal places.
| DataDecodeException |
Definition at line 471 of file CommonTypes.php.
|
static |
Reads a floating-point Vector3 object with coordinates rounded to 4 decimal places.
| DataDecodeException |
Definition at line 459 of file CommonTypes.php.
|
static |
Definition at line 429 of file CommonTypes.php.
|
static |
Definition at line 420 of file CommonTypes.php.
|
static |
Writes a block position
Definition at line 448 of file CommonTypes.php.
|
static |
Definition at line 90 of file CommonTypes.php.
|
static |
Definition at line 601 of file CommonTypes.php.
|
static |
Definition at line 580 of file CommonTypes.php.
|
static |
Writes entity metadata to the packet buffer.
| MetadataProperty[] | $metadata |
@phpstan-param array<int, MetadataProperty> $metadata
Definition at line 406 of file CommonTypes.php.
|
static |
Writes a gamerule array
| GameRule[] | $rules | @phpstan-param array<string, GameRule> $rules |
Definition at line 559 of file CommonTypes.php.
|
static |
Definition at line 302 of file CommonTypes.php.
|
static |
Definition at line 323 of file CommonTypes.php.
|
static |
Definition at line 352 of file CommonTypes.php.
|
static |
Definition at line 517 of file CommonTypes.php.
|
static |
Definition at line 187 of file CommonTypes.php.
|
static |
Definition at line 80 of file CommonTypes.php.
|
static |
Definition at line 671 of file CommonTypes.php.
|
static |
Definition at line 633 of file CommonTypes.php.
|
static |
Definition at line 102 of file CommonTypes.php.
|
static |
Writes a floating-point Vector2 object
Definition at line 507 of file CommonTypes.php.
|
static |
Writes a floating-point Vector3 object
Definition at line 498 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 485 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 714 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 734 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 748 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 757 of file CommonTypes.php.
|
static |
@phpstan-template T @phpstan-param \Closure(ByteBufferReader) : T $reader @phpstan-return T|null
| DataDecodeException |
Definition at line 780 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 705 of file CommonTypes.php.
|
static |
| DataDecodeException |
Definition at line 766 of file CommonTypes.php.
|
static |
Definition at line 718 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 743 of file CommonTypes.php.
|
static |
Definition at line 752 of file CommonTypes.php.
|
static |
Definition at line 761 of file CommonTypes.php.
|
static |
@phpstan-template T @phpstan-param T|null $value @phpstan-param \Closure(ByteBufferWriter, T) : void $writer
Definition at line 792 of file CommonTypes.php.
|
static |
Definition at line 709 of file CommonTypes.php.
|
static |
Definition at line 770 of file CommonTypes.php.