MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / isFightAnimationPlaying

Method isFightAnimationPlaying

src/logic/NpcAnimationHandler.cpp:822–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820}
821
822bool NpcAnimationHandler::isFightAnimationPlaying()
823{
824 const std::string weaponAniTag = getWeaponAniTag(getController().getWeaponMode());
825 return isAnimationActive("T_"+ weaponAniTag + "ATTACKR")
826 || isAnimationActive("T_"+ weaponAniTag + "ATTACKL")
827 ||isAnimationActive("S_"+ weaponAniTag + "ATTACK")
828 || isAnimationActive("T_"+ weaponAniTag + "PARADE_0");
829}
830

Callers

nothing calls this directly

Calls 1

getWeaponModeMethod · 0.80

Tested by

no test coverage detected