mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-10 05:28:06 -05:00
d24c8453db
subrepo: subdir: "libultraship" merged: "a484cda98" upstream: origin: "https://github.com/HarbourMasters/libultraship.git" branch: "main" commit: "a484cda98" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
19 lines
456 B
C++
19 lines
456 B
C++
#pragma once
|
|
#include "ModManager.h"
|
|
#include "SohHooks.h"
|
|
#include "SohConsole.h"
|
|
#include "Archive.h"
|
|
|
|
namespace Ship {
|
|
class ModModule {
|
|
protected:
|
|
ModManager* Manager;
|
|
public:
|
|
virtual ~ModModule() = default;
|
|
explicit ModModule(ModManager* Manager) : Manager(Manager) {}
|
|
virtual void Init() = 0;
|
|
virtual void Open(std::shared_ptr<Ship::Archive> archive) = 0;
|
|
virtual void Close(Ship::Archive archive) = 0;
|
|
virtual void Exit() = 0;
|
|
};
|
|
} |