Bazaar developer reference

CvEntityEventInfo::getAnimationPathType(int) const

Defined in
CvInfos.cpp, line 6597
Class
CvEntityEventInfo
Hook name
CivHooks::CvEntityEventInfo_getAnimationPathType

Hooks

static bool BeforeCvEntityEventInfo_getAnimationPathType(const CvEntityEventInfo* self, int iIndex, AnimationPathTypes& result);static void AfterCvEntityEventInfo_getAnimationPathType(const CvEntityEventInfo* self, int iIndex, AnimationPathTypes& result);static AnimationPathTypes ReplaceCvEntityEventInfo_getAnimationPathType(AnimationPathTypes (*original)(const CvEntityEventInfo*, int), const CvEntityEventInfo* self, int iIndex);CivRegisterBefore<CivHooks::CvEntityEventInfo_getAnimationPathType>(host, &BeforeCvEntityEventInfo_getAnimationPathType);CivRegisterAfter<CivHooks::CvEntityEventInfo_getAnimationPathType>(host, &AfterCvEntityEventInfo_getAnimationPathType);CivRegisterReplace<CivHooks::CvEntityEventInfo_getAnimationPathType>(host, &ReplaceCvEntityEventInfo_getAnimationPathType);

Code

6597AnimationPathTypes CvEntityEventInfo::getAnimationPathType(int iIndex) const6598{6599	return iIndex >= (int)m_vctAnimationPathType.size() ? ANIMATIONPATH_NONE : m_vctAnimationPathType[iIndex];6600}

Calls