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

Method portraitImage

source/game/StarAiDatabase.cpp:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64String AiDatabase::portraitImage(String const& species, String const& frame) const {
65 return strf("/ai/{}:{}", m_speciesParameters.get(species).portraitFrames, frame);
66}
67
68Animation AiDatabase::animation(String const& species, String const& animationName) const {
69 auto faceAnimation = m_animationConfig.aiAnimations.get(animationName);

Callers 1

queueRadioMessageMethod · 0.80

Calls 2

strfFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected