Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest > Net
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/Net/NUTUtilNet.h |
Include | #include "Net/NUTUtilNet.h" |
Syntax
class FProcessEventHook
Remarks
Class for encapsulating ProcessEvent and general RPC hooks, implemented globally for each UWorld NOTE: Presently, all RPC hooks tied to UWorld's only hook client RPC's - global RPC hooks, hook both client and server RPC's
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddEventHook
(
UWorld* InWorld, |
Adds a non-RPC hook for the specified UWorld. |
![]() |
FDelegateHandle | AddGlobalEventHook
(
FOnProcessNetEvent InHook |
Adds a global non-RPC hook. |
![]() |
FDelegateHandle | AddGlobalRPCHook
(
FOnProcessNetEvent InHook |
Adds a global RPC hook. |
![]() |
void | AddRPCHook
(
UWorld* InWorld, |
Adds an RPC hook for the specified UWorld. |
![]() ![]() |
FProcessEventHook & | Get () |
Get a reference to the net event hook singular |
![]() |
void | RemoveEventHook
(
UWorld* InWorld |
Removes the hook for the specified UWorld. |
![]() |
void | RemoveGlobalEventHook
(
FDelegateHandle InHandle |
Removes the specified global non-RPC hook |
![]() |
void | RemoveGlobalRPCHook
(
FDelegateHandle InHandle |
Removes the specified global RPC hook |
![]() |
void | RemoveRPCHook
(
UWorld* InWorld |
Removes the RPC hook for the specified UWorld. |