Bazaar developer reference

CvPromotionEntry::IsFreePillageMoves() const

Defined in
CvPromotionClasses.cpp, line 1678
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsFreePillageMoves

Hooks

static bool BeforeCvPromotionEntry_IsFreePillageMoves(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsFreePillageMoves(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsFreePillageMoves(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsFreePillageMoves>(host, &BeforeCvPromotionEntry_IsFreePillageMoves);CivRegisterAfter<CivHooks::CvPromotionEntry_IsFreePillageMoves>(host, &AfterCvPromotionEntry_IsFreePillageMoves);CivRegisterReplace<CivHooks::CvPromotionEntry_IsFreePillageMoves>(host, &ReplaceCvPromotionEntry_IsFreePillageMoves);

Code

1677/// Accessor: Lose no movement when pillaging?1678bool CvPromotionEntry::IsFreePillageMoves() const1679{1680	return m_bFreePillageMoves;1681}

Called by