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

summaryrefslogtreecommitdiff
path: root/source/game/StarPlayer.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-10-25 15:30:31 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2023-10-25 15:30:31 +1100
commit48b8d43ff891216735720b9844dba31583a4245b (patch)
treed383eddd30adbb6028b5f9718723a3be5b62c252 /source/game/StarPlayer.hpp
parentced12b62e0f07a87acde665589fe333075b35178 (diff)
Add player Lua functions from SE
Diffstat (limited to 'source/game/StarPlayer.hpp')
-rw-r--r--source/game/StarPlayer.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/game/StarPlayer.hpp b/source/game/StarPlayer.hpp
index 21fe2d6..1ac97a2 100644
--- a/source/game/StarPlayer.hpp
+++ b/source/game/StarPlayer.hpp
@@ -383,7 +383,8 @@ public:
void queueItemPickupMessage(ItemPtr const& item);
void addChatMessage(String const& message);
- void addEmote(HumanoidEmote const& emote);
+ void addEmote(HumanoidEmote const& emote, Maybe<float> emoteCooldown = {});
+ pair<HumanoidEmote, float> currentEmote() const;
List<ChatAction> pullPendingChatActions() override;