Removed unused fields in GameMetaInfo and GameState

This commit is contained in:
RickyRister 2025-09-14 07:56:12 -07:00
parent 4de5274996
commit bf52598b67
4 changed files with 7 additions and 26 deletions

View file

@ -15,7 +15,7 @@ class GameMetaInfo : public QObject
{
Q_OBJECT
public:
explicit GameMetaInfo(AbstractGame *_game);
explicit GameMetaInfo(QObject *parent);
QMap<int, QString> roomGameTypes;
@ -79,11 +79,6 @@ public:
return roomGameTypes.find(gameInfo_.game_types(index)).value();
}
AbstractGame *getGame() const
{
return game;
}
public slots:
void setStarted(bool s)
{
@ -105,7 +100,6 @@ signals:
void spectatorsOmniscienceChanged(bool omniscient);
private:
AbstractGame *game;
ServerInfo_Game gameInfo_;
};