Bazaar developer reference

CvPromotionEntry::GetMovesChange() const

Defined in
CvPromotionClasses.cpp, line 974
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetMovesChange

Hooks

static bool BeforeCvPromotionEntry_GetMovesChange(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetMovesChange(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetMovesChange(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetMovesChange>(host, &BeforeCvPromotionEntry_GetMovesChange);CivRegisterAfter<CivHooks::CvPromotionEntry_GetMovesChange>(host, &AfterCvPromotionEntry_GetMovesChange);CivRegisterReplace<CivHooks::CvPromotionEntry_GetMovesChange>(host, &ReplaceCvPromotionEntry_GetMovesChange);

Code

973/// Accessor: How many additional tiles a unit may move974int CvPromotionEntry::GetMovesChange() const975{976	return m_iMovesChange;977}

Called by