Füge Unterstützung für Würfelspiele hinzu und verbessere Debugging-Optionen
- Implementiere neue Funktionen in der ChatRoom-Klasse für das Starten, Rollen und Beenden von Würfelspielen. - Füge eine Option zur Aktivierung von Debug-Logging in CMake hinzu, um die Entwicklung zu erleichtern. - Aktualisiere die ChatUser-Klasse, um die Interaktion mit dem Würfelspiel zu ermöglichen. - Verbessere die Socket-Verwaltung im Server, um WebSocket-Verbindungen zu unterstützen und die Handhabung von Anfragen zu optimieren. - Aktualisiere die Konfiguration, um die neue Funktionalität zu unterstützen und die Benutzererfahrung zu verbessern.
This commit is contained in:
@@ -33,5 +33,7 @@ namespace Yc
|
||||
const std::string& User::updated_at() const { return _updated_at; }
|
||||
const std::vector<std::string>& User::rights() const { return _rights; }
|
||||
|
||||
void User::set_color(const std::string& c) { _color = c; }
|
||||
|
||||
} // namespace Object
|
||||
} // namespace Yc
|
||||
|
||||
@@ -23,6 +23,9 @@ namespace Yc
|
||||
const std::string& updated_at() const;
|
||||
const std::vector<std::string>& rights() const;
|
||||
|
||||
// Mutators
|
||||
void set_color(const std::string& c);
|
||||
|
||||
private:
|
||||
int _id = 0;
|
||||
int _falukant_user_id = 0;
|
||||
|
||||
Reference in New Issue
Block a user