FNetworkObjectList::AddInitialObjects

Adds replicated actors in World to the internal set of replicated actors.

Windows
MacOS
Linux

Deprecated

  • Please use the AddInitialObjects which takes a net driver instead.

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetworkObjectList.h

Include

#include "Engine/NetworkObjectList.h"

Source

/Engine/Source/Runtime/Engine/Private/NetworkObjectList.cpp

Syntax

void AddInitialObjects
(
    UWorld *const World,
    const FName NetDriverName
)

Remarks

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.

Parameters

Parameter

Description

World

The world from which actors are added.

NetDriverName

The name of the net driver to which this object list belongs.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss