Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
tapped_out_interface.h
Go to the documentation of this file.
1
6
7#ifndef TAPPEDOUT_INTERFACE_H
8#define TAPPEDOUT_INTERFACE_H
9
12
13inline Q_LOGGING_CATEGORY(TappedOutInterfaceLog, "tapped_out_interface");
14
15class QByteArray;
16class QNetworkAccessManager;
17class QNetworkReply;
18class DeckList;
19
25
26class TappedOutInterface : public QObject
27{
28 Q_OBJECT
29private:
30 QNetworkAccessManager *manager;
31
33 void copyDeckSplitMainAndSide(DeckList &source, DeckList &mainboard, DeckList &sideboard);
34private slots:
35 void queryFinished(QNetworkReply *reply);
36 void getAnalyzeRequestData(DeckList *deck, QByteArray *data);
37
38public:
39 explicit TappedOutInterface(CardDatabase &_cardDatabase, QObject *parent = nullptr);
40 void analyzeDeck(DeckList *deck);
41};
42
43#endif
Core in-memory container for card and set data.
Definition card_database.h:29
Represents a complete deck, including metadata, zones, cards, and sideboard plans.
Definition deck_list.h:127
void copyDeckSplitMainAndSide(DeckList &source, DeckList &mainboard, DeckList &sideboard)
Definition tapped_out_interface.cpp:94
void queryFinished(QNetworkReply *reply)
Definition tapped_out_interface.cpp:19
QNetworkAccessManager * manager
Definition tapped_out_interface.h:30
void getAnalyzeRequestData(DeckList *deck, QByteArray *data)
Definition tapped_out_interface.cpp:69
TappedOutInterface(CardDatabase &_cardDatabase, QObject *parent=nullptr)
Definition tapped_out_interface.cpp:12
void analyzeDeck(DeckList *deck)
Definition tapped_out_interface.cpp:83
CardDatabase & cardDatabase
Definition tapped_out_interface.h:32
Q_LOGGING_CATEGORY(TappedOutInterfaceLog, "tapped_out_interface")