summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2RequestArrayList.h
blob: 315143b0d661d5317db63bac51c72266f5f40681 (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 T2RequestArrayList : private LArray {
public:
	T2RequestArrayList();
	virtual ~T2RequestArrayList();
	void Add(T2RequestArray*);
	unsigned int GetItemCount();
	T2RequestArray* GetItemAt(int);
	T2Request* GetRequestByID(unsigned int);
	T2Request* FindUnusedRequest();
	void BreakoutEmergency(T2TowerDoc*);
	void Read(T2Archive&, T2TowerDoc*);
	void Write(T2Archive&);
	void DispatchIdle(T2TowerDoc*);
};