#pragma once #include "common.h" #include "LArray.h" class AFX_CLASS_EXPORT T2EquipPtrList : public LArray { public: T2EquipPtrList(unsigned int attribute = 0); virtual ~T2EquipPtrList(); void AddItem(T2Equip* equip); void RemoveItem(T2Equip* equip); void RemoveItem(int index); int GetIndex(T2Equip* equip); int GetIndex(unsigned int equipID); T2Equip* GetItem(int index); void SetRelatedTenantID(unsigned int id); unsigned int GetAttribute() const { return mAttribute; } protected: unsigned int mAttribute; };