Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
CommanderBracketService Class Reference

#include <commander_bracket_service.h>

Inheritance diagram for CommanderBracketService:
[legend]
Collaboration diagram for CommanderBracketService:
[legend]

Signals

void estimateFinished (quint64 requestId, QObject *requester, const CommanderBracketEstimate &estimate)
void estimateError (quint64 requestId, QObject *requester, const QString &error)

Public Member Functions

quint64 estimateBracket (const DeckList &deck, QObject *requester)

Static Public Member Functions

static CommanderBracketServiceinstance ()

Private Slots

void onEstimateBracketFinished (CommanderSpellbookApiAccessor::RequestId id, QObject *requester, const EstimateBracketResult &result)
void onEstimateBracketError (CommanderSpellbookApiAccessor::RequestId id, QObject *requester, const QString &error)

Private Member Functions

 CommanderBracketService (QObject *parent=nullptr)

Constructor & Destructor Documentation

◆ CommanderBracketService()

CommanderBracketService::CommanderBracketService ( QObject * parent = nullptr)
explicitprivate
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ estimateBracket()

quint64 CommanderBracketService::estimateBracket ( const DeckList & deck,
QObject * requester )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ estimateError

void CommanderBracketService::estimateError ( quint64 requestId,
QObject * requester,
const QString & error )
signal
Here is the caller graph for this function:

◆ estimateFinished

void CommanderBracketService::estimateFinished ( quint64 requestId,
QObject * requester,
const CommanderBracketEstimate & estimate )
signal
Here is the caller graph for this function:

◆ instance()

CommanderBracketService & CommanderBracketService::instance ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onEstimateBracketError

void CommanderBracketService::onEstimateBracketError ( CommanderSpellbookApiAccessor::RequestId id,
QObject * requester,
const QString & error )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onEstimateBracketFinished

void CommanderBracketService::onEstimateBracketFinished ( CommanderSpellbookApiAccessor::RequestId id,
QObject * requester,
const EstimateBracketResult & result )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: