AkSwitchValue.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 "AkGroupValue.h"
  17. #include "AkSwitchValue.generated.h"
  18. UCLASS(BlueprintType)
  19. class AKAUDIO_API UAkSwitchValue : public UAkGroupValue
  20. {
  21. GENERATED_BODY()
  22. virtual void Serialize(FArchive& Ar) override;
  23. protected:
  24. virtual void LoadGroupValue() override;
  25. #if WITH_EDITORONLY_DATA
  26. public:
  27. virtual void FillInfo() override;
  28. virtual void FillInfo(const FWwiseAnyRef& CurrentWwiseRef) override;
  29. virtual bool ObjectIsInSoundBanks() override;
  30. virtual FName GetWwiseGroupName() override;
  31. #endif
  32. };