Cavoke
1.1.0
A Platform for creating and hosting multiplayer turn-based board games
|
Public Member Functions | |
ValidationResult (bool _success, QString _message) | |
void | read (const QJsonObject &json) |
void | write (QJsonObject &json) const |
Public Attributes | |
bool | success = false |
QString | message = "Empty result" |
Definition at line 6 of file validationresult.h.
ValidationResult::ValidationResult | ( | bool | _success, |
QString | _message | ||
) |
Definition at line 4 of file validationresult.cpp.
void ValidationResult::read | ( | const QJsonObject & | json | ) |
Definition at line 8 of file validationresult.cpp.
void ValidationResult::write | ( | QJsonObject & | json | ) | const |
Definition at line 20 of file validationresult.cpp.
QString ValidationResult::message = "Empty result" |
Definition at line 15 of file validationresult.h.
bool ValidationResult::success = false |
Definition at line 14 of file validationresult.h.