WwiseGeneratedFiles.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*******************************************************************************
  2. The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
  3. Technology released in source code form as part of the game integration package.
  4. The content of this file may not be used without valid licenses to the
  5. AUDIOKINETIC Wwise Technology.
  6. Note that the use of the game engine is subject to the Unreal(R) Engine End User
  7. License Agreement at https://www.unrealengine.com/en-US/eula/unreal
  8. License Usage
  9. Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
  10. this file in accordance with the end user license agreement provided with the
  11. software or, alternatively, in accordance with the terms contained
  12. in a written agreement between you and Audiokinetic Inc.
  13. Copyright (c) 2023 Audiokinetic Inc.
  14. *******************************************************************************/
  15. #pragma once
  16. #include "Wwise/Metadata/WwiseMetadataCollections.h"
  17. #include "Wwise/WwiseSharedPlatformId.h"
  18. #include "Containers/Array.h"
  19. #include "Containers/UnrealString.h"
  20. #include "Containers/Map.h"
  21. struct WWISEPROJECTDATABASE_API FWwiseGeneratedFiles
  22. {
  23. using FileTuple = TTuple<FString, FDateTime>;
  24. using FileDateTimeMap = TMap<FString, FDateTime>;
  25. struct WWISEPROJECTDATABASE_API FGeneratedRootFiles
  26. {
  27. FileTuple ProjectInfoFile;
  28. FileTuple WwiseIDsFile;
  29. };
  30. struct WWISEPROJECTDATABASE_API FPlatformFiles
  31. {
  32. FileTuple PlatformInfoFile;
  33. FileTuple PluginInfoFile;
  34. FileTuple SoundbanksInfoFile;
  35. FileDateTimeMap SoundBankFiles;
  36. FileDateTimeMap MediaFiles;
  37. FileDateTimeMap MetadataFiles;
  38. FileDateTimeMap ExtraFiles;
  39. TArray<FString> DirectoriesToWatch;
  40. TArray<FString> LanguageDirectories;
  41. TArray<FString> AutoSoundBankDirectories;
  42. FString MediaDirectory;
  43. bool IsValid() const;
  44. void Append(FPlatformFiles&& Rhs);
  45. };
  46. FGeneratedRootFiles GeneratedRootFiles;
  47. TMap<FWwiseSharedPlatformId, FPlatformFiles> Platforms;
  48. WwiseMetadataSharedRootFileConstPtr ProjectInfo;
  49. bool IsValid() const;
  50. };