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

Extracts and tallies stats from selected cards. More...

Functions

QList< TallyRowcomputeTotalPower (const QList< CardItem * > &cards)
 Sums the power of all selected cards.

Detailed Description

Extracts and tallies stats from selected cards.

Function Documentation

◆ computeTotalPower()

QList< TallyRow > StatsTally::computeTotalPower ( const QList< CardItem * > & cards)

Sums the power of all selected cards.

Parameters
cardsThe list of selected card items to analyze.
Returns
A single row containing the total, or an empty list if none of the cards have pt
Here is the call graph for this function:
Here is the caller graph for this function: