MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setEmoteState

Method setEmoteState

source/game/StarHumanoid.cpp:572–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570}
571
572void Humanoid::setEmoteState(HumanoidEmote state) {
573 if (m_emoteState != state)
574 m_emoteAnimationTimer = 0.0f;
575 m_emoteState = state;
576}
577
578void Humanoid::setDance(Maybe<String> const& dance) {
579 if (m_dance != dance)

Callers 6

processStateChangesMethod · 0.80
animatePortraitMethod · 0.80
NpcMethod · 0.80
updateMethod · 0.80
getNetStatesMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected