Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest > Net
Inheritance Hierarchy
- FNetworkNotify
- FNetworkNotifyHook
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/Net/NUTUtilNet.h |
Include | #include "Net/NUTUtilNet.h" |
Syntax
class FNetworkNotifyHook : public FNetworkNotify
Remarks
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.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FNetworkNotify * | HookedNotify | If this is hooking an existing network notify, save a reference |
![]() |
FNotifyAcceptedConnectionDelegate | NotifyAcceptedConnectionDelegate | |
![]() |
FNotifyAcceptingChannelDelegate | NotifyAcceptingChannelDelegate | |
![]() |
FNotifyAcceptingConnectionDelegate | NotifyAcceptingConnectionDelegate | |
![]() |
FNotifyControlMessageDelegate | NotifyControlMessageDelegate |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Base constructor | ||
![]() |
FNetworkNotifyHook
(
FNetworkNotify* InHookNotify |
Constructor which hooks an existing network notify |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Virtual destructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | NotifyAcceptedConnection
(
UNetConnection* Connection |
|
![]() ![]() |
bool | NotifyAcceptingChannel
(
UChannel* Channel |
|
![]() ![]() |
EAcceptConnection::Type | Old/original notifications | |
![]() ![]() |
void | NotifyControlMessage
(
UNetConnection* Connection, |