![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "PacketHandler.h"#include "Net/Core/Misc/PacketAudit.h"#include "EncryptionComponent.h"#include "Misc/ConfigCacheIni.h"#include "Modules/ModuleManager.h"#include "UObject/ObjectMacros.h"#include "UObject/Package.h"#include "HAL/ConsoleManager.h"#include "Net/Core/Misc/DDoSDetection.h"#include "HandlerComponentFactory.h"#include "ReliabilityHandlerComponent.h"#include "PacketHandlerProfileConfig.h"#include "SocketSubsystem.h"#include "Misc/StringBuilder.h"Macros | |
| #define | NET_LIGHTWEIGHT_TIME_GUARD_BEGIN(Name, ThresholdMS) |
| #define | NET_LIGHTWEIGHT_TIME_GUARD_END(Name, NameStringCode) |
Functions | |
| IMPLEMENT_MODULE (FPacketHandlerComponentModuleInterface, PacketHandler) | |
| DEFINE_LOG_CATEGORY (PacketHandlerLog) | |
| DECLARE_CYCLE_STAT (TEXT("PacketHandler Incoming_Internal"), Stat_PacketHandler_Incoming_Internal, STATGROUP_Net) | |
| DECLARE_CYCLE_STAT (TEXT("PacketHandler Outgoing_Internal"), Stat_PacketHandler_Outgoing_Internal, STATGROUP_Net) | |
| template<typename OutType , typename InType > | |
| OutType | IntCastLog (InType In) |
Variables | |
| int32 | GPacketHandlerCRCDump = 0 |
| FAutoConsoleVariableRef | CVarNetPacketHandlerCRCDump (TEXT("net.PacketHandlerCRCDump"), GPacketHandlerCRCDump, TEXT("Enables or disables dumping of packet CRC's for every HandlerComponent, Incoming and Outgoing, for debugging.")) |
| bool | GPacketHandlerDiscardTimeguardMeasurement = false |
| #define NET_LIGHTWEIGHT_TIME_GUARD_BEGIN | ( | Name, | |
| ThresholdMS | |||
| ) |
| #define NET_LIGHTWEIGHT_TIME_GUARD_END | ( | Name, | |
| NameStringCode | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("PacketHandler Incoming_Internal") | , |
| Stat_PacketHandler_Incoming_Internal | , | ||
| STATGROUP_Net | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("PacketHandler Outgoing_Internal") | , |
| Stat_PacketHandler_Outgoing_Internal | , | ||
| STATGROUP_Net | |||
| ) |
| DEFINE_LOG_CATEGORY | ( | PacketHandlerLog | ) |
| IMPLEMENT_MODULE | ( | FPacketHandlerComponentModuleInterface | , |
| PacketHandler | |||
| ) |
| FAutoConsoleVariableRef CVarNetPacketHandlerCRCDump(TEXT("net.PacketHandlerCRCDump"), GPacketHandlerCRCDump, TEXT("Enables or disables dumping of packet CRC's for every HandlerComponent, Incoming and Outgoing, for debugging.")) | ( | TEXT("net.PacketHandlerCRCDump") | , |
| GPacketHandlerCRCDump | , | ||
| TEXT("Enables or disables dumping of packet CRC's for every HandlerComponent, Incoming and Outgoing, for debugging.") | |||
| ) |
| int32 GPacketHandlerCRCDump = 0 |