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

Public Member Functions

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

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 8, ::ActorRuntimeIDmRuntimeId
 
::ll::TypedStorage< 4, 4, ::MovementEffectType > mEffectType
 
::ll::TypedStorage< 4, 4, int > mEffectDuration
 
::ll::TypedStorage< 8, 8, ::PlayerInputTickmTick
 
::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 MovementEffectPacket::getId ( ) const
virtual

Implements Packet.

◆ getName()

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

Implements Packet.

◆ write()

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

Implements Packet.

◆ _read()

virtual ::Bedrock::Result< void > MovementEffectPacket::_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: