diff options
Diffstat (limited to 'src/T2DLL/T2EquipPtrList.h')
-rw-r--r-- | src/T2DLL/T2EquipPtrList.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/T2DLL/T2EquipPtrList.h b/src/T2DLL/T2EquipPtrList.h index 01241b0..2c1edc9 100644 --- a/src/T2DLL/T2EquipPtrList.h +++ b/src/T2DLL/T2EquipPtrList.h @@ -1,20 +1,21 @@ #pragma once #include "common.h" +#include "LArray.h" -class T2EquipPtrList { +class AFX_EXT_CLASS T2EquipPtrList : public LArray { public: - T2EquipPtrList(unsigned int); + T2EquipPtrList(unsigned int attribute = 0); virtual ~T2EquipPtrList(); - void AddItem(T2Equip*); - void RemoveItem(T2Equip*); - void RemoveItem(int); - int GetIndex(T2Equip*); - int GetIndex(unsigned int); - T2Equip* GetItem(int); - void SetRelatedTenantID(unsigned int); + 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 {} - T2EquipPtrList(const T2EquipPtrList&) {} - T2EquipPtrList& operator=(const T2EquipPtrList&) {} - void `default constructor closure'() {} + unsigned int GetAttribute() const { return mAttribute; } + +protected: + unsigned int mAttribute; }; |