Navigation
API > API/Runtime > API/Runtime/PacketHandler
PacketHandler will buffer packets, this struct is used to buffer such packets while handler components are initialized
| Name | BufferedPacket |
| Type | struct |
| Header File | /Engine/Source/Runtime/PacketHandlers/PacketHandler/Public/PacketHandler.h |
| Include Path | #include "PacketHandler.h" |
Syntax
struct BufferedPacket
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Base constructor | PacketHandler.h | ||
BufferedPacket
(
uint8* InCopyData, |
PacketHandler.h | ||
BufferedPacket
(
TSharedPtr< const FInternetAddr > InAddress, |
PacketHandler.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~BufferedPacket() |
Base destructorBufferedPacket | PacketHandler.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Address | TSharedPtr< const FInternetAddr > | For connectionless packets, the address to send to | PacketHandler.h | |
| CountBits | uint32 | Size of buffered packet in bits | PacketHandler.h | |
| Data | uint8 * | Buffered packet data | PacketHandler.h | |
| FromComponent | HandlerComponent * | If buffering a packet through 'SendHandlerPacket', track the originating component | PacketHandler.h | |
| Id | uint32 | Used by ReliabilityHandlerComponent, to track packet id's | PacketHandler.h | |
| ResendTime | double | Used by ReliabilityHandlerComponent, to mark a packet for resending | PacketHandler.h | |
| Traits | FOutPacketTraits | Traits applied to the packet, if applicable | PacketHandler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CountBytes
(
FArchive& Ar |
PacketHandler.h |