Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UNetDriver
Description
Creates and sends a destruction info with the LevelUnloaded reason, only if ThisActor is dormant or recently dormant on Connection. Returns true if the destruction info was sent, false if the actor isn't replicated or dormant/recently dormant.
| Name | SendDestructionInfoForLevelUnloadIfDormant |
| 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 |
bool SendDestructionInfoForLevelUnloadIfDormant
(
AActor * ThisActor,
UNetConnection * Connection
)