Choose your operating system:
Windows
macOS
Linux
| FNetworkNotify
|
Module |
|
Header |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/Net/NUTUtilNet.h |
Include |
#include "Net/NUTUtilNet.h" |
class FNetworkNotifyHook : public FNetworkNotify
A delegate network notify class, to allow for easy inline-hooking.
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 | Description | ||
---|---|---|---|
|
FNetworkNotify ... |
HookedNotify |
If this is hooking an existing network notify, save a reference |
|
NotifyAcceptedConnectionDelegate |
||
|
NotifyAcceptingChannelDelegate |
||
|
NotifyAcceptingConnectionDelegate |
||
|
NotifyControlMessageDelegate |
Name | Description | |
---|---|---|
|
FNetworkNotifyHook() |
Base constructor |
|
FNetworkNotifyHook ( |
Constructor which hooks an existing network notify |
Name | Description | |
---|---|---|
|
~FNetworkNotifyHook() |
Virtual destructor |
Name | Description | ||
---|---|---|---|
|
NotifyAcceptedConnection ( |
Notification that a new connection has been created/established as a result of a remote request, previously approved by NotifyAcceptingConnection |
|
|
NotifyAcceptingChannel ( |
Notification that a new channel is being created/opened as a result of a remote request (Actor creation, etc) |
|
|
EAcceptConne... |
NotifyAcceptingConnection() |
Old/original notifications |
|
NotifyControlMessage ( |
Handler for messages sent through a remote connection's control channel not required to handle the message, but if it reads any data from Bunch, it MUST read the ENTIRE data stream for that message (i.e. use FNetControlMessage |