Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UNetConnection
Description
Create and return a child connection and assign it a new NetPlayerIndex.
The new NetPlayerIndex is output in the argument OutNetPlayerIndex.
| Name | CreateChild |
| 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 |
UChildConnection * CreateChild
(
int32 * OutNetPlayerIndex
)