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

summaryrefslogtreecommitdiff
path: root/source/game/StarPlayer.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-09-02 22:18:09 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-09-02 22:18:09 +1000
commit90db1e0fbadaeb625691d3d0d13f5ae6ef057109 (patch)
tree911174a3c80e7316c5038a961d99e82e0c7bacb9 /source/game/StarPlayer.cpp
parentefa57d3081e6213e6ff4d324789b859088f05ab8 (diff)
add Player::currentState
Diffstat (limited to 'source/game/StarPlayer.cpp')
-rw-r--r--source/game/StarPlayer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/game/StarPlayer.cpp b/source/game/StarPlayer.cpp
index 94ed991..9c9c482 100644
--- a/source/game/StarPlayer.cpp
+++ b/source/game/StarPlayer.cpp
@@ -2202,6 +2202,10 @@ pair<HumanoidEmote, float> Player::currentEmote() const {
return make_pair(m_emoteState, m_emoteCooldownTimer);
}
+Player::State Player::currentState() const {
+ return m_state;
+}
+
List<ChatAction> Player::pullPendingChatActions() {
return take(m_pendingChatActions);
}