UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DownloadConnectionCount.mock.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
5
7
8#if WITH_DEV_AUTOMATION_TESTS
9
10namespace BuildPatchServices
11{
12 class FMockDownloadConnectionCount : public IDownloadConnectionCount
13 {
14 public:
17 {
18
19 }
21 :Count(8)
22 {
23
24 }
25 uint32 GetAdjustedCount(uint32 NumProcessing, EBuildPatchDownloadHealth CurrentHealth) { return Count; }
26 private:
27 const uint32 Count;
28 };
29}
30
31#endif //WITH_DEV_AUTOMATION_TESTS
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EBuildPatchDownloadHealth
Definition IBuildInstaller.h:88
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition BuildPatchFileConstructor.h:28