Cavoke  1.1.0
A Platform for creating and hosting multiplayer turn-based board games
Loading...
Searching...
No Matches
RoomView Class Reference
Inheritance diagram for RoomView:
[legend]

Public Types

enum class  CreatingSessionStatus { UNKNOWN , WAIT_FOR_THE_HOST , NOW_YOU_CAN_JOIN , YOU_CAN_CREATE }
 

Public Slots

void updateRoomInfo (const RoomInfo &roomInfo)
 
void updateSessionInfo (const SessionInfo &sessionInfo)
 
void clear ()
 
void gotGamesListUpdate (const std::vector< GameInfo > &newGamesList)
 

Signals

void createdSession (const QString &gameId)
 
void joinedSession (const QString &sessionId)
 
void requestedSessionUpdate (const QString &sessionId)
 
void shownStartView ()
 
void leftRoom ()
 

Public Member Functions

 RoomView (QWidget *parent=nullptr)
 

Detailed Description

Definition at line 15 of file roomview.h.

Member Enumeration Documentation

◆ CreatingSessionStatus

enum class RoomView::CreatingSessionStatus
strong

Definition at line 18 of file roomview.h.

Constructor & Destructor Documentation

◆ RoomView()

RoomView::RoomView ( QWidget *  parent = nullptr)
explicit

Definition at line 4 of file roomview.cpp.

◆ ~RoomView()

RoomView::~RoomView ( )

Definition at line 9 of file roomview.cpp.

Member Function Documentation

◆ clear

void RoomView::clear ( )
slot

Definition at line 79 of file roomview.cpp.

◆ gotGamesListUpdate

void RoomView::gotGamesListUpdate ( const std::vector< GameInfo > &  newGamesList)
slot

Definition at line 67 of file roomview.cpp.

◆ updateRoomInfo

void RoomView::updateRoomInfo ( const RoomInfo roomInfo)
slot

Definition at line 20 of file roomview.cpp.

◆ updateSessionInfo

void RoomView::updateSessionInfo ( const SessionInfo sessionInfo)
slot

Definition at line 37 of file roomview.cpp.


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