diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2017-05-30 20:25:44 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2017-05-30 20:26:41 +0200 |
| commit | c20ac02beb8520953d90d0d9114371fe36187ed0 (patch) | |
| tree | 770c8d981ab8b09ff4ea322530e15da1d8cdb7c2 /src/crsm.hpp | |
| parent | f6c25c0dce53a751b0664d954552f7c711d54667 (diff) | |
| download | manager-c20ac02beb8520953d90d0d9114371fe36187ed0.tar.gz manager-c20ac02beb8520953d90d0d9114371fe36187ed0.zip | |
Allow ClonkOutputInterface to stop further propagation if the return value of the callback is true
Diffstat (limited to 'src/crsm.hpp')
| -rw-r--r-- | src/crsm.hpp | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/crsm.hpp b/src/crsm.hpp index abae69a..61f3cca 100644 --- a/src/crsm.hpp +++ b/src/crsm.hpp @@ -112,18 +112,19 @@ public: void start(); bool isOk(); - void lobbyCountdown(unsigned int seconds); - void lobbyCountdownAborted(); - void watchdog(const QString &id); - void clientMessage(ClientInfo &client, const QString &message, ClonkOutputInterface::MessageType type, const QTime& time); - void clientConnected(const ClientInfo &client); - void clientRemoved(const ClientInfo &client, const QString& reason); - void gameLoading(); - void gameStarted(); - void masterserverError(const QString &msg); - void raw(const QString& line); - void rawTimed(const QString& line, const QTime& time); - void playerRemoved(const QString &name); + bool lobbyCountdown(unsigned int seconds); + bool lobbyCountdownAborted(); + bool watchdog(const QString &id); + bool clientMessage(ClientInfo &client, const QString &message, ClonkOutputInterface::MessageType type, const QTime& time); + bool clientConnected(const ClientInfo &client); + bool clientRemoved(const ClientInfo &client, const QString& reason); + bool gameLoading(); + bool gameStarted(); + bool masterserverError(const QString &msg); + bool raw(const QString& line); + bool rawTimed(const QString& line, const QTime& time); + bool playerRemoved(const QString &name); + signals: private slots: |
