LeviLamina
Loading...
Searching...
No Matches
PlayerAuthInputPacket Class Reference
+ Inheritance diagram for PlayerAuthInputPacket:

Public Types

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 , IsCameraRelativeMovementEnabled = 54 , IsRotControlledByMoveDirection = 55 ,
  StartSpinAttack = 56 , StopSpinAttack = 57 , IsHotbarOnlyTouch = 58 , JumpReleasedRaw = 59 ,
  JumpPressedRaw = 60 , JumpCurrentRaw = 61 , SneakReleasedRaw = 62 , SneakPressedRaw = 63 ,
  SneakCurrentRaw = 64 , InputNum = 65
}
 

Public Member Functions

PlayerAuthInputPacketoperator= (PlayerAuthInputPacket const &)
 
 PlayerAuthInputPacket (PlayerAuthInputPacket const &)
 
virtual::MinecraftPacketIds getId () const
 
virtual::std::string getName () const
 
virtual void write (::BinaryStream &stream) const
 
virtual bool isValid () const
 
virtual ::Bedrock::Result< void > _read (::ReadOnlyBinaryStream &stream)
 
MCAPI PlayerAuthInputPacket (::PlayerAuthInputPacket &&)
 
MCAPI::PlayerAuthInputPacket & operator= (::PlayerAuthInputPacket &&)
 
MCAPI::PlayerActionComponent readIntoComponent () const
 
MCAPI void * $ctor (::PlayerAuthInputPacket &&)
 
MCAPI void $dtor ()
 
MCAPI::MinecraftPacketIds $getId () const
 
MCAPI::std::string $getName () const
 
MCAPI void $write (::BinaryStream &stream) const
 
MCAPI bool $isValid () const
 
MCAPI ::Bedrock::Result< void > $_read (::ReadOnlyBinaryStream &stream)
 
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
 
virtual ::Bedrock::Result< void > checkSize (uint64 packetSize, bool receiverIsServer) const
 
virtual ::Bedrock::Result< void > read (::ReadOnlyBinaryStream &bitStream)
 
virtual bool disallowBatching () const
 
MCAPI ::Bedrock::Result< void > readNoHeader (::ReadOnlyBinaryStream &bitstream, ::SubClientId const &subid)
 
MCAPI ::Bedrock::Result< void > $checkSize (uint64 packetSize, bool receiverIsServer) const
 
MCAPI ::Bedrock::Result< void > $read (::ReadOnlyBinaryStream &bitStream)
 
MCFOLD bool $disallowBatching () const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 4, 8, ::Vec2mRot
 
::ll::TypedStorage< 4, 12, ::Vec3mPos
 
::ll::TypedStorage< 4, 4, float > mYHeadRot
 
::ll::TypedStorage< 4, 12, ::Vec3mPosDelta
 
::ll::TypedStorage< 4, 8, ::Vec2mVehicleRot
 
::ll::TypedStorage< 4, 8, ::Vec2mAnalogMoveVector
 
::ll::TypedStorage< 4, 8, ::Vec2mMove
 
::ll::TypedStorage< 4, 8, ::Vec2mInteractRotation
 
::ll::TypedStorage< 4, 12, ::Vec3mCameraOrientation
 
::ll::TypedStorage< 4, 8, ::Vec2mRawMoveVector
 
::ll::TypedStorage< 8, 16, ::std::bitset< 65 > > mInputData
 
::ll::TypedStorage< 4, 4, ::InputMode > mInputMode
 
::ll::TypedStorage< 4, 4, ::ClientPlayMode > mPlayMode
 
::ll::TypedStorage< 4, 4, ::NewInteractionModel > mNewInteractionModel
 
::ll::TypedStorage< 8, 8, ::PlayerInputTickmClientTick
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PackedItemUseLegacyInventoryTransaction > > mItemUseTransaction
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ItemStackRequestData > > mItemStackRequest
 
::ll::TypedStorage< 8, 24, ::PlayerBlockActionsmPlayerBlockActions
 
::ll::TypedStorage< 8, 8, ::ActorUniqueIDmClientPredictedVehicle
 
::PacketPriority mPriority
 
::NetworkPeer::Reliability mReliability
 
::SubClientId mClientSubId
 
bool mIsHandled
 
::std::chrono::steady_clock::time_point mReceiveTimepoint
 
::IPacketHandlerDispatcher const * mHandler
 
::Compressibility mCompressible
 

Member Function Documentation

◆ getId()

virtual::MinecraftPacketIds PlayerAuthInputPacket::getId ( ) const
virtual

Implements Packet.

◆ getName()

virtual::std::string PlayerAuthInputPacket::getName ( ) const
virtual

Implements Packet.

◆ write()

virtual void PlayerAuthInputPacket::write ( ::BinaryStream & stream) const
virtual

Implements Packet.

◆ isValid()

virtual bool PlayerAuthInputPacket::isValid ( ) const
virtual

Reimplemented from Packet.

◆ _read()

virtual ::Bedrock::Result< void > PlayerAuthInputPacket::_read ( ::ReadOnlyBinaryStream & stream)
virtual

Implements Packet.

◆ sendTo() [1/3]

LLAPI void Packet::sendTo ( Player const & player) const
inherited

Send the packet to a specific server player.

Parameters
playerThe server player to send the packet to.

◆ sendTo() [2/3]

LLAPI void Packet::sendTo ( BlockPos const & pos,
DimensionType dimId,
optional_ref< Player const > except = std::nullopt ) const
inherited

Send the packet to all relevant players in a 2D plane at a position in a given dimension.

Parameters
posThe position to send the packet to.
dimIdThe type of dimension to send the packet in.
exceptexclude this player.

◆ sendTo() [3/3]

LLAPI void Packet::sendTo ( Actor const & actor,
optional_ref< Player const > except = std::nullopt ) const
inherited

Send the packet to all relevant players within a specific actor.

Parameters
actorThe actor to send the packet to.
exceptexclude this player.

◆ sendToClient()

LLAPI void Packet::sendToClient ( NetworkIdentifier const & identifier,
::SubClientId clientId ) const
inherited

Send the packet to a specific client identified by network identifier and sub-client ID.

Parameters
idThe network identifier of the client to send the packet to.
clientIdThe sub-client ID of the client to send the packet to.

◆ sendToClients()

LLAPI void Packet::sendToClients ( ) const
inherited

Send the packet to all clients connected to the server.


The documentation for this class was generated from the following file: