blob: 788b99645f2634be2858263a0d49beef2fc1fda2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
#include "common.h"
#include "LArray.h"
class AFX_CLASS_EXPORT T2PeoplePtrList : public LArray {
public:
T2PeoplePtrList(int count = 0);
virtual ~T2PeoplePtrList();
BOOL Add(T2People* people);
T2People* GetItemAt(int index) const;
BOOL GetPeopleIndex(T2People* people, int& outIndex) const;
BOOL HasSpace() const;
void Clear();
void Clear(T2People* people);
void SetDestination(unsigned int tenantID);
void ChangeDestination(unsigned int tenantID);
void SetReturn(unsigned int tenantID);
void IncStress(int value);
void IncEstimate(int value);
BOOL InSameTenant(unsigned int tenantID) const;
void LoadSelf(T2Archive& archive, T2PeopleArrayList* list);
void SaveSelf(T2Archive& archive) const;
protected:
void Init(unsigned int count);
};
|