|
|
constexpr | Packet (PacketPriority priority=PacketPriority::MediumPriority, NetworkPeer::Reliability reliability=NetworkPeer::Reliability::ReliableOrdered, SubClientId clientSubId=SubClientId::PrimaryClient, bool compress=true) |
|
virtual void | write (::BinaryStream &) const =0 |
|
virtual ::Bedrock::Result< void > | read (::ReadOnlyBinaryStream &)=0 |
|
virtual ::std::string_view | getName () const =0 |
|
virtual LLNDAPI PacketRuntimeId | getRuntimeId () const |
|
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 |
|
|
PacketPriority | mPriority |
|
NetworkPeer::Reliability | mReliability |
|
SubClientId | mSenderSubId |
|
Compressibility | mCompressible |
The documentation for this class was generated from the following file: