A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
IDlgSystemEditorModule.h
Go to the documentation of this file.
1// Copyright Csaba Molnar, Daniel Butum. All Rights Reserved.
2#pragma once
3
4#include "AssetTypeCategories.h"
5#include "Modules/ModuleManager.h"
6#include "Modules/ModuleInterface.h"
7
8// The name of the Dialogue System Editor plugin as defined in the .uplugin file
9const FName DIALOGUE_SYSTEM_EDITOR_PLUGIN_NAME(TEXT("DlgSystemEditor"));
10
14class DLGSYSTEMEDITOR_API IDlgSystemEditorModule : public IModuleInterface
15{
16public:
17
25 {
26 return FModuleManager::LoadModuleChecked<IDlgSystemEditorModule>(DIALOGUE_SYSTEM_EDITOR_PLUGIN_NAME);
27 }
28
34 static bool IsAvailable()
35 {
36 return FModuleManager::Get().IsModuleLoaded(DIALOGUE_SYSTEM_EDITOR_PLUGIN_NAME);
37 }
38
39 // Returns the Asset Category for this plugin
40 virtual EAssetTypeCategories::Type GetAssetCategory() const = 0;
41
42public:
44};
const FName DIALOGUE_SYSTEM_EDITOR_PLUGIN_NAME(TEXT("DlgSystemEditor"))
static IDlgSystemEditorModule & Get()
virtual EAssetTypeCategories::Type GetAssetCategory() const =0