Navigation
API > API/Editor > API/Editor/SourceControlWindows
References
| Module | SourceControlWindows |
| Header | /Engine/Source/Editor/SourceControlWindows/Public/SourceControlWindows.h |
| Include | #include "SourceControlWindows.h" |
Syntax
class FSourceControlWindows
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Determines whether we can choose packages to check in (we can't if an operation is already in progress) | ||
| bool | Determines whether we can sync to latest | ||
| bool | ChoosePackagesToCheckIn
(
const FSourceControlWindowsOnCheckInComplete& OnCompleteDelegate |
Opens a user dialog to choose packages to submit. | |
| void | ChoosePackagesToCheckInCallback
(
const FSourceControlOperationRef& InOperation, |
Callback for ChoosePackagesToCheckIn(), continues to bring up UI once source control operations are complete | |
| void | ChoosePackagesToCheckInCancelled
(
FSourceControlOperationRef InOperation |
Delegate called when the user has decided to cancel the check in process | |
| void | ChoosePackagesToCheckInCompleted
(
const TArray< UPackage* >& LoadedPackages, |
Called when the user selection process has completed and we have packages to check in. | |
| bool | DiffAgainstShelvedFile
(
const FSourceControlStateRef& InFileState |
Displays file diff against shelved file | |
| bool | DiffAgainstWorkspace
(
const FString& InFileName |
Displays file diff against workspace version | |
| void | DisplayRevisionHistory
(
const TArray< FString >& InPackagesNames |
Display file revision history for the provided packages | |
| bool | OnSubmitClicked
(
TSharedRef< class SSourceControlSubmitWidget > SourceControlWidget |
Delegate called when the user clicks submit. | |
| bool | Display check in dialog for the specified packages | ||
| bool | PromptForCheckin
(
FCheckinResultInfo& OutResultInfo, |
Display check in dialog for the specified packages and get additional result information | |
| bool | PromptForRevert
(
const TArray< FString >& InPackageNames, |
Prompt the user with a revert files dialog, allowing them to specify which packages, if any, should be reverted. | |
| bool | Revert all locally modified files, and reload the world | ||
| bool | Determines if the Submit Content action should be visible or not | ||
| bool | SyncLatest () |
Saves all unsaved levels and assets and then - conditionally - performs an FSync operation to get latest and reloads the world |
Constants
| Name | Description |
|---|---|
| ChoosePackagesToCheckInNotification | The notification in place while we choose packages to check in |