summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TenantMemberTableDef.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-14 00:50:34 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-14 00:50:34 +0100
commit37e364b2c6cc7487a1c888d256a73e5337bb7189 (patch)
treeeaf6e857382eef16c2dd940eb4125536fbe068bd /src/T2DLL/T2TenantMemberTableDef.h
downloadt2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.tar.gz
t2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.zip
initial commit
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2TenantMemberTableDef.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/T2DLL/T2TenantMemberTableDef.h b/src/T2DLL/T2TenantMemberTableDef.h
new file mode 100644
index 0000000..e189d59
--- /dev/null
+++ b/src/T2DLL/T2TenantMemberTableDef.h
@@ -0,0 +1,30 @@
+#pragma once
+#include "common.h"
+
+class T2TenantMemberTableDef {
+public:
+ T2TenantMemberTableDef(HINSTANCE, CResFile*, float);
+ T2TenantMemberTableDef(const char*, CResFile*, float);
+ virtual ~T2TenantMemberTableDef();
+private:
+ void Initialize();
+public:
+ int GetEconoType() const;
+ int IsCheckOnlyFirstEconoType() const;
+ T2TenantMemberDef* GetElem(int) const;
+ int GetScore(T2PlaceParamDef::EPlace) const;
+ int IsCollectFromFloor() const;
+ int IsCollectFromPool(T2TowerDoc*) const;
+ int IsCollectFromTenant() const;
+protected:
+ T2DayParamDef* MakeDayParamDef(HINSTANCE, int);
+ T2DayParamDef* MakeDayParamDef(const char*, int);
+ T2PlaceParamDef* MakePlaceParamDef(HINSTANCE, int);
+ T2PlaceParamDef* MakePlaceParamDef(const char*, int);
+
+public:
+ T2TenantMemberTableDef(const T2TenantMemberTableDef&) {}
+ T2TenantMemberTableDef& operator=(const T2TenantMemberTableDef&) {}
+ int GetNumOfElem() const {}
+ unsigned int GetSpecialFlag() const {}
+};