ISourceControlProvider::GetState

Get the state of each of the passed-in changelists.

Unreal Engine C++ API Reference > Developer > SourceControl > ISourceControlProvider > GetState

References

   
Module SourceControl
Header /Engine/Source/Developer/SourceControl/Public/ISourceControlProvider.h
Include #include "ISourceControlProvider.h"
[ECommandResult::Type](API\Developer\SourceControl\ECommandResult__Type) GetState
(
    const [TArray](API\Runtime\Core\Containers\TArray)< [FSourceControlChangelistRef](API\Developer\SourceControl\FSourceControlChangelistRef) > & InChangelists,
    [TArray](API\Runtime\Core\Containers\TArray)< [FSourceControlChangelistStateRef](API\Developer\SourceControl\FSourceControlChangelistStateRef) > & OutState,
    [EStateCacheUsage::Type](API\Developer\SourceControl\EStateCacheUsage__Type) InStateCacheUsage
)

Remarks

Get the state of each of the passed-in changelists. State may be cached for faster queries. Note states can be NULL! the result of the operation.

Parameters

Name Description
InChangelists The changelists to retrieve state for.
OutState The states of the changelists. This will be empty if the operation fails. Note states can be NULL!
InStateCacheUsage Whether to use the state cache or to force a (synchronous) state retrieval.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library