PacketHandler::Initialize

Handles initialization of manager

Windows
MacOS
Linux

References

Module

PacketHandler

Header

/Engine/Source/Runtime/PacketHandlers/PacketHandler/Public/PacketHandler.h

Include

#include "PacketHandler.h"

Source

/Engine/Source/Runtime/PacketHandlers/PacketHandler/Private/PacketHandler.cpp

Syntax

void Initialize
(
    Handler::Mode Mode,
    uint32 InMaxPacketBits,
    bool bConnectionlessOnly,
    TSharedPtr< class IAnalyticsProvider > InProvider,
    FDDoSDetection * InDDoS,
    FName InDriverProfile
)

Remarks

Handles initialization of manager

Parameters

Parameter

Description

Mode

The mode the manager should be initialized in

InMaxPacketBits

The maximum supported packet size

bConnectionlessOnly

Whether or not this is a connectionless-only manager (ignores .ini components)

InProvider

The analytics provider

InDDoS

Reference to the owning net drivers DDoS detection handler

InDriverProfile

The PacketHandler configuration profile to use

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss