-
Notifications
You must be signed in to change notification settings - Fork 2
/
ETLogFileReader.h
40 lines (33 loc) · 1.06 KB
/
ETLogFileReader.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
#ifndef __ETLOGFILEREADER
#define __ETLOGFILEREADER
// wxWindows includes
#include <wx/wx.h>
#include <wx/string.h>
#include <wx/wfstream.h>
#include <wx/datetime.h>
#include <wx/tokenzr.h>
// statsgen includes
#include "ErrorData.h"
#include "Round.h"
#include "MOHAALogFileReader.h"
#include "DynamicArrays.h"
#include "Round.h"
class ETLogFileReader:public MOHAALogFileReader
{
public:
virtual bool IsWorldPlayer(wxString &id,wxString &team,wxString &name);
ETLogFileReader(wxArrayString &filenameIn,wxString &serverTypeIn);
virtual ~ETLogFileReader();
virtual bool DecodeTeamLoss(wxString &line,DecodedTeamLoss &teamLoss);
virtual bool DecodeTeamWin(wxString &line,DecodedTeamWin &teamWin);
virtual bool DecodePlayerJoin(wxString &line,DecodedPlayerJoin &decode);
virtual bool DecodeRoundStart(wxString &line,
DecodedRoundStart &decode,
Round *round);
protected:
virtual bool StripTimeFromLine(wxString &lineRead,wxDateTime &lineTime);
virtual bool IsRoundStart(wxString &line);
virtual bool IsRoundEnd(wxString &line);
private:
};
#endif