Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform 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
void setHandVisible (bool _handVisible)
bool getHandVisible () const
QString getName () const

Public Attributes

ServerInfo_User * userInfo
int id
bool local
bool judge
bool handVisible

Constructor & Destructor Documentation

◆ PlayerInfo()

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

Member Function Documentation

◆ getHandVisible()

bool PlayerInfo::getHandVisible ( ) const
inline

◆ 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:

◆ setHandVisible()

void PlayerInfo::setHandVisible ( bool _handVisible)
inline

◆ setLocal()

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

Member Data Documentation

◆ handVisible

bool PlayerInfo::handVisible

◆ 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: