From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2TenantPlugin.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/T2DLL/T2TenantPlugin.h') 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&) {} }; -- cgit v1.2.3