Navigation
API > API/Developer > API/Developer/SourceControl
Settings for the Source Control Integration
| Name | USourceControlPreferences |
| Type | class |
| Header File | /Engine/Source/Developer/SourceControl/Public/SourceControlPreferences.h |
| Include Path | #include "SourceControlPreferences.h" |
Syntax
UCLASS (MinimalAPI, Config=Editor, defaultconfig,
Meta=(DisplayName="Revision Control", Keywords="Source Control"))
class USourceControlPreferences : public UDeveloperSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDeveloperSettings → USourceControlPreferences
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableUncontrolledChangelists | bool | Enables Uncontrolled Changelists features. | SourceControlPreferences.h |
|
| bEnableValidationTag | bool | If enabled, adds a tag in changelist descriptions when they are validated | SourceControlPreferences.h |
|
| bRequiresRevisionControlToRenameLocalizableAssets | bool | Revision Control is a requirement to move/rename/delete localizable assets | SourceControlPreferences.h |
|
| bShouldDeleteNewFilesOnRevert | bool | If enabled, deletes new files when reverted. | SourceControlPreferences.h |
|
| CollectionChangelistTags | TArray< FString > | List of lines to add to any collection on checkin | SourceControlPreferences.h |
|
| SpecificCollectionChangelistTags | TMap< FName, FString > | Map of collection names and additional text to apply to changelist descriptions when checking them in | SourceControlPreferences.h |
|
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AreUncontrolledChangelistsEnabled() |
Helper to access easily Enable Uncontrolled Changelists setting | SourceControlPreferences.h | |
static bool IsValidationTagEnabled() |
Helper to access easily Enable Validation Tag setting | SourceControlPreferences.h | |
static bool RequiresRevisionControlToRenameLocalizableAssets() |
Helper to access easily Requires Revision Control To Rename Localizable Assets setting | SourceControlPreferences.h | |
static bool ShouldDeleteNewFilesOnRevert() |
Helper to access easily Should Delete New Files On Revert setting | SourceControlPreferences.h |