zworld-em/Plugins/sentry-unreal/Source/SentryEditor/Public/SentryEditorModule.h
2025-05-11 22:07:21 +08:00

25 lines
667 B
C++

// Copyright (c) 2022 Sentry. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
class FSentryEditorModule : public IModuleInterface
{
public:
/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;
/**
* Singleton-like access to this module's interface. This is just for convenience!
* Beware of calling this during the shutdown phase, though. Your module might be already unloaded.
*
* @return Returns singleton instance, loading the module on demand if needed.
*/
static FSentryEditorModule& Get();
static const FName ModuleName;
};