Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
PlayerReference Class Reference

#include <server_player_reference.h>

Public Member Functions

 PlayerReference (int _roomId, int _gameId, int _playerId)
int getRoomId () const
int getGameId () const
int getPlayerId () const
bool operator== (const PlayerReference &other)

Private Attributes

int roomId
int gameId
int playerId

Constructor & Destructor Documentation

◆ PlayerReference()

PlayerReference::PlayerReference ( int _roomId,
int _gameId,
int _playerId )
inline
Here is the caller graph for this function:

Member Function Documentation

◆ getGameId()

int PlayerReference::getGameId ( ) const
inline
Here is the caller graph for this function:

◆ getPlayerId()

int PlayerReference::getPlayerId ( ) const
inline
Here is the caller graph for this function:

◆ getRoomId()

int PlayerReference::getRoomId ( ) const
inline
Here is the caller graph for this function:

◆ operator==()

bool PlayerReference::operator== ( const PlayerReference & other)
inline
Here is the call graph for this function:

Member Data Documentation

◆ gameId

int PlayerReference::gameId
private

◆ playerId

int PlayerReference::playerId
private

◆ roomId

int PlayerReference::roomId
private

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