fixed issue
This commit is contained in:
@ -0,0 +1,30 @@
|
||||
// Copyright (c), Firelight Technologies Pty, Ltd. 2012-2023.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Containers/UnrealString.h"
|
||||
#include "Misc/DateTime.h"
|
||||
#include "Delegates/Delegate.h"
|
||||
|
||||
class FFMODBankUpdateNotifier
|
||||
{
|
||||
public:
|
||||
FFMODBankUpdateNotifier();
|
||||
|
||||
void SetFilePath(const FString &InPath);
|
||||
void Update(float DeltaTime);
|
||||
|
||||
void EnableUpdate(bool bEnable);
|
||||
|
||||
FSimpleMulticastDelegate BanksUpdatedEvent;
|
||||
|
||||
private:
|
||||
void Refresh();
|
||||
FDateTime MostRecentFileTime();
|
||||
|
||||
bool bUpdateEnabled;
|
||||
FString FilePath;
|
||||
FDateTime NextRefreshTime;
|
||||
FDateTime FileTime;
|
||||
float Countdown;
|
||||
};
|
Reference in New Issue
Block a user