Hozach (Audio) aac996d671 Committing Changes(?)
Committing changes that aren't mine but Git is saying they're mine (Events for footsteps). Shouldn't mess anything up.
2025-04-25 13:35:28 -04:00

31 lines
605 B
C++

// Copyright (c), Firelight Technologies Pty, Ltd. 2012-2025.
#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;
};