#ifndef T2DLL_T2STOPINFOARRAY_H #define T2DLL_T2STOPINFOARRAY_H #include "../common.h" #include "LArray.h" class AFX_CLASS_EXPORT T2StopInfoArray : private LArray { public: T2StopInfoArray(); virtual ~T2StopInfoArray(); void Init(int count); void AllClear(); void Expand(EEquipPos pos, int count); BOOL IsStopPos(int i, ERequestUpDown upDown); BOOL IsOnStopPos(int i, ERequestUpDown upDown); BOOL IsOffStopPos(int i, ERequestUpDown upDown); void SetOnStop(int i, ERequestUpDown upDown); void SetOffStop(int i, ERequestUpDown upDown); void ClearOnStop(int i, ERequestUpDown upDown); void ClearOffStop(int i, ERequestUpDown upDown); char GetStopAt(int i, ERequestUpDown upDown); void SetStopAt(int i, ERequestUpDown upDown, char); int GetIndex(int i, ERequestUpDown upDown) const; static T2StopInfoArray* ReadStopInfoArray(T2Archive& archive); static void WriteStopInfoArray(T2StopInfoArray* array, T2Archive& archive); }; #endif