summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2Tenant.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2Tenant.h43
1 files changed, 20 insertions, 23 deletions
diff --git a/src/T2DLL/T2Tenant.h b/src/T2DLL/T2Tenant.h
index 1336aa1..c9c881a 100644
--- a/src/T2DLL/T2Tenant.h
+++ b/src/T2DLL/T2Tenant.h
@@ -203,6 +203,26 @@ public:
int GetReserveCount() const;
void CancelReserve();
+ T2People *mFirstPeople;
+ T2People *m64;
+ int mMerchandiseCount;
+ int mMerchandise[4];
+ int mResideDay;
+ int mKindIndex;
+ int mMark;
+ BOOL mIsBind;
+ int mPeopleEstimate;
+ int mEstimate;
+ unsigned int mRelatedTenantID;
+ int mReserveCount;
+ int mBelongCount;
+ int mCustomerCount;
+ int mWorkCount;
+ int mTotalCustomer;
+ T2PeoplePtrList *mBelongList;
+ T2EquipPtrList *mRelatedTenantList;
+ unsigned int mTenantNumber;
+
protected:
virtual void LoadSelf(T2Archive& inArchive, T2TowerDoc* inDoc);
virtual void SaveSelf(T2Archive& inArchive);
@@ -223,29 +243,6 @@ protected:
BOOL CollectEmployeeFromPool(T2TowerDoc* inDoc, T2TenantMemberTableDef* inTable);
unsigned int CheckRouteFromPool(T2TowerDoc* inDoc, unsigned int inScore) const;
int GetConsumptionPower() const { return 0; }
-
- friend class T2EquipDef;
- friend class T2TenantArray;
-
- T2People *mFirstPeople;
- T2People *m64;
- int mMerchandiseCount;
- int mMerchandise[4];
- int mResideDay;
- int mKindIndex;
- int mMark;
- BOOL mIsBind;
- int mPeopleEstimate;
- int mEstimate;
- unsigned int mRelatedTenantID;
- int mReserveCount;
- int mBelongCount;
- int mCustomerCount;
- int mWorkCount;
- int mTotalCustomer;
- T2PeoplePtrList *mBelongList;
- T2EquipPtrList *mRelatedTenantList;
- unsigned int mTenantNumber;
};
inline /*virtual*/ void T2Tenant::ClearDrawMode() {