aboutsummaryrefslogtreecommitdiff
path: root/Core/CoreObject/coreobject.h
blob: 91bd33b78390521a3f23a8abea8bc1c55300d73c (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
27
28
29
30
#ifndef COREOBJECT_H
#define COREOBJECT_H

#include "Core/CoreObject/serverinfostructure.h"
#include "Core/GameInfo/gameinfostructure.h"
#include "Logger/logger.h"
#include "Settings/settingstructure.h"

class CoreObject
{
public:
    CoreObject();

    // struct with internal and external settings
    SettingStructure Settings;

    // list of game details: gamename, cipher
    QHash<QString, GameInfo> SupportedGames;

    // logging functions
    Logger Log;

    // server address list acquired through third party masterservers
    QList<ServerInfo> PendingServers;

    // generate our session/identification string, to prevent self-syncing
    QString masterserverIdentity; // msid value
};

#endif // COREOBJECT_H