You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-OWNER: ryan.durand #ROBOMERGE-AUTHOR: ryan.durand #ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900 #ROBOMERGE-BOT: (v613-10869866) [CL 10870549 by ryan durand in Main branch]
107 lines
2.7 KiB
C++
107 lines
2.7 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "InstallBundleManagerInterface.h"
|
|
#include "InstallBundleManagerModule.h"
|
|
#include "Modules/ModuleManager.h"
|
|
|
|
class FNullInstallBundleManager : public IInstallBundleManager
|
|
{
|
|
virtual bool HasBundleSource(EInstallBundleSourceType SourceType) const override
|
|
{
|
|
return false;
|
|
}
|
|
|
|
virtual FDelegateHandle PushInitErrorCallback(FInstallBundleManagerInitErrorHandler Callback) override
|
|
{
|
|
return FDelegateHandle();
|
|
}
|
|
|
|
virtual void PopInitErrorCallback() override
|
|
{
|
|
}
|
|
|
|
void PopInitErrorCallback(FDelegateHandle Handle) override
|
|
{
|
|
}
|
|
|
|
virtual void PopInitErrorCallback(const void* InUserObject) override
|
|
{
|
|
}
|
|
|
|
virtual EInstallBundleManagerInitState GetInitState() const override
|
|
{
|
|
return EInstallBundleManagerInitState::Succeeded;
|
|
}
|
|
|
|
virtual FInstallBundleRequestInfo RequestUpdateContent(TArrayView<const FName> BundleNames, EInstallBundleRequestFlags Flags) override
|
|
{
|
|
FInstallBundleRequestInfo RetInfo;
|
|
return RetInfo;
|
|
}
|
|
|
|
virtual void GetContentState(TArrayView<const FName> BundleNames, EInstallBundleGetContentStateFlags Flags, bool bAddDependencies, FInstallBundleGetContentStateDelegate Callback, FName RequestTag) override
|
|
{
|
|
FInstallBundleCombinedContentState State;
|
|
Callback.ExecuteIfBound(State);
|
|
}
|
|
|
|
virtual void CancelAllGetContentStateRequestsForTag(FName RequestTag) override
|
|
{
|
|
}
|
|
|
|
virtual void RequestRemoveContentOnNextInit(TArrayView<const FName> RemoveNames, TArrayView<const FName> KeepNames = TArrayView<const FName>()) override
|
|
{
|
|
}
|
|
|
|
virtual void CancelRequestRemoveContentOnNextInit(TArrayView<const FName> BundleNames) override
|
|
{
|
|
}
|
|
|
|
virtual void CancelUpdateContent(TArrayView<const FName> BundleNames, EInstallBundleCancelFlags Flags) override
|
|
{
|
|
}
|
|
|
|
virtual void PauseUpdateContent(TArrayView<const FName> BundleNames) override
|
|
{
|
|
|
|
}
|
|
|
|
virtual void ResumeUpdateContent(TArrayView<const FName> BundleNames) override
|
|
{
|
|
|
|
}
|
|
|
|
virtual void RequestPausedBundleCallback() override
|
|
{
|
|
|
|
}
|
|
|
|
virtual TOptional<FInstallBundleProgress> GetBundleProgress(FName BundleName) const override
|
|
{
|
|
return TOptional<FInstallBundleProgress>();
|
|
}
|
|
|
|
virtual EInstallBundleRequestFlags GetModifyableContentRequestFlags() const override
|
|
{
|
|
return EInstallBundleRequestFlags::None;
|
|
}
|
|
virtual void UpdateContentRequestFlags(TArrayView<const FName> BundleNames, EInstallBundleRequestFlags AddFlags, EInstallBundleRequestFlags RemoveFlags) override
|
|
{
|
|
|
|
}
|
|
|
|
virtual bool IsNullInterface() const override
|
|
{
|
|
return true;
|
|
}
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
class FNullInstallBundleManagerModule : public TInstallBundleManagerModule<FNullInstallBundleManager>
|
|
{
|
|
};
|
|
|
|
IMPLEMENT_MODULE(FNullInstallBundleManagerModule, NullInstallBundleManager);
|