|
LeviLamina
|
Public Types | |
| using | PayloadType |
| enum class | InputData : int { Ascend = 0 , Descend = 1 , NorthJumpDeprecated = 2 , JumpDown = 3 , SprintDown = 4 , ChangeHeight = 5 , Jumping = 6 , AutoJumpingInWater = 7 , Sneaking = 8 , SneakDown = 9 , Up = 10 , Down = 11 , Left = 12 , Right = 13 , UpLeft = 14 , UpRight = 15 , WantUp = 16 , WantDown = 17 , WantDownSlow = 18 , WantUpSlow = 19 , Sprinting = 20 , AscendBlock = 21 , DescendBlock = 22 , SneakToggleDown = 23 , PersistSneak = 24 , StartSprinting = 25 , StopSprinting = 26 , StartSneaking = 27 , StopSneaking = 28 , StartSwimming = 29 , StopSwimming = 30 , StartJumping = 31 , StartGliding = 32 , StopGliding = 33 , PerformItemInteraction = 34 , PerformBlockActions = 35 , PerformItemStackRequest = 36 , HandledTeleport = 37 , Emoting = 38 , MissedSwing = 39 , StartCrawling = 40 , StopCrawling = 41 , StartFlying = 42 , StopFlying = 43 , ClientAckServerData = 44 , IsInClientPredictedVehicle = 45 , PaddlingLeft = 46 , PaddlingRight = 47 , BlockBreakingDelayEnabled = 48 , HorizontalCollision = 49 , VerticalCollision = 50 , DownLeft = 51 , DownRight = 52 , StartUsingItem = 53 , IsCameraRelativeMovementEnabledDeprecated = 54 , IsRotControlledByMoveDirectionDeprecated = 55 , StartSpinAttack = 56 , StopSpinAttack = 57 , IsHotbarOnlyTouch = 58 , JumpReleasedRaw = 59 , JumpPressedRaw = 60 , JumpCurrentRaw = 61 , SneakReleasedRaw = 62 , SneakPressedRaw = 63 , SneakCurrentRaw = 64 , InternalUpdate = 65 , InputNum = 66 } |
| using | InputDataSet = ::Bedrock::EnumSet<::PlayerAuthInputPacketPayload::InputData, 66> |
Public Member Functions | |
| virtual::MinecraftPacketIds | getId () const |
| virtual::std::string_view | getName () const |
| virtual::SerializationMode | getSerializationMode () const |
| virtual void | setSerializationMode (::SerializationMode mode) |
| virtual void | writeWithSerializationMode (::BinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx, ::std::optional<::SerializationMode > overrideMode) const |
| virtual void | write (::BinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx) const |
| virtual void | write (::BinaryStream &stream) const |
| virtual ::Bedrock::Result< void > | read (::ReadOnlyBinaryStream &bitStream, ::cereal::ReflectionCtx const &reflectionCtx) |
| virtual bool | disallowBatching () const |
| virtual bool | isValid () const |
| virtual uint64 | getMaxSize () const |
| virtual::std::string | toString () const |
| virtual ::Bedrock::Result< void > | _read (::ReadOnlyBinaryStream &stream) |
| virtual ::Bedrock::Result< void > | _read (::ReadOnlyBinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx) |
| MCAPI::MinecraftPacketIds | $getId () const |
| MCAPI::std::string_view | $getName () const |
| MCFOLD::SerializationMode | $getSerializationMode () const |
| MCFOLD void | $setSerializationMode (::SerializationMode mode) |
| MCAPI void | $writeWithSerializationMode (::BinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx, ::std::optional<::SerializationMode > overrideMode) const |
| MCFOLD void | $write (::BinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx) const |
| MCAPI void | $write (::BinaryStream &stream) const |
| MCAPI ::Bedrock::Result< void > | $read (::ReadOnlyBinaryStream &bitStream, ::cereal::ReflectionCtx const &reflectionCtx) |
| MCFOLD bool | $disallowBatching () const |
| MCAPI bool | $isValid () const |
| MCFOLD uint64 | $getMaxSize () const |
| MCAPI::std::string | $toString () const |
| MCAPI ::Bedrock::Result< void > | $_read (::ReadOnlyBinaryStream &stream) |
| MCAPI ::Bedrock::Result< void > | $_read (::ReadOnlyBinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx) |
| LLAPI void | sendTo (Player const &player) const |
| LLAPI void | sendTo (BlockPos const &pos, DimensionType dimId, optional_ref< Player const > except=std::nullopt) const |
| LLAPI void | sendTo (Actor const &actor, optional_ref< Player const > except=std::nullopt) const |
| LLAPI void | sendToClient (NetworkIdentifier const &identifier, ::SubClientId clientId) const |
| LLAPI void | sendToClient (NetworkIdentifierWithSubId const &identifierWithSubId) const |
| LLAPI void | sendToClients () const |
| LLAPI void | sendToClients (NetworkIdentifier const &exceptId, ::SubClientId exceptSubid) const |
| LLAPI void | sendToServer () const |
| virtual ::Bedrock::Result< void > | checkSize (uint64 packetSize, bool receiverIsServer) const |
| virtual ::Bedrock::Result< void > | read (::ReadOnlyBinaryStream &bitStream) |
| MCAPI ::Bedrock::Result< void > | readNoHeader (::ReadOnlyBinaryStream &bitstream, ::cereal::ReflectionCtx const &reflectionCtx, ::SubClientId const &subid) |
| MCAPI ::Bedrock::Result< void > | $checkSize (uint64 packetSize, bool receiverIsServer) const |
| MCAPI ::Bedrock::Result< void > | $read (::ReadOnlyBinaryStream &bitStream) |
| MCAPI::PlayerActionComponent | readIntoComponent () const |
| MCAPI void | $dtor () |
Static Public Member Functions | |
| static MCAPI void ** | $vftable () |
Public Attributes | |
| ::ll::TypedStorage< 4, 4, ::SerializationMode > | mSerializationMode |
| ::PacketPriority | mPriority |
| ::NetworkPeer::Reliability | mReliability |
| ::SubClientId | mSenderSubId |
| bool | mIsHandled |
| ::std::chrono::steady_clock::time_point | mReceiveTimepoint |
| ::IPacketHandlerDispatcher const * | mHandler |
| ::Compressibility | mCompressible |
| ::ll::TypedStorage< 4, 8, ::Vec2 > | mRot |
| ::ll::TypedStorage< 4, 12, ::Vec3 > | mPos |
| ::ll::TypedStorage< 4, 4, float > | mYHeadRot |
| ::ll::TypedStorage< 4, 12, ::Vec3 > | mPosDelta |
| ::ll::TypedStorage< 4, 8, ::Vec2 > | mVehicleRot |
| ::ll::TypedStorage< 4, 8, ::Vec2 > | mAnalogMoveVector |
| ::ll::TypedStorage< 4, 8, ::Vec2 > | mMove |
| ::ll::TypedStorage< 4, 8, ::Vec2 > | mInteractRotation |
| ::ll::TypedStorage< 4, 12, ::Vec3 > | mCameraOrientation |
| ::ll::TypedStorage< 4, 8, ::Vec2 > | mRawMoveVector |
| ::ll::TypedStorage< 8, 16, ::Bedrock::EnumSet<::PlayerAuthInputPacketPayload::InputData, 66 > > | mInputData |
| ::ll::TypedStorage< 4, 4, ::InputMode > | mInputMode |
| ::ll::TypedStorage< 4, 4, ::ClientPlayMode > | mPlayMode |
| ::ll::TypedStorage< 4, 4, ::NewInteractionModel > | mNewInteractionModel |
| ::ll::TypedStorage< 8, 8, ::PlayerInputTick > | mClientTick |
| ::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PackedItemUseLegacyInventoryTransaction > > | mItemUseTransaction |
| ::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ItemStackRequestData > > | mItemStackRequest |
| ::ll::TypedStorage< 8, 24, ::PlayerBlockActions > | mPlayerBlockActions |
| ::ll::TypedStorage< 8, 8, ::ActorUniqueID > | mClientPredictedVehicle |
|
virtual |
Implements Packet.
|
virtual |
Implements Packet.
|
virtual |
Reimplemented from Packet.
|
virtual |
Reimplemented from Packet.
|
virtual |
Reimplemented from Packet.
|
virtual |
Implements Packet.
|
virtual |
Reimplemented from Packet.
|
virtual |
Reimplemented from Packet.
|
virtual |
Reimplemented from Packet.
|
virtual |
Implements Packet.
|
static |
|
inherited |
Send the packet to a specific server player.
| player | The server player to send the packet to. |
|
inherited |
Send the packet to all relevant players in a 2D plane at a position in a given dimension.
| pos | The position to send the packet to. |
| dimId | The type of dimension to send the packet in. |
| except | exclude this player. |
|
inherited |
Send the packet to all relevant players within a specific actor.
| actor | The actor to send the packet to. |
| except | exclude this player. |
|
inherited |
Send the packet to a specific client identified by network identifier and sub-client ID.
| id | The network identifier of the client to send the packet to. |
| clientId | The sub-client ID of the client to send the packet to. |
|
inherited |
Send the packet to all clients connected to the server.