Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UNetConnection
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GracefulClose
(
FNetResult&& CloseReason |
Starts a graceful close. | Engine/NetConnection.h | |
virtual void GracefulClose
(
FNetCloseResult&& CloseReason |
Starts a graceful close. | Engine/NetConnection.h |
GracefulClose(FNetResult &&)
Description
Starts a graceful close. If net.EnableGracefulClose is true, waits longer for reliable RPCs to be acknowledged before fully cleaning up the connection. If net.EnableGracefulClose is false, immediately sends the control channel close bunch. Reliable RPCs may be lost.
| Name | GracefulClose |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h |
| Include Path | #include "Engine/NetConnection.h" |
| Source | /Engine/Source/Runtime/Engine/Private/NetConnection.cpp |
void GracefulClose
(
FNetResult && CloseReason
)
Parameters
| Name | Remarks |
|---|---|
| CloseReason | Specifies the reason for the Close |
GracefulClose(FNetCloseResult &&)
Description
Starts a graceful close. If net.EnableGracefulClose is true, waits longer for reliable RPCs to be acknowledged before fully cleaning up the connection. If net.EnableGracefulClose is false, immediately sends the control channel close bunch. Reliable RPCs may be lost.
| Name | GracefulClose |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h |
| Include Path | #include "Engine/NetConnection.h" |
virtual void GracefulClose
(
FNetCloseResult && CloseReason
)
Parameters
| Name | Remarks |
|---|---|
| CloseReason | Specifies the reason for the Close |