-
Notifications
You must be signed in to change notification settings - Fork 1
/
baseweapondamageparser.h
42 lines (30 loc) · 1010 Bytes
/
baseweapondamageparser.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
#ifndef BASEWEAPONDAMAGEPARSER_H
#define BASEWEAPONDAMAGEPARSER_H
#include <QObject>
#include <baseweapondamagetable.h>
#include <graphfileparser.h>
#include <QDir>
class BaseWeaponDamageParser : public GraphFileParser
{
Q_OBJECT
public:
explicit BaseWeaponDamageParser(QString databaseFilePath, QObject *parent = 0);
~BaseWeaponDamageParser();
void DatFilesFolder(QDir datFilesFolder)
{
QDir statsFolder = datFilesFolder;
if (statsFolder.cd("GRAPHS/STATS"))
mDatFilesFolder = statsFolder;
}
quint32 NumBaseWeaponDamageProcessed() { return mNumBaseWeaponDamageProcessed; }
signals:
void finishedParsingBaseWeaponDamage();
public slots:
void ParseBaseWeaponDamage();
private:
BaseWeaponDamageTable* mBaseWeaponDamageTable;
QDir mDatFilesFolder;
quint32 mNumBaseWeaponDamageProcessed;
static const QString BaseWeaponDamageFileName;
};
#endif // BASEWEAPONDAMAGEPARSER_H