diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-09-02 22:18:09 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-09-02 22:18:09 +1000 |
commit | 90db1e0fbadaeb625691d3d0d13f5ae6ef057109 (patch) | |
tree | 911174a3c80e7316c5038a961d99e82e0c7bacb9 /source/game/StarPlayer.cpp | |
parent | efa57d3081e6213e6ff4d324789b859088f05ab8 (diff) |
add Player::currentState
Diffstat (limited to 'source/game/StarPlayer.cpp')
-rw-r--r-- | source/game/StarPlayer.cpp | 4 |
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); } |