Cockatrice 2026-06-01-Development-3.1.0-beta.3
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
ArrowData Struct Reference

#include <arrow_data.h>

Public Member Functions

bool isPlayerTargeted () const

Static Public Member Functions

static ArrowData fromProto (const ServerInfo_Arrow &arrow)

Public Attributes

int id
int startPlayerId
QString startZone
int startCardId
int targetPlayerId
QString targetZone
int targetCardId = -1
QColor color

Member Function Documentation

◆ fromProto()

ArrowData ArrowData::fromProto ( const ServerInfo_Arrow & arrow)
static
Here is the caller graph for this function:

◆ isPlayerTargeted()

bool ArrowData::isPlayerTargeted ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ color

QColor ArrowData::color

◆ id

int ArrowData::id

◆ startCardId

int ArrowData::startCardId

◆ startPlayerId

int ArrowData::startPlayerId

◆ startZone

QString ArrowData::startZone

◆ targetCardId

int ArrowData::targetCardId = -1

◆ targetPlayerId

int ArrowData::targetPlayerId

◆ targetZone

QString ArrowData::targetZone

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