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