Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/NetworkObjectList.h |
Include |
#include "Engine/NetworkObjectList.h" |
Source |
/Engine/Source/Runtime/Engine/Private/NetworkObjectList.cpp |
TSharedPtr< FNetworkObjectInfo > * FindOrAdd
(
AActor *const Actor,
UNetDriver * NetDriver,
bool * OutWasAdded
)
Attempts to find the Actor's FNetworkObjectInfo. If no info is found, then the Actor will be added to the list, and will assumed to be active.
If the Actor is dormant when this is called, it is the responsibility of the caller to call MarkDormant immediately.
If info cannot be found or created, nullptr will be returned.