#include <player_actions.h>
◆ CardsToReveal
| Enumerator |
|---|
| RANDOM_CARD_FROM_ZONE | |
◆ PlayerActions()
| PlayerActions::PlayerActions |
( |
Player * | player | ) |
|
|
explicit |
◆ actAlwaysLookAtTopCard
| void PlayerActions::actAlwaysLookAtTopCard |
( |
| ) |
|
|
slot |
◆ actAlwaysRevealTopCard
| void PlayerActions::actAlwaysRevealTopCard |
( |
| ) |
|
|
slot |
◆ actAttach
| void PlayerActions::actAttach |
( |
| ) |
|
|
slot |
◆ actCardCounterTrigger
| void PlayerActions::actCardCounterTrigger |
( |
| ) |
|
|
slot |
◆ actCreateAllRelatedCards
| void PlayerActions::actCreateAllRelatedCards |
( |
| ) |
|
|
slot |
◆ actCreateAnotherToken
| void PlayerActions::actCreateAnotherToken |
( |
| ) |
|
|
slot |
◆ actCreatePredefinedToken
| void PlayerActions::actCreatePredefinedToken |
( |
| ) |
|
|
slot |
◆ actCreateRelatedCard
| void PlayerActions::actCreateRelatedCard |
( |
| ) |
|
|
slot |
◆ actCreateToken
| void PlayerActions::actCreateToken |
( |
| ) |
|
|
slot |
◆ actDecP
| void PlayerActions::actDecP |
( |
| ) |
|
|
slot |
◆ actDecPT
| void PlayerActions::actDecPT |
( |
| ) |
|
|
slot |
◆ actDecT
| void PlayerActions::actDecT |
( |
| ) |
|
|
slot |
◆ actDrawArrow
| void PlayerActions::actDrawArrow |
( |
| ) |
|
|
slot |
◆ actDrawBottomCard
| void PlayerActions::actDrawBottomCard |
( |
| ) |
|
|
slot |
◆ actDrawBottomCards
| void PlayerActions::actDrawBottomCards |
( |
| ) |
|
|
slot |
◆ actDrawCard
| void PlayerActions::actDrawCard |
( |
| ) |
|
|
slot |
◆ actDrawCards
| void PlayerActions::actDrawCards |
( |
| ) |
|
|
slot |
◆ actFlowP
| void PlayerActions::actFlowP |
( |
| ) |
|
|
slot |
◆ actFlowT
| void PlayerActions::actFlowT |
( |
| ) |
|
|
slot |
◆ actHide
| void PlayerActions::actHide |
( |
| ) |
|
|
slot |
◆ actIncP
| void PlayerActions::actIncP |
( |
| ) |
|
|
slot |
◆ actIncPT [1/2]
| void PlayerActions::actIncPT |
( |
| ) |
|
|
slot |
◆ actIncPT [2/2]
| void PlayerActions::actIncPT |
( |
int | deltaP, |
|
|
int | deltaT ) |
|
slot |
◆ actIncT
| void PlayerActions::actIncT |
( |
| ) |
|
|
slot |
◆ actLendLibrary
| void PlayerActions::actLendLibrary |
( |
int | lendToPlayerId | ) |
|
|
slot |
◆ actMoveBottomCardsToExile
| void PlayerActions::actMoveBottomCardsToExile |
( |
| ) |
|
|
slot |
◆ actMoveBottomCardsToGrave
| void PlayerActions::actMoveBottomCardsToGrave |
( |
| ) |
|
|
slot |
◆ actMoveBottomCardToExile
| void PlayerActions::actMoveBottomCardToExile |
( |
| ) |
|
|
slot |
◆ actMoveBottomCardToGrave
| void PlayerActions::actMoveBottomCardToGrave |
( |
| ) |
|
|
slot |
◆ actMoveBottomCardToPlay
| void PlayerActions::actMoveBottomCardToPlay |
( |
| ) |
|
|
slot |
◆ actMoveBottomCardToPlayFaceDown
| void PlayerActions::actMoveBottomCardToPlayFaceDown |
( |
| ) |
|
|
slot |
◆ actMoveBottomCardToTop
| void PlayerActions::actMoveBottomCardToTop |
( |
| ) |
|
|
slot |
◆ actMoveCardXCardsFromTop
| void PlayerActions::actMoveCardXCardsFromTop |
( |
| ) |
|
|
slot |
◆ actMoveTopCardsToExile
| void PlayerActions::actMoveTopCardsToExile |
( |
| ) |
|
|
slot |
◆ actMoveTopCardsToGrave
| void PlayerActions::actMoveTopCardsToGrave |
( |
| ) |
|
|
slot |
◆ actMoveTopCardsUntil
| void PlayerActions::actMoveTopCardsUntil |
( |
| ) |
|
|
slot |
◆ actMoveTopCardToBottom
| void PlayerActions::actMoveTopCardToBottom |
( |
| ) |
|
|
slot |
◆ actMoveTopCardToExile
| void PlayerActions::actMoveTopCardToExile |
( |
| ) |
|
|
slot |
◆ actMoveTopCardToGrave
| void PlayerActions::actMoveTopCardToGrave |
( |
| ) |
|
|
slot |
◆ actMoveTopCardToPlay
| void PlayerActions::actMoveTopCardToPlay |
( |
| ) |
|
|
slot |
◆ actMoveTopCardToPlayFaceDown
| void PlayerActions::actMoveTopCardToPlayFaceDown |
( |
| ) |
|
|
slot |
◆ actMulligan
| void PlayerActions::actMulligan |
( |
| ) |
|
|
slot |
◆ actOpenDeckInDeckEditor
| void PlayerActions::actOpenDeckInDeckEditor |
( |
| ) |
|
|
slot |
◆ actPlay
| void PlayerActions::actPlay |
( |
| ) |
|
|
slot |
◆ actPlayFacedown
| void PlayerActions::actPlayFacedown |
( |
| ) |
|
|
slot |
◆ actResetPT
| void PlayerActions::actResetPT |
( |
| ) |
|
|
slot |
◆ actReveal
| void PlayerActions::actReveal |
( |
QAction * | action | ) |
|
|
slot |
◆ actRevealHand
| void PlayerActions::actRevealHand |
( |
int | revealToPlayerId | ) |
|
|
slot |
◆ actRevealLibrary
| void PlayerActions::actRevealLibrary |
( |
int | revealToPlayerId | ) |
|
|
slot |
◆ actRevealRandomGraveyardCard
| void PlayerActions::actRevealRandomGraveyardCard |
( |
int | revealToPlayerId | ) |
|
|
slot |
◆ actRevealRandomHandCard
| void PlayerActions::actRevealRandomHandCard |
( |
int | revealToPlayerId | ) |
|
|
slot |
◆ actRevealTopCards
| void PlayerActions::actRevealTopCards |
( |
int | revealToPlayerId, |
|
|
int | amount ) |
|
slot |
◆ actRollDie
| void PlayerActions::actRollDie |
( |
| ) |
|
|
slot |
◆ actSayMessage
| void PlayerActions::actSayMessage |
( |
| ) |
|
|
slot |
◆ actSelectAll
| void PlayerActions::actSelectAll |
( |
| ) |
|
|
slot |
◆ actSelectColumn
| void PlayerActions::actSelectColumn |
( |
| ) |
|
|
slot |
◆ actSelectRow
| void PlayerActions::actSelectRow |
( |
| ) |
|
|
slot |
◆ actSetAnnotation
| void PlayerActions::actSetAnnotation |
( |
| ) |
|
|
slot |
◆ actSetPT
| void PlayerActions::actSetPT |
( |
| ) |
|
|
slot |
◆ actShuffle
| void PlayerActions::actShuffle |
( |
| ) |
|
|
slot |
◆ actShuffleBottom
| void PlayerActions::actShuffleBottom |
( |
| ) |
|
|
slot |
◆ actShuffleTop
| void PlayerActions::actShuffleTop |
( |
| ) |
|
|
slot |
◆ actSortHand
| void PlayerActions::actSortHand |
( |
| ) |
|
|
slot |
◆ actUnattach
| void PlayerActions::actUnattach |
( |
| ) |
|
|
slot |
◆ actUndoDraw
| void PlayerActions::actUndoDraw |
( |
| ) |
|
|
slot |
◆ actUntapAll
| void PlayerActions::actUntapAll |
( |
| ) |
|
|
slot |
◆ actViewBottomCards
| void PlayerActions::actViewBottomCards |
( |
| ) |
|
|
slot |
◆ actViewGraveyard
| void PlayerActions::actViewGraveyard |
( |
| ) |
|
|
slot |
◆ actViewHand
| void PlayerActions::actViewHand |
( |
| ) |
|
|
slot |
◆ actViewLibrary
| void PlayerActions::actViewLibrary |
( |
| ) |
|
|
slot |
◆ actViewRfg
| void PlayerActions::actViewRfg |
( |
| ) |
|
|
slot |
◆ actViewSideboard
| void PlayerActions::actViewSideboard |
( |
| ) |
|
|
slot |
◆ actViewTopCards
| void PlayerActions::actViewTopCards |
( |
| ) |
|
|
slot |
◆ cardMenuAction
| void PlayerActions::cardMenuAction |
( |
| ) |
|
|
slot |
◆ cmdSetBottomCard()
| void PlayerActions::cmdSetBottomCard |
( |
Command_MoveCard & | cmd | ) |
|
|
private |
◆ cmdSetTopCard()
| void PlayerActions::cmdSetTopCard |
( |
Command_MoveCard & | cmd | ) |
|
|
private |
◆ createCard()
◆ createRelatedFromRelation()
| bool PlayerActions::createRelatedFromRelation |
( |
const CardItem * | sourceCard, |
|
|
const CardRelation * | cardRelation ) |
|
private |
◆ isMovingCardsUntil()
| bool PlayerActions::isMovingCardsUntil |
( |
| ) |
const |
|
inlinenodiscard |
◆ logSetAnnotation
| void PlayerActions::logSetAnnotation |
( |
Player * | player, |
|
|
CardItem * | card, |
|
|
QString | newAnnotation ) |
|
signal |
◆ logSetDoesntUntap
| void PlayerActions::logSetDoesntUntap |
( |
Player * | player, |
|
|
CardItem * | card, |
|
|
bool | doesntUntap ) |
|
signal |
◆ logSetPT
| void PlayerActions::logSetPT |
( |
Player * | player, |
|
|
CardItem * | card, |
|
|
QString | newPT ) |
|
signal |
◆ logSetTapped
| void PlayerActions::logSetTapped |
( |
Player * | player, |
|
|
CardItem * | card, |
|
|
bool | tapped ) |
|
signal |
◆ moveOneCardUntil()
| void PlayerActions::moveOneCardUntil |
( |
CardItem * | card | ) |
|
◆ parsePT()
| QVariantList PlayerActions::parsePT |
( |
const QString & | pt | ) |
|
|
private |
◆ playCard
| void PlayerActions::playCard |
( |
CardItem * | c, |
|
|
bool | faceDown ) |
|
slot |
◆ playCardToTable
| void PlayerActions::playCardToTable |
( |
const CardItem * | card, |
|
|
bool | faceDown ) |
|
slot |
Like PlayerActions::playCard, but forces the card to be played to the table zone. Cards with tablerow 3 (the stack) will be played to tablerow 1 (the noncreatures row).
◆ playSelectedCards()
| void PlayerActions::playSelectedCards |
( |
bool | faceDown = false | ) |
|
|
private |
◆ prepareGameCommand() [1/2]
| PendingCommand * PlayerActions::prepareGameCommand |
( |
const ::google::protobuf::Message & | cmd | ) |
|
◆ prepareGameCommand() [2/2]
| PendingCommand * PlayerActions::prepareGameCommand |
( |
const QList< const ::google::protobuf::Message * > & | cmdList | ) |
|
◆ sendGameCommand() [1/2]
| void PlayerActions::sendGameCommand |
( |
const google::protobuf::Message & | command | ) |
|
◆ sendGameCommand() [2/2]
◆ setCardAttrHelper()
| void PlayerActions::setCardAttrHelper |
( |
const GameEventContext & | context, |
|
|
CardItem * | card, |
|
|
CardAttribute | attribute, |
|
|
const QString & | avalue, |
|
|
bool | allCards, |
|
|
EventProcessingOptions | options ) |
◆ setLastToken
| void PlayerActions::setLastToken |
( |
CardInfoPtr | cardInfo | ) |
|
|
slot |
◆ stopMoveTopCardsUntil()
| void PlayerActions::stopMoveTopCardsUntil |
( |
| ) |
|
Immediately stops any ongoing play top card to stack until... process, resetting all variables involved.
◆ defaultNumberBottomCards
| int PlayerActions::defaultNumberBottomCards = 1 |
|
private |
◆ defaultNumberDieRoll
| int PlayerActions::defaultNumberDieRoll = 20 |
|
private |
◆ defaultNumberTopCards
| int PlayerActions::defaultNumberTopCards = 1 |
|
private |
◆ defaultNumberTopCardsToPlaceBelow
| int PlayerActions::defaultNumberTopCardsToPlaceBelow = 1 |
|
private |
◆ lastTokenInfo
◆ lastTokenTableRow
| int PlayerActions::lastTokenTableRow |
|
private |
◆ moveTopCardTimer
| QTimer* PlayerActions::moveTopCardTimer |
|
private |
◆ movingCardsUntil
| bool PlayerActions::movingCardsUntil |
|
private |
◆ movingCardsUntilAutoPlay
| bool PlayerActions::movingCardsUntilAutoPlay = false |
|
private |
◆ movingCardsUntilCounter
| int PlayerActions::movingCardsUntilCounter = 0 |
|
private |
◆ movingCardsUntilExprs
| QStringList PlayerActions::movingCardsUntilExprs = {} |
|
private |
◆ movingCardsUntilFilter
◆ movingCardsUntilNumberOfHits
| int PlayerActions::movingCardsUntilNumberOfHits = 1 |
|
private |
◆ player
The documentation for this class was generated from the following files: