Cockatrice 2026-03-05-Development-2.11.0-beta.54
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
DeckFileFormat Namespace Reference

Enumerations

enum  Format { PlainText , Cockatrice }

Functions

Format getFormatFromName (const QString &fileName)

Enumeration Type Documentation

◆ Format

The deck file formats that Cockatrice supports.

Enumerator
PlainText 

Plaintext deck files, a format that is intended to be widely supported among different programs. This format does not support Cockatrice specific features such as banner cards or tags.

Cockatrice 

This is cockatrice's native deck file format, and supports deck metadata such as banner cards and tags. Stored as .cod files.

Function Documentation

◆ getFormatFromName()

DeckFileFormat::Format DeckFileFormat::getFormatFromName ( const QString & fileName)

Determines what deck file format the given filename corresponds to.

Parameters
fileNameThe filename
Returns
The deck format
Here is the caller graph for this function: