MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / SetAnimationVisibility

Method SetAnimationVisibility

src/New/Entity/ShieldClass.cpp:996–1002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

994}
995
996void ShieldClass::SetAnimationVisibility(bool visible)
997{
998 if (!this->AreAnimsHidden && !visible)
999 this->KillAnim();
1000
1001 this->AreAnimsHidden = !visible;
1002}

Callers 3

Hooks.Misc.cppFile · 0.80
UpdateOnTunnelEnterMethod · 0.80
UpdateOnTunnelExitMethod · 0.80

Calls 1

KillAnimMethod · 0.95

Tested by

no test coverage detected