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

#include <replay_manager.h>

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

Signals

void requestChatAndPhaseReset ()

Public Member Functions

 ReplayManager (TabGame *parent, GameReplay *replay)

Public Attributes

TabGamegame
GameReplay * replay

Private Slots

void replayNextEvent (EventProcessingOptions options)
void replayFinished ()
void replayPlayButtonToggled (bool checked)
void replayFastForwardButtonToggled (bool checked)
void replayRewind ()
 Handles everything that needs to be reset when doing a replay rewind.
void refreshShortcuts ()

Private Attributes

int currentReplayStep = 0
QList< int > replayTimeline
ReplayTimelineWidgettimelineWidget
QToolButton * replayPlayButton
QToolButton * replayFastForwardButton
QAction * aReplaySkipForward
QAction * aReplaySkipBackward
QAction * aReplaySkipForwardBig
QAction * aReplaySkipBackwardBig

Constructor & Destructor Documentation

◆ ReplayManager()

ReplayManager::ReplayManager ( TabGame * parent,
GameReplay * replay )
Here is the call graph for this function:

Member Function Documentation

◆ refreshShortcuts

void ReplayManager::refreshShortcuts ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ replayFastForwardButtonToggled

void ReplayManager::replayFastForwardButtonToggled ( bool checked)
privateslot
Here is the caller graph for this function:

◆ replayFinished

void ReplayManager::replayFinished ( )
privateslot
Here is the caller graph for this function:

◆ replayNextEvent

void ReplayManager::replayNextEvent ( EventProcessingOptions options)
privateslot
Here is the caller graph for this function:

◆ replayPlayButtonToggled

void ReplayManager::replayPlayButtonToggled ( bool checked)
privateslot
Here is the caller graph for this function:

◆ replayRewind

void ReplayManager::replayRewind ( )
privateslot

Handles everything that needs to be reset when doing a replay rewind.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ requestChatAndPhaseReset

void ReplayManager::requestChatAndPhaseReset ( )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ aReplaySkipBackward

QAction * ReplayManager::aReplaySkipBackward
private

◆ aReplaySkipBackwardBig

QAction * ReplayManager::aReplaySkipBackwardBig
private

◆ aReplaySkipForward

QAction* ReplayManager::aReplaySkipForward
private

◆ aReplaySkipForwardBig

QAction * ReplayManager::aReplaySkipForwardBig
private

◆ currentReplayStep

int ReplayManager::currentReplayStep = 0
private

◆ game

TabGame* ReplayManager::game

◆ replay

GameReplay* ReplayManager::replay

◆ replayFastForwardButton

QToolButton * ReplayManager::replayFastForwardButton
private

◆ replayPlayButton

QToolButton* ReplayManager::replayPlayButton
private

◆ replayTimeline

QList<int> ReplayManager::replayTimeline
private

◆ timelineWidget

ReplayTimelineWidget* ReplayManager::timelineWidget
private

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