Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
replay_manager.cpp File Reference
#include "replay_manager.h"
#include "../../../client/settings/cache_settings.h"
#include "../../../game/player/event_processing_options.h"
#include "libcockatrice/protocol/pb/game_event.pb.h"
#include "libcockatrice/protocol/pb/game_event_container.pb.h"
#include "libcockatrice/protocol/pb/game_replay.pb.h"
#include <QTimer>
#include <algorithm>
#include <libcockatrice/protocol/get_pb_extension.h>
#include <libcockatrice/settings/interface_settings.h>
#include <qnumeric.h>
Include dependency graph for replay_manager.cpp:

Functions

static QList< int > createReplayTimeline (const GameReplay *replay)
static bool hasMeaningfulEvent (const GameEventContainer &cont)

Variables

static constexpr int TIMER_INTERVAL_MS = 200
static constexpr int EMPTY_SECTION_MARGIN_MS = 500

Function Documentation

◆ createReplayTimeline()

QList< int > createReplayTimeline ( const GameReplay * replay)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasMeaningfulEvent()

bool hasMeaningfulEvent ( const GameEventContainer & cont)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ EMPTY_SECTION_MARGIN_MS

int EMPTY_SECTION_MARGIN_MS = 500
staticconstexpr

◆ TIMER_INTERVAL_MS

int TIMER_INTERVAL_MS = 200
staticconstexpr