Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
31 lines (25 sloc)
604 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __PLAYERDATAENTRY | |
#define __PLAYERDATAENTRY | |
// wxWindows includes | |
#include <wx/datetime.h> | |
#include <wx/string.h> | |
#include <wx/dynarray.h> | |
#include <wx/textfile.h> | |
#include <wx/regex.h> | |
// Statsgen Includes | |
class PlayerDataEntry; | |
WX_DECLARE_OBJARRAY(PlayerDataEntry,ArrayOfPlayerDataEntry); | |
class PlayerDataEntry | |
{ | |
public: | |
PlayerDataEntry(); | |
~PlayerDataEntry(); | |
int playerIndex; | |
wxString playerName; | |
wxString playerGUID; | |
wxString playerData; | |
void ReadFromFile(wxTextFile *fp,int index); | |
void WriteToFile(FILE *fp); | |
bool WriteToDatabase(const char *tableName); | |
}; | |
#endif |