Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
card_in_deck_request.h
Go to the documentation of this file.
1
#ifndef COCKATRICE_CARD_IN_DECK_REQUEST_H
2
#define COCKATRICE_CARD_IN_DECK_REQUEST_H
3
#include <QJsonObject>
4
#include <QString>
5
6
struct
CardInDeckRequest
7
{
8
static
CardInDeckRequest
fromJson
(
const
QJsonObject &json);
9
QJsonObject
toJson
()
const
;
10
11
QString
card
;
12
int
quantity
;
13
};
14
15
#endif
// COCKATRICE_CARD_IN_DECK_REQUEST_H
CardInDeckRequest
Definition
card_in_deck_request.h:7
CardInDeckRequest::quantity
int quantity
Definition
card_in_deck_request.h:12
CardInDeckRequest::toJson
QJsonObject toJson() const
Definition
card_in_deck_request.cpp:13
CardInDeckRequest::fromJson
static CardInDeckRequest fromJson(const QJsonObject &json)
Definition
card_in_deck_request.cpp:5
CardInDeckRequest::card
QString card
Definition
card_in_deck_request.h:11
cockatrice
src
interface
widgets
tabs
api
commander_spellbook
api_response
card_in_deck_request.h
Generated by
1.18.0