SwordNGunUE4/SwordNGun/Source/SwordNGunEditor/ISNGModuleInterface.h

24 lines
516 B
C
Raw Normal View History

2022-03-31 02:32:14 +00:00
// Project Sword & Gun Copyright © 2021 Kevin Poretti
#pragma once
#include "Modules/ModuleManager.h"
class ISNGModuleListenerInterface
{
public:
virtual void OnStartupModule() {};
virtual void OnShutdownModule() {};
};
class ISNGModuleInterface : public IModuleInterface
{
public:
virtual void StartupModule() override;
virtual void ShutdownModule() override;
virtual void AddModuleListeners() {};
protected:
TArray<TSharedRef<ISNGModuleListenerInterface>> ModuleListeners;
};