Bazaar developer reference

CvPromotionEntry::GetLayerAnimationPath() const

Defined in
CvPromotionClasses.cpp, line 816
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetLayerAnimationPath

Hooks

static bool BeforeCvPromotionEntry_GetLayerAnimationPath(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetLayerAnimationPath(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetLayerAnimationPath(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetLayerAnimationPath>(host, &BeforeCvPromotionEntry_GetLayerAnimationPath);CivRegisterAfter<CivHooks::CvPromotionEntry_GetLayerAnimationPath>(host, &AfterCvPromotionEntry_GetLayerAnimationPath);CivRegisterReplace<CivHooks::CvPromotionEntry_GetLayerAnimationPath>(host, &ReplaceCvPromotionEntry_GetLayerAnimationPath);

Code

815/// Accessor: The granny animation index used to indicate that a unit has leveled up816int CvPromotionEntry::GetLayerAnimationPath() const817{818	return m_iLayerAnimationPath;819}