Files
UnrealEngine/Engine/Plugins/AudioGameplayVolume/Source/AudioGameplayVolumeEditor/Public/AudioGameplayVolumeEditorModule.h
2025-05-18 13:04:45 +08:00

30 lines
794 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Logging/LogMacros.h"
#include "Modules/ModuleInterface.h"
#include "Templates/SharedPointerFwd.h"
// Forward Declarations
class FComponentVisualizer;
AUDIOGAMEPLAYVOLUMEEDITOR_API DECLARE_LOG_CATEGORY_EXTERN(AudioGameplayVolumeEditor, Log, All);
class FAudioGameplayVolumeEditorModule : public IModuleInterface
{
public:
/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;
protected:
void HandleCustomPropertyLayouts(bool bRegister);
void HandleComponentVisualizers(bool bRegister);
void RegisterComponentVisualizer(FName ComponentClassName, TSharedPtr<FComponentVisualizer> Visualizer);
TArray<FName> RegisteredComponentVisualizers;
};