-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathTurbineXPTable.h
54 lines (38 loc) · 1.08 KB
/
TurbineXPTable.h
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#pragma once
#include "TurbineObject.h"
typedef DWORD EXPVAL, LEVELVAL;
typedef std::map<EXPVAL, LEVELVAL> XPMAP;
class TurbineXPTable : public TurbineObject
{
public:
TurbineXPTable(DWORD dwID);
~TurbineXPTable();
void Clear();
void Initialize(BYTE *pbData, DWORD dwLength);
DWORD *InitializeTable(XPMAP *pMap, DWORD *data, DWORD entries);
LEVELVAL GetAttributeLevel(EXPVAL XP);
EXPVAL GetAttributeXP(LEVELVAL Level);
LEVELVAL GetAttributeMax();
EXPVAL GetAttributeMaxXP();
LEVELVAL GetVitalLevel(EXPVAL XP);
EXPVAL GetVitalXP(LEVELVAL Level);
LEVELVAL GetVitalMax();
EXPVAL GetVitalMaxXP();
LEVELVAL GetTrainedLevel(EXPVAL XP);
EXPVAL GetTrainedXP(LEVELVAL Level);
LEVELVAL GetTrainedMax();
EXPVAL GetTrainedMaxXP();
LEVELVAL GetSpecializedLevel(EXPVAL XP);
EXPVAL GetSpecializedXP(LEVELVAL Level);
LEVELVAL GetSpecializedMax();
EXPVAL GetSpecializedMaxXP();
LEVELVAL GetLevel(EXPVAL XP);
EXPVAL GetLevelXP(LEVELVAL Level);
private:
XPMAP m_mAttributes;
XPMAP m_mVitals;
XPMAP m_mTrained;
XPMAP m_mSpecialized;
XPMAP m_mLevels;
};
typedef TurbineXPTable XPTABLE;