Cavoke  1.1.0
A Platform for creating and hosting multiplayer turn-based board games
Loading...
Searching...
No Matches
User Struct Reference

Public Member Functions

 User (QString _display_name, QString _user_id)
 
void read (const QJsonObject &json)
 

Static Public Member Functions

static void write (QJsonObject &json)
 

Public Attributes

QString display_name
 
QString user_id
 

Detailed Description

Definition at line 6 of file user.h.

Constructor & Destructor Documentation

◆ User()

User::User ( QString  _display_name,
QString  _user_id 
)

Definition at line 5 of file user.cpp.

Member Function Documentation

◆ read()

void User::read ( const QJsonObject &  json)

Definition at line 9 of file user.cpp.

◆ write()

void User::write ( QJsonObject &  json)
static

Definition at line 18 of file user.cpp.

Member Data Documentation

◆ display_name

QString User::display_name

Definition at line 14 of file user.h.

◆ user_id

QString User::user_id

Definition at line 15 of file user.h.


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