Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/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 |
Overridden from FNetworkNotify
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | NotifyAcceptedConnection
(
UNetConnection* Connection |
Notification that a new connection has been created/established as a result of a remote request, previously approved by NotifyAcceptingConnection |
![]() ![]() |
bool | NotifyAcceptingChannel
(
UChannel* Channel |
Notification that a new channel is being created/opened as a result of a remote request (Actor creation, etc) |
![]() ![]() |
EAcceptConnection::Type | Old/original notifications | |
![]() ![]() |
void | NotifyControlMessage
(
UNetConnection* Connection, |
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 |