Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FNetworkObjectList
Description
Adds replicated actors in World to the internal set of replicated actors. Used when a net driver is initialized after some actors may have already been added to the world.
| Name | AddInitialObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/NetworkObjectList.h |
| Include Path | #include "Engine/NetworkObjectList.h" |
| Source | /Engine/Source/Runtime/Engine/Private/NetworkObjectList.cpp |
void AddInitialObjects
(
UWorld *const World,
UNetDriver * NetDriver
)
Parameters
| Name | Remarks |
|---|---|
| World | The world from which actors are added. |
| NetDriver | The net driver to which this object list belongs. |