summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TenantPlugin.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2TenantPlugin.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2TenantPlugin.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/T2DLL/T2TenantPlugin.h b/src/T2DLL/T2TenantPlugin.h
index 0519a81..ff9706c 100644
--- a/src/T2DLL/T2TenantPlugin.h
+++ b/src/T2DLL/T2TenantPlugin.h
@@ -1,16 +1,15 @@
#pragma once
#include "common.h"
+#include "T2EquipPlugin.h"
-class T2TenantPlugin {
+class AFX_EXT_CLASS T2TenantPlugin : public T2EquipPlugin {
public:
- T2TenantPlugin(unsigned long, T2PluginSpecifier&);
+ T2TenantPlugin(DWORD, T2PluginSpecifier&);
virtual ~T2TenantPlugin();
- int TestLoadAllDefRsrcPlugin();
- int LoadAllTemplatePlugin(T2WorldDef*, T2TemplatePluginDB*);
- unsigned long GetShopPluginType();
+ BOOL TestLoadAllDefRsrcPlugin();
+ BOOL LoadAllTemplatePlugin(T2WorldDef*, T2TemplatePluginDB*);
+ DWORD GetShopPluginType();
+
private:
void LoadT2TenantDef(T2WorldDef*);
-
-public:
- T2TenantPlugin& operator=(T2TenantPlugin&) {}
};