![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PacketView.h>
Public Attributes | |
| FPacketDataView | DataView = {nullptr, 0, ECountUnits::Bits} |
| TArrayView< const uint8 > & | Data = DataView.Data |
| TSharedPtr< const FInternetAddr > | Address |
| ESocketErrors | Error |
| FInPacketTraits | Traits |
Represents a view of a received packet, which may be modified to update Data it points to and Data size, as a packet is processed. Should only be stored as a local variable within functions that handle received packets.
| TSharedPtr<const FInternetAddr> FReceivedPacketView::Address |
Receive address for the packet
| TArrayView<const uint8>& FReceivedPacketView::Data = DataView.Data |
| FPacketDataView FReceivedPacketView::DataView = {nullptr, 0, ECountUnits::Bits} |
View of packet data - can reassign to point elsewhere, but don't use to modify packet data
| ESocketErrors FReceivedPacketView::Error |
Error if receiving a packet failed
| FInPacketTraits FReceivedPacketView::Traits |
Metadata and flags for the received packet, indicating what it contains and how to process it