Files
UnrealEngineUWP/Engine/Source/Editor/DerivedDataEditor/Private/DerivedDataInformation.h
Zousar Shaker fee1c826d6 Update references to "Horde Storage" to "Unreal Cloud DDC" or appropriate variations.
Specifically:
HordeStorageServers-> StorageServers
HordeStorage  -> UnrealCloudDDC
Horde Storage -> Unreal Cloud DDC

#rb matt.peters
#fyi devin.doucette
#fyi joakim.lindqvist
#jira UE-167262
#preflight 6349da9bad0f7e2f206125e3

[CL 22538004 by Zousar Shaker in ue5-main branch]
2022-10-14 18:39:39 -04:00

42 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "HAL/Platform.h"
#include "Internationalization/Text.h"
enum class ERemoteCacheState : uint8
{
Idle,
Busy,
Unavailable,
Warning,
};
class FDerivedDataInformation
{
public:
static double GetCacheActivityTimeSeconds(bool bGet, bool bLocal);
static double GetCacheActivitySizeBytes(bool bGet, bool bLocal);
static bool GetHasRemoteCache();
static bool GetHasZenCache();
static bool GetHasUnrealCloudCache();
static ERemoteCacheState GetRemoteCacheState() { return RemoteCacheState; }
static FText GetRemoteCacheStateAsText();
static FText GetRemoteCacheWarningMessage() { return RemoteCacheWarningMessage; }
static void UpdateRemoteCacheState();
static bool IsUploading() { return bIsUploading; }
static bool IsDownloading() { return bIsDownloading; }
private:
static ERemoteCacheState RemoteCacheState;
static FText RemoteCacheWarningMessage;
static double LastGetTime;
static double LastPutTime;
static bool bIsUploading;
static bool bIsDownloading;
};