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

#include <player_info.h>

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

Public Member Functions

 PlayerInfo (const ServerInfo_User &info, int id, bool local, bool judge)
int getId () const
ServerInfo_User * getUserInfo () const
void setLocal (bool _local)
bool getLocal () const
bool getLocalOrJudge () const
bool getJudge () const
QString getName () const

Public Attributes

ServerInfo_User * userInfo
int id
bool local
bool judge

Detailed Description

Todo
Document this file.

Constructor & Destructor Documentation

◆ PlayerInfo()

PlayerInfo::PlayerInfo ( const ServerInfo_User & info,
int id,
bool local,
bool judge )

Member Function Documentation

◆ getId()

int PlayerInfo::getId ( ) const
inline
Here is the caller graph for this function:

◆ getJudge()

bool PlayerInfo::getJudge ( ) const
inline

◆ getLocal()

bool PlayerInfo::getLocal ( ) const
inline
Here is the caller graph for this function:

◆ getLocalOrJudge()

bool PlayerInfo::getLocalOrJudge ( ) const
inline

◆ getName()

QString PlayerInfo::getName ( ) const
inline
Here is the caller graph for this function:

◆ getUserInfo()

ServerInfo_User * PlayerInfo::getUserInfo ( ) const
inline
Here is the caller graph for this function:

◆ setLocal()

void PlayerInfo::setLocal ( bool _local)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ id

int PlayerInfo::id

◆ judge

bool PlayerInfo::judge

◆ local

bool PlayerInfo::local

◆ userInfo

ServerInfo_User* PlayerInfo::userInfo

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