![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PacketHandler.h>
Public Member Functions | |
| BufferedPacket (uint8 *InCopyData, uint32 InCountBits, FOutPacketTraits &InTraits, double InResendTime=0.0, uint32 InId=0) | |
| BufferedPacket (TSharedPtr< const FInternetAddr > InAddress, uint8 *InCopyData, uint32 InCountBits, FOutPacketTraits &InTraits, double InResendTime=0.0, uint32 InId=0) | |
| PACKETHANDLER_API | ~BufferedPacket () |
| void | CountBytes (FArchive &Ar) const |
Public Attributes | |
| uint8 * | Data |
| uint32 | CountBits |
| FOutPacketTraits | Traits |
| double | ResendTime |
| uint32 | Id |
| TSharedPtr< const FInternetAddr > | Address |
| HandlerComponent * | FromComponent |
PacketHandler will buffer packets, this struct is used to buffer such packets while handler components are initialized
|
inline |
|
inline |
| BufferedPacket::~BufferedPacket | ( | ) |
Base destructor
| TSharedPtr<const FInternetAddr> BufferedPacket::Address |
For connectionless packets, the address to send to
| uint32 BufferedPacket::CountBits |
Size of buffered packet in bits
| uint8* BufferedPacket::Data |
Buffered packet data
| HandlerComponent* BufferedPacket::FromComponent |
If buffering a packet through 'SendHandlerPacket', track the originating component
| uint32 BufferedPacket::Id |
Used by ReliabilityHandlerComponent, to track packet id's
| double BufferedPacket::ResendTime |
Used by ReliabilityHandlerComponent, to mark a packet for resending
| FOutPacketTraits BufferedPacket::Traits |
Traits applied to the packet, if applicable