LeviLamina
Loading...
Searching...
No Matches
ll::network::Packet Class Referenceabstract
Inheritance diagram for ll::network::Packet:

Public Member Functions

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 getName () const =0
virtual PacketRuntimeId getRuntimeId () const
LLAPI void sendToServer () const
LLAPI void sendToClient (::NetworkIdentifier const &identifier, ::SubClientId clientId) const
LLAPI void sendToClient (::UserEntityIdentifierComponent const *)
LLAPI void sendToClients (::std::vector<::NetworkIdentifierWithSubId > const &)
LLAPI void sendBroadcast ()
LLAPI void sendBroadcast (::NetworkIdentifier const &, ::SubClientId)

Public Attributes

PacketPriority mPriority
NetworkPeer::Reliability mReliability
SubClientId mSenderSubId
Compressibility mCompressible

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