Navigation
API > API/Editor > API/Editor/UnrealEd
This class should not be used as a base class because it can force a connection to the SCM through FScopedSourceControl. Connection errors can result in failing automation processes that are unrelated. The same can happen if the class is used as a member of another class. It should only be used as a local variable in a method so the connection is only attempted if required.
| Name | FPackageSourceControlHelper |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/PackageSourceControlHelper.h |
| Include Path | #include "PackageSourceControlHelper.h" |
Syntax
class FPackageSourceControlHelper
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SourceControl | FScopedSourceControl | PackageSourceControlHelper.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddToSourceControl
(
UPackage* Package |
PackageSourceControlHelper.h | ||
bool AddToSourceControl
(
const TArray< UPackage* >& Packages, |
PackageSourceControlHelper.h | ||
bool AddToSourceControl
(
const TArray< FString >& PackageNames, |
PackageSourceControlHelper.h | ||
| PackageSourceControlHelper.h | |||
| PackageSourceControlHelper.h | |||
| PackageSourceControlHelper.h | |||
| PackageSourceControlHelper.h | |||
| PackageSourceControlHelper.h | |||
| PackageSourceControlHelper.h | |||
| PackageSourceControlHelper.h | |||
| PackageSourceControlHelper.h | |||
bool UseSourceControl() |
PackageSourceControlHelper.h |