summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2VisitVIP.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2VisitVIP.h')
-rw-r--r--src/T2DLL/T2VisitVIP.h56
1 files changed, 41 insertions, 15 deletions
diff --git a/src/T2DLL/T2VisitVIP.h b/src/T2DLL/T2VisitVIP.h
index 0d97c07..b2510b5 100644
--- a/src/T2DLL/T2VisitVIP.h
+++ b/src/T2DLL/T2VisitVIP.h
@@ -1,22 +1,48 @@
#pragma once
#include "common.h"
+#include "T2EventItem.h"
-class T2VisitVIP {
+enum {
+ kVisitVIPStatus0 = 0,
+ kVisitVIPStatus1 = 1,
+ kVisitVIPStatus2 = 2,
+ kVisitVIPStatus3 = 3,
+ kVisitVIPStatus4 = 4,
+ kVisitVIPStatus5 = 5,
+ kVisitVIPStatus6 = 6,
+};
+
+class AFX_EXT_CLASS T2VisitVIP : public T2EventItem {
public:
- T2VisitVIP(T2TowerEvent*, CResFile*, int);
- T2VisitVIP(T2TowerEvent*, int, int, int, int, int, int);
+ T2VisitVIP(T2TowerEvent* inTowerEvent, CResFile* inResFile, int inSubID);
+ T2VisitVIP(T2TowerEvent* inTowerEvent, int inSubID, int inLevelBit, BOOL inExclusive, int inCycleDay, int inBeginTime, int inEndTime);
virtual ~T2VisitVIP();
- virtual int IsBeginDay(int);
- virtual int IsBeginTime(unsigned int);
- virtual int Start(T2TowerDoc*);
- virtual int Exec(T2TowerDoc*);
- void Init(CResFile*);
- int DoReception(T2TowerDoc*);
- int GetDestinationTennant(unsigned long, T2Tenant*&, CFilePlugin*&, T2PluginSpecifier*&);
- virtual void Write(T2Archive&);
- virtual void Read(T2Archive&);
+ virtual DWORD GetID() { return 'ViEv'; }
+ virtual BOOL Start(T2TowerDoc* inDoc);
+ virtual int Exec(T2TowerDoc* inDoc);
+ virtual BOOL IsBeginTime(unsigned int inTime);
+ virtual BOOL IsBeginDay(int inDay);
+ virtual void Write(T2Archive& inArchive);
+ virtual void Read(T2Archive& inArchive);
+
+ void Init(CResFile* inResFile);
+ BOOL DoReception(T2TowerDoc* inDoc);
+ BOOL GetDestinationTennant(DWORD inPluginID, T2Tenant*& outTenant, CFilePlugin*& outPlugin, T2PluginSpecifier*& outSpecifier);
- virtual unsigned long GetID() {}
- T2VisitVIP(const T2VisitVIP&) {}
- T2VisitVIP& operator=(const T2VisitVIP&) {}
+protected:
+ int mGrade;
+ DWORD mTenantPluginID;
+ int mArrivalTime;
+ int mArriveAnimResID;
+ int mSatisfiedSoundID;
+ int mDissatisfiedSoundID;
+ int mSilhouetteType;
+ CString mSatisfiedText;
+ CString mDissatisfiedText;
+ unsigned int mVisitFlag;
+ unsigned int mPeopleID; // who the VIP is
+ unsigned int mTenantID;
+ int mDaysBeforeNextVisit;
+ int mBeginDay;
+ BOOL mCheckedIn;
};