|
enum class | Status { NOT_STARTED
, RUNNING
, FINISHED
} |
|
|
| SessionInfo (QString _session_id, QString _game_id, SessionInfo::Status _status, QString _host_id, QVector< Player > _players) |
|
void | read (const QJsonObject &json) |
|
void | write (QJsonObject &json) const |
|
Definition at line 9 of file sessioninfo.h.
◆ Status
enum class SessionInfo::Status |
|
strong |
◆ SessionInfo()
SessionInfo::SessionInfo |
( |
QString |
_session_id, |
|
|
QString |
_game_id, |
|
|
SessionInfo::Status |
_status, |
|
|
QString |
_host_id, |
|
|
QVector< Player > |
_players |
|
) |
| |
◆ read()
void SessionInfo::read |
( |
const QJsonObject & |
json | ) |
|
◆ write()
void SessionInfo::write |
( |
QJsonObject & |
json | ) |
const |
◆ game_id
QString SessionInfo::game_id |
◆ host_id
QString SessionInfo::host_id |
◆ isHost
bool SessionInfo::isHost = false |
◆ players
QVector<Player> SessionInfo::players |
◆ session_id
QString SessionInfo::session_id |
◆ status
SessionInfo::Status SessionInfo::status = Status::FINISHED |
The documentation for this struct was generated from the following files: