summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2OutObjArrayList.h
blob: 0ca19f28f84475b7d6bb671901a5f0c9866b2acd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once
#include "common.h"
#include "LArray.h"

class AFX_CLASS_EXPORT T2OutObjArrayList : public LArray {
public:
	T2OutObjArrayList();
	virtual ~T2OutObjArrayList();
	void Add(T2OutObjArray* inArray);
	T2OutObjArray* GetItemAt(int inIndex);
	T2OutObj* FindUnusedOutObj();
	void DispatchIdle(T2TowerDoc* inDoc);
	T2OutObj* GetIndOutObj(unsigned int inIndex);
	T2OutObj* GetOutObjByID(unsigned int inOutObjID);
	int CalcMentenanceCost(T2TowerDoc* inDoc) const;
	void Read(T2Archive& inArchive, T2TowerDoc* inDoc);
	void Write(T2Archive& inArchive);
};