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

Public Types

enum class  CreatingGameStatus { UNKNOWN , DOWNLOAD , REQUESTED , DONE }
 

Public Slots

void updateStatus (CreatingGameStatus newStatus)
 
void updateSessionInfo (const SessionInfo &sessionInfo)
 
void clear ()
 
void updateValidationResult (const ValidationResult &validationResult)
 
void updateGameName (const QString &gameName)
 
void gotRolesListUpdate (const std::vector< Role > &newRolesList)
 

Signals

void createdGame ()
 
void joinedCreatedGame ()
 
void shownRoomView ()
 
void leftSession ()
 
void newRoleChosen (int roleId)
 

Public Member Functions

 SessionView (QWidget *parent=nullptr)
 

Detailed Description

Definition at line 13 of file sessionview.h.

Member Enumeration Documentation

◆ CreatingGameStatus

enum class SessionView::CreatingGameStatus
strong

Definition at line 16 of file sessionview.h.

Constructor & Destructor Documentation

◆ SessionView()

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

Definition at line 4 of file sessionview.cpp.

◆ ~SessionView()

SessionView::~SessionView ( )

Definition at line 11 of file sessionview.cpp.

Member Function Documentation

◆ clear

void SessionView::clear ( )
slot

Definition at line 58 of file sessionview.cpp.

◆ gotRolesListUpdate

void SessionView::gotRolesListUpdate ( const std::vector< Role > &  newRolesList)
slot

Definition at line 75 of file sessionview.cpp.

◆ updateGameName

void SessionView::updateGameName ( const QString &  gameName)
slot

Definition at line 72 of file sessionview.cpp.

◆ updateSessionInfo

void SessionView::updateSessionInfo ( const SessionInfo sessionInfo)
slot

Definition at line 32 of file sessionview.cpp.

◆ updateStatus

void SessionView::updateStatus ( CreatingGameStatus  newStatus)
slot

Definition at line 26 of file sessionview.cpp.

◆ updateValidationResult

void SessionView::updateValidationResult ( const ValidationResult validationResult)
slot

Definition at line 48 of file sessionview.cpp.


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