You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971 [CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Framework/Commands/Commands.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 GetHasHordeStorageCache();
|
|
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;
|
|
|
|
};
|