Bazaar developer reference

CvBuildingEntry::GetFreePromotionRemoved() const

Defined in
CvBuildingClasses.cpp, line 918
Class
CvBuildingEntry
Hook name
CivHooks::CvBuildingEntry_GetFreePromotionRemoved

Hooks

static bool BeforeCvBuildingEntry_GetFreePromotionRemoved(const CvBuildingEntry* self, int& result);static void AfterCvBuildingEntry_GetFreePromotionRemoved(const CvBuildingEntry* self, int& result);static int ReplaceCvBuildingEntry_GetFreePromotionRemoved(int (*original)(const CvBuildingEntry*), const CvBuildingEntry* self);CivRegisterBefore<CivHooks::CvBuildingEntry_GetFreePromotionRemoved>(host, &BeforeCvBuildingEntry_GetFreePromotionRemoved);CivRegisterAfter<CivHooks::CvBuildingEntry_GetFreePromotionRemoved>(host, &AfterCvBuildingEntry_GetFreePromotionRemoved);CivRegisterReplace<CivHooks::CvBuildingEntry_GetFreePromotionRemoved>(host, &ReplaceCvBuildingEntry_GetFreePromotionRemoved);

Code

917/// Does this building get rid of an undesirable promotion?918int CvBuildingEntry::GetFreePromotionRemoved() const919{920	return m_iFreePromotionRemoved;921}

Called by