diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
commit | 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch) | |
tree | 62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/T2TenantMemberDef.h | |
parent | c0c336500955a23e344651e5412c9d9d441ef4ee (diff) | |
download | t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip |
i am in hell
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2TenantMemberDef.h | 68 |
1 files changed, 56 insertions, 12 deletions
diff --git a/src/T2DLL/T2TenantMemberDef.h b/src/T2DLL/T2TenantMemberDef.h index 431e830..02d0936 100644 --- a/src/T2DLL/T2TenantMemberDef.h +++ b/src/T2DLL/T2TenantMemberDef.h @@ -1,23 +1,23 @@ #pragma once #include "common.h" -class AFX_EXT_CLASS T2TenantMemberDef { +class AFX_CLASS_EXPORT T2TenantMemberDef { public: T2TenantMemberDef(); virtual ~T2TenantMemberDef(); void Initialize(CResFile*, float); - int GetDemandType() const { return mDemandType; } - int GetStartSilhouetteType() const { return mStartSilhouetteType; } - int GetEndSilhouetteType() const { return mEndSilhouetteType; } - int GetOptionType() const { return mOptionType; } - unsigned int GetNumOfPeople() const { return mNumOfPeople; } - void SetNumOfPeople(unsigned int v) { mNumOfPeople = v; } - float GetRate() const { return mRate; } - void SetRate(float v) { mRate = v; } - void GetName(CString& outStr) const { outStr = mName; } - unsigned int GetPercent() const { return mPercent; } - void SetPercent(unsigned int v) { mPercent = v; } + int GetDemandType() const; + int GetStartSilhouetteType() const; + int GetEndSilhouetteType() const; + int GetOptionType() const; + unsigned int GetNumOfPeople() const; + void SetNumOfPeople(unsigned int v); + float GetRate() const; + void SetRate(float v); + void GetName(CString& outStr) const; + unsigned int GetPercent() const; + void SetPercent(unsigned int v); protected: char mName[16]; @@ -29,3 +29,47 @@ protected: unsigned int mNumOfPeople; float mRate; }; + +inline int T2TenantMemberDef::GetDemandType() const { + return mDemandType; +} + +inline int T2TenantMemberDef::GetStartSilhouetteType() const { + return mStartSilhouetteType; +} + +inline int T2TenantMemberDef::GetEndSilhouetteType() const { + return mEndSilhouetteType; +} + +inline int T2TenantMemberDef::GetOptionType() const { + return mOptionType; +} + +inline unsigned int T2TenantMemberDef::GetNumOfPeople() const { + return mNumOfPeople; +} + +inline void T2TenantMemberDef::SetNumOfPeople(unsigned int v) { + mNumOfPeople = v; +} + +inline float T2TenantMemberDef::GetRate() const { + return mRate; +} + +inline void T2TenantMemberDef::SetRate(float v) { + mRate = v; +} + +inline void T2TenantMemberDef::GetName(CString& outStr) const { + outStr = mName; +} + +inline unsigned int T2TenantMemberDef::GetPercent() const { + return mPercent; +} + +inline void T2TenantMemberDef::SetPercent(unsigned int v) { + mPercent = v; +} |