Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
CardRef Struct Reference

#include <card_ref.h>

Public Member Functions

bool operator== (const CardRef &other) const

Public Attributes

QString name
QString providerId = QString()

Detailed Description

The information passed over the server that is required to identify the exact card to display.

Parameters
nameThe name of the card. Should not be empty, unless to indicate the lack of a card.
providerIdDetermines which printing of the card to use. Can be empty, in which case Cockatrice should default to using the preferred set.

Member Function Documentation

◆ operator==()

bool CardRef::operator== ( const CardRef & other) const
inline

Member Data Documentation

◆ name

QString CardRef::name

◆ providerId

QString CardRef::providerId = QString()

The documentation for this struct was generated from the following file:
  • libcockatrice_utility/libcockatrice/utility/card_ref.h