MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getCurrentKeyAnimation

Method getCurrentKeyAnimation

Source/Cache/ModelCache.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 , _currentAnimationDef(nullptr) { }
28
29KeyAnimationDef* ModelCache::Parser::getCurrentKeyAnimation() {
30 if (!_currentAnimationDef) {
31 _currentAnimationDef.reset(new KeyAnimationDef());
32 }
33 return s_cast<KeyAnimationDef*>(_currentAnimationDef.get());
34}
35
36void ModelCache::Parser::getPosFromStr(String str, float& x, float& y) {
37 auto tokens = str.split(",");

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
resetMethod · 0.45

Tested by

no test coverage detected