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

Public Types

using PayloadType = ::PurchaseReceiptPacketPayload
 
using PacketInfo = ::PurchaseReceiptPacketInfo
 

Public Member Functions

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

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

SerializationMode serializationMode
 
::PacketPriority mPriority
 
::NetworkPeer::Reliability mReliability
 
::SubClientId mSenderSubId
 
bool mIsHandled
 
::std::chrono::steady_clock::time_point mReceiveTimepoint
 
::IPacketHandlerDispatcher const * mHandler
 
::Compressibility mCompressible
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mPurchaseReceipts
 

Member Function Documentation

◆ $vftable()

static MCAPI void ** PurchaseReceiptPacket::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getId()

virtual::MinecraftPacketIds SerializedPayloadPacket< ::PurchaseReceiptPacketInfo, ::PurchaseReceiptPacketPayload >::getId ( ) const
virtualinherited

Implements Packet.

◆ getName()

virtual::std::string SerializedPayloadPacket< ::PurchaseReceiptPacketInfo, ::PurchaseReceiptPacketPayload >::getName ( ) const
virtualinherited

Implements Packet.

◆ writeWithSerializationMode()

virtual void SerializedPayloadPacket< ::PurchaseReceiptPacketInfo, ::PurchaseReceiptPacketPayload >::writeWithSerializationMode ( ::BinaryStream & bitStream,
::cereal::ReflectionCtx const & reflectionCtx,
::std::optional<::SerializationMode >  ) const
virtualinherited

Reimplemented from Packet.

◆ write() [1/2]

virtual void SerializedPayloadPacket< ::PurchaseReceiptPacketInfo, ::PurchaseReceiptPacketPayload >::write ( ::BinaryStream & bitStream,
::cereal::ReflectionCtx const & reflectionCtx ) const
virtualinherited

Reimplemented from Packet.

◆ write() [2/2]

Implements Packet.

◆ setSerializationMode()

virtual void SerializedPayloadPacket< ::PurchaseReceiptPacketInfo, ::PurchaseReceiptPacketPayload >::setSerializationMode ( ::SerializationMode )
virtualinherited

Reimplemented from Packet.

◆ _read()

◆ 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: