24 lines
516 B
C
24 lines
516 B
C
|
// 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;
|
|||
|
};
|