![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Containers/Array.h"#include "Containers/Queue.h"#include "Containers/UnrealString.h"#include "CoreMinimal.h"#include "Delegates/Delegate.h"#include "HAL/UnrealMemory.h"#include "IPAddress.h"#include "Logging/LogMacros.h"#include "Math/UnrealMathSSE.h"#include "Misc/AssertionMacros.h"#include "Modules/ModuleInterface.h"#include "Net/Common/Packets/PacketTraits.h"#include "Net/Common/Packets/PacketView.h"#include "Serialization/Archive.h"#include "Serialization/BitReader.h"#include "Serialization/BitWriter.h"#include "Templates/SharedPointer.h"#include "UObject/NameTypes.h"#include "UObject/UnrealNames.h"Go to the source code of this file.
Classes | |
| struct | ProcessedPacket |
| struct | BufferedPacket |
| struct | FIncomingPacketRef |
| class | PacketHandler |
| class | HandlerComponent |
| class | FPacketHandlerComponentModuleInterface |
Namespaces | |
| namespace | UE |
| namespace | UE::Net |
| namespace | UE::Handler |
| namespace | UE::Handler::Component |
Enumerations | |
| enum class | UE::Handler::State : uint8 { UE::Handler::Uninitialized , UE::Handler::InitializingComponents , UE::Handler::Initialized } |
| enum class | UE::Handler::Mode : uint8 { UE::Handler::Client , UE::Handler::Server } |
| enum class | UE::Handler::Component::State : uint8 { UE::Handler::Component::UnInitialized , UE::Handler::Component::InitializedOnLocal , UE::Handler::Component::InitializeOnRemote , UE::Handler::Component::Initialized } |
| enum class | EIncomingResult : uint8 { Success , Error } |
Variables | |
| PACKETHANDLER_API bool | GPacketHandlerDiscardTimeguardMeasurement |
|
strong |
Result for PacketHandler.Incoming
| Enumerator | |
|---|---|
| Success | |
| Error | |
| DECLARE_DELEGATE | ( | FPacketHandlerHandshakeComplete | ) |
Callback for notifying higher-level code that handshaking has completed, and that packets are now ready to send without buffering
| DECLARE_DELEGATE_OneParam | ( | FPacketHandlerAddComponentByNameDelegate | , |
| TArray< FString > & | |||
| ) |
| DECLARE_DELEGATE_OneParam | ( | FPacketHandlerAddComponentDelegate | , |
| TArray< TSharedPtr< HandlerComponent > > & | |||
| ) |
| DECLARE_DELEGATE_OneParam | ( | FPacketHandlerNotifyAddHandler | , |
| TSharedPtr< HandlerComponent > & | |||
| ) |
Callback for notifying that a new HandlerComponent was added (to e.g. perform additional initialization)
| NewHandler | The newly added HandlerComponent |
| DECLARE_DELEGATE_ThreeParams | ( | FPacketHandlerLowLevelSend | , |
| void * | , | ||
| int32 | , | ||
| int32 | |||
| ) |
| DECLARE_DELEGATE_ThreeParams | ( | FPacketHandlerLowLevelSendTraits | , |
| void * | , | ||
| int32 | , | ||
| FOutPacketTraits & | |||
| ) |
Delegates
| PACKETHANDLER_API DECLARE_LOG_CATEGORY_EXTERN | ( | PacketHandlerLog | , |
| Log | , | ||
| All | |||
| ) |
|
extern |