/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h
Specifies why an actor is being deleted/removed from a level
namespace EEndPlayReason { enum Type { Destroyed, LevelTransition, EndPlayInEditor, RemovedFromWorld, Quit, } }