Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UNetDriver
Description
Enumerate through each client connection (including any child connections).
Func is a function that is called with the current instance of UNetConnection in the enumeration, and should return true if the enumeration must stop (i.e. no more calls to Func) or false for the enumeration to continue.
| Name | ForEachClientConnection |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/NetDriver.h |
| Include Path | #include "Engine/NetDriver.h" |
| Source | /Engine/Source/Runtime/Engine/Private/NetDriver.cpp |
void ForEachClientConnection
(
TFunction < bool< UNetConnection >)> Func
)