/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h
Get the selection state of the current level (its actors and components) so that it might be restored later.
void GetSelectionStateOfLevel ( [FSelectionStateOfLevel](API\Editor\UnrealEd\Editor\FSelectionStateOfLevel) & OutSelectionStateOfLevel ) const