Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
A delegate network notify class, to allow for easy inline-hooking.
NOTE: This will memory leak upon level change and re-hooking (if used as a hook), because there is no consistent way to handle deleting it.
| Name | FNetworkNotifyHook |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/Net/NUTUtilNet.h |
| Include Path | #include "Net/NUTUtilNet.h" |
Syntax
class FNetworkNotifyHook : public FNetworkNotify
Inheritance Hierarchy
- FNetworkNotify → FNetworkNotifyHook
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Base constructor | Net/NUTUtilNet.h | ||
FNetworkNotifyHook
(
FNetworkNotify* InHookNotify |
Constructor which hooks an existing network notify | Net/NUTUtilNet.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FNetworkNotifyHook() |
Virtual destructor | Net/NUTUtilNet.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FNotifyAcceptedConnectionDelegate | TBaseDelegate_OneParam< void, UNetConnection * > | Net/NUTUtilNet.h | |
| FNotifyAcceptingChannelDelegate | TBaseDelegate_OneParam< bool, UChannel * > | Net/NUTUtilNet.h | |
| FNotifyAcceptingConnectionDelegate | TBaseDelegate_NoParams< EAcceptConnection::Type > | Net/NUTUtilNet.h | |
| FNotifyControlMessageDelegate | TBaseDelegate_ThreeParams< bool, UNetConnection *, uint8, FInBunch & > | Net/NUTUtilNet.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HookedNotify | FNetworkNotify * | If this is hooking an existing network notify, save a reference | Net/NUTUtilNet.h | |
| NotifyAcceptedConnectionDelegate | FNotifyAcceptedConnectionDelegate | Net/NUTUtilNet.h | ||
| NotifyAcceptingChannelDelegate | FNotifyAcceptingChannelDelegate | Net/NUTUtilNet.h | ||
| NotifyAcceptingConnectionDelegate | FNotifyAcceptingConnectionDelegate | Net/NUTUtilNet.h | ||
| NotifyControlMessageDelegate | FNotifyControlMessageDelegate | Net/NUTUtilNet.h |
Functions
Public
Protected
Overridden from FNetworkNotify
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void NotifyAcceptedConnection
(
UNetConnection* Connection |
Net/NUTUtilNet.h | ||
virtual bool NotifyAcceptingChannel
(
UChannel* Channel |
Net/NUTUtilNet.h | ||
virtual EAcceptConnection::Type NotifyAcceptingConnection() |
Old/original notificationsFNetworkNotifyHook | Net/NUTUtilNet.h | |
virtual void NotifyControlMessage
(
UNetConnection* Connection, |
Net/NUTUtilNet.h |