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

#include <game_link.h>

Public Attributes

int gameId = 0
QString label
QString url
QString description
bool onlyBuddies = false
QString creatorName

Detailed Description

One game the inviter is currently in and can invite another user to. label is meant for display in menus, url is the ready-made invite link. description is the raw game description for building tr()-wrapped invite messages (the label already embeds it, but the send sites need the raw value). onlyBuddies and creatorName mirror the server game's room settings so callers can gate the invite to the creator's buddies.

Member Data Documentation

◆ creatorName

QString GameInviteOption::creatorName

◆ description

QString GameInviteOption::description

◆ gameId

int GameInviteOption::gameId = 0

◆ label

QString GameInviteOption::label

◆ onlyBuddies

bool GameInviteOption::onlyBuddies = false

◆ url

QString GameInviteOption::url

The documentation for this struct was generated from the following file: