Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UNetConnection
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SendCloseReason
(
FNetCloseResult&& CloseReason |
Sends an NMT_CloseReason message, with the specified close reason or close reason chain. | Engine/NetConnection.h | |
void SendCloseReason
(
FNetResult&& CloseReason |
Sends an NMT_CloseReason message, with the specified close reason or close reason chain. | Engine/NetConnection.h |
SendCloseReason(FNetCloseResult &&)
Description
Sends an NMT_CloseReason message, with the specified close reason or close reason chain. Called automatically by UNetConnection::Close, but should be called beforehand if sending a packet that will trigger a remote close.
| Name | SendCloseReason |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h |
| Include Path | #include "Engine/NetConnection.h" |
void SendCloseReason
(
FNetCloseResult && CloseReason
)
Parameters
| Name | Remarks |
|---|---|
| CloseReason | The close reason or close reason chain to send |
SendCloseReason(FNetResult &&)
Description
Sends an NMT_CloseReason message, with the specified close reason or close reason chain. Called automatically by UNetConnection::Close, but should be called beforehand if sending a packet that will trigger a remote close.
| Name | SendCloseReason |
| 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 SendCloseReason
(
FNetResult && CloseReason
)
Parameters
| Name | Remarks |
|---|---|
| CloseReason | The close reason or close reason chain to send |