Navigation
Unreal Engine C++ API Reference > Developer > SourceControl > FSourceControlFileStatusMonitor
References
Module | SourceControl |
Header | /Engine/Source/Developer/SourceControl/Public/SourceControlFileStatusMonitor.h |
Include | #include "SourceControlFileStatusMonitor.h" |
Source | /Engine/Source/Developer/SourceControl/Private/SourceControlFileStatusMonitor.cpp |
void SetMonitoringFiles ( uintptr_t OwnerId, [TSet](API\Runtime\Core\Containers\TSet)< [FString](API\Runtime\Core\Containers\FString) > && AbsPathnames, [FOnSourceControlFileStatus](API\Developer\SourceControl\FSourceControlFileStatusMonitor\FOnSourceControl-) OnSourceControlledFileStatus )
Remarks
Starts monitoring files that weren't monitored yet by the specified owner, stops monitoring those that were monitored by the owner but are not in the updated list and keep monitoring files that were monitored before and still in the updated list.
Parameters
Name | Description |
---|---|
OwnerId | The unique Id of the caller, typically the caller memory address. |
AbsPathnames | The list of absolute file pathnames that must be monitored. (The set is modified during the operation) |
OnSourceControlledFileStatus | Delegate invoked whe the status of the file is updated. |