Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarMainInterface.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarMainInterface.hpp')
-rw-r--r--source/frontend/StarMainInterface.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/frontend/StarMainInterface.hpp b/source/frontend/StarMainInterface.hpp
index d96779d..9cf2342 100644
--- a/source/frontend/StarMainInterface.hpp
+++ b/source/frontend/StarMainInterface.hpp
@@ -49,7 +49,7 @@ STAR_CLASS(MainInterface);
struct GuiMessage {
GuiMessage();
- GuiMessage(String const& message, float cooldown);
+ GuiMessage(String const& message, float cooldown, float spring = 0);
String message;
float cooldown;
@@ -105,7 +105,9 @@ public:
void doChat(String const& chat, bool addToHistory);
+ void queueMessage(String const& message, Maybe<float> cooldown, float spring);
void queueMessage(String const& message);
+
void queueItemPickupText(ItemPtr const& item);
void queueJoinRequest(pair<String, RpcPromiseKeeper<P2PJoinRequestReply>> request);